Function at 0x450af0
Capabilities:
Create directory
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4c44e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x502344]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004502d0
test al, al
jne 0x450e16
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00450700
mov edi, dword [esp + 0x2c]
add esp, 4
cmp edi, ebx
jg 0x450b5e
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx]
sub eax, 0x10
call fcn.0041f0a3
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 2
cmp byte [esp + 0x40], 0
lea eax, [edi - 1]
mov dword [esp + 0x20], eax
je 0x450b8b
inc eax
mov dword [esp + 0x20], eax
mov ebp, 1
cmp eax, ebp
jle 0x450da5
mov esi, dword [esp + 0x18]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x450bc3
cmp eax, dword [esi]
jne 0x450bc3
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x450bfe
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x450e2c
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0049cdda
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x1c], edi
mov byte [esp + 0x38], 4
push 0x4d9c10
call fcn.0049cf74
add esp, 4
push eax
push 0x4d9c10
lea eax, [esp + 0x24]
call fcn.00438d54
test ebp, ebp
jl 0x450e31
cmp ebp, dword [esp + 0x28]
jge 0x450e31
mov eax, dword [ebx + ebp*4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x24]
call fcn.00438d54
mov edi, dword [esp + 0x1c]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x450d33
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
je 0x450d44
cmp ebp, 1
jle 0x450c82
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [esp + 0x38], 2
lea eax, [edi - 0x10]
or ebp, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x450ca5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450cc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], ebp
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450cfa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub edi, 1
jne 0x450cd5
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0049cebc
add esp, 4
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov esi, dword [esp + 0x44]
test esi, esi
je 0x450d48
lea ebx, [esp + 0x1c]
call fcn.0044e430
mov ebx, dword [esp + 0x24]
push 0x4d9c10
call fcn.0049cf74
add esp, 4
push eax
push 0x4d9c10
lea eax, [esp + 0x20]
call fcn.00438d54
mov eax, dword [ebx + ebp*4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x20]
call fcn.00438d54
mov byte [esp + 0x38], 2
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450d96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x450b98
mov edi, dword [esp + 0x28]
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x450dcc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], ebp
mov esi, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], ebp
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450df7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub edi, 1
jne 0x450dd2
push ebx
call fcn.0049cebc
add esp, 4
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
call fcn.00439d2b
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]