Function at 0x43c410
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x482ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401fe0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], 0
mov ecx, dword [ebx - 0xc]
lea eax, [ecx - 1]
test eax, eax
jl 0x43c6a8
cmp eax, ecx
jg 0x43c6a8
movzx eax, word [ebx + eax*2]
cmp ax, 0x5c
je 0x43c487
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.00430fb0
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push ecx
call fcn.0042fdf0
mov byte [esp + 0x54], 1
call fcn.004440b8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43c4b0
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x5c], esi
mov byte [esp + 0x54], 2
mov eax, dword [ebx - 0xc]
xor edx, edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], edx
test eax, eax
jle 0x43c625
test edx, edx
jl 0x43c6a8
cmp edx, eax
jg 0x43c6a8
movzx ecx, word [ebx + edx*2]
movzx edi, cx
cmp di, 0x5c
je 0x43c556
cmp edx, eax
jg 0x43c6a8
mov ebp, dword [esi - 0xc]
mov eax, dword [esi - 8]
movzx ebx, cx
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, ecx
jge 0x43c52f
push edi
lea ecx, [esp + 0x60]
call fcn.00401cf0
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
mov word [esi + ebp*2], bx
test edi, edi
jl 0x43c6a8
cmp edi, dword [esi - 8]
jg 0x43c6a8
mov ebx, dword [esp + 0x18]
xor ecx, ecx
mov dword [esi - 0xc], edi
mov word [esi + edi*2], cx
jmp 0x43c615
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x43c562
xor ecx, ecx
jmp 0x43c56b
mov ecx, dword [esp + 0x44]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x40]
mov edi, eax
sub edi, edx
sar edi, 2
cmp edi, ecx
mov edi, eax
jae 0x43c5a7
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x24], 0
mov edx, dword [esp + 0x24]
push edx
push ecx
lea edx, [esp + 0x64]
push edx
push eax
mov ecx, 1
call fcn.0043dbc0
add esp, 0x10
add edi, 4
mov dword [esp + 0x40], edi
jmp 0x43c5c9
cmp edx, eax
jbe 0x43c5b0
call fcn.00462656
mov eax, dword [esp + 0x30]
push edi
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x34]
push ecx
lea eax, [esp + 0x40]
call fcn.0043d700
mov ebp, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, ecx
jge 0x43c5ee
push edi
lea ecx, [esp + 0x60]
call fcn.00401cf0
mov esi, dword [esp + 0x5c]
mov edx, 0x5c
mov word [esi + ebp*2], dx
test edi, edi
jl 0x43c6a8
cmp edi, dword [esi - 8]
jg 0x43c6a8
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov eax, dword [ebx - 0xc]
inc edx
cmp edx, eax
mov dword [esp + 0x20], edx
jl 0x43c4de
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp edi, eax
jbe 0x43c63a
call fcn.00462656
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x30]
mov edi, edi
mov ebx, eax
cmp dword [esp + 0x3c], eax
jbe 0x43c64d
call fcn.00462656
test ebp, ebp
je 0x43c657
cmp ebp, dword [esp + 0x30]
je 0x43c65c
call fcn.00462656
cmp edi, ebx
je 0x43c6bc
test ebp, ebp
jne 0x43c6b2
call fcn.00462656
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x43c675
call fcn.00462656
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x1c], eax
test ebp, ebp
jne 0x43c6b7
call fcn.00462656
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x43c69f
call fcn.00462656
mov eax, dword [esp + 0x40]
add edi, 4
jmp 0x43c640
push 0x80070057
call fcn.00401fc0
mov eax, dword [ebp]
jmp 0x43c66b
mov eax, dword [ebp]
jmp 0x43c695
cmp dword [esp + 0x1c], 0
jne 0x43c6d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43c6d8
mov dword [esp + 0x1c], 1
add esi, 0xfffffff0
mov byte [esp + 0x54], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c6f9
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x54], 0
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x43c742
mov eax, dword [esp + 0x40]
mov edi, eax
cmp esi, eax
je 0x43c739
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c72e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x43c710
mov esi, dword [esp + 0x3c]
push esi
call fcn.00443d41
add esp, 4
mov ecx, dword [esp + 0x30]
xor eax, eax
push ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call fcn.00443d41
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43c785
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret