Function at 0x43ff30
Capabilities:
Create directory
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x493ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bf490]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0043f720
test al, al
jne 0x440256
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.0043fb50
mov edi, dword [esp + 0x2c]
add esp, 4
cmp edi, ebx
jg 0x43ff9e
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.00406f34
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 0x43ffcb
inc eax
mov dword [esp + 0x20], eax
mov ebp, 1
cmp eax, ebp
jle 0x4401e5
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 0x440003
cmp eax, dword [esi]
jne 0x440003
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x44003e
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 0x44026c
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.00476d93
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x1c], edi
mov byte [esp + 0x38], 4
push 0x4a4f0c
call fcn.00477183
add esp, 4
push eax
push 0x4a4f0c
lea eax, [esp + 0x24]
call fcn.0042e514
test ebp, ebp
jl 0x440271
cmp ebp, dword [esp + 0x28]
jge 0x440271
mov eax, dword [ebx + ebp*4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x24]
call fcn.0042e514
mov edi, dword [esp + 0x1c]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x440173
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
je 0x440184
cmp ebp, 1
jle 0x4400c2
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 0x4400e5
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 0x440109
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 0x44013a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub edi, 1
jne 0x440115
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00477356
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 0x440188
lea ebx, [esp + 0x1c]
call fcn.0043d540
mov ebx, dword [esp + 0x24]
push 0x4a4f0c
call fcn.00477183
add esp, 4
push eax
push 0x4a4f0c
lea eax, [esp + 0x20]
call fcn.0042e514
mov eax, dword [ebx + ebp*4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x20]
call fcn.0042e514
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 0x4401d6
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 0x43ffd8
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 0x44020c
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 0x440237
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub edi, 1
jne 0x440212
push ebx
call fcn.00477356
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.00407283
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]