Function at 0x403430
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x42db00
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43ad9c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [esp + 0x48]
test esi, esi
je 0x40374e
lea ecx, [esp + 0x20]
call fcn.0040bf15
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0
call fcn.00403370
mov byte [esp + 0x40], 1
call fcn.0040abd2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40349d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x40], 2
call fcn.0040abd2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4034cc
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x48]
push 0x5c
mov ebx, 3
push ecx
mov byte [esp + 0x48], bl
call fcn.00417834
add esp, 8
test eax, eax
je 0x403502
sub eax, dword [esp + 0x48]
jns 0x403590
lea eax, [esi - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x40], 2
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403523
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403544
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x40], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403569
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0xffffffff
call fcn.0040bf3b
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
inc eax
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x50]
call fcn.004024a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 4
call fcn.004028c0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4035d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
push 0x42f780
lea ecx, [esp + 0x1c]
call fcn.004025f0
mov edi, dword [esp + 0x14]
push 0
push edi
lea ecx, [esp + 0x28]
call fcn.0040bfaa
test eax, eax
je 0x403610
lea eax, [edi - 0x10]
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x403517
xor esi, esi
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
test esi, esi
jl 0x403764
cmp esi, ecx
jge 0x403764
add eax, esi
push 0x5c
push eax
call fcn.00417761
add esp, 8
test eax, eax
je 0x403764
sub eax, dword [esp + 0x48]
mov esi, eax
js 0x403764
inc esi
push esi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x50]
call fcn.004024a0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 5
call fcn.004028c0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40368d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.004028c0
push ebx
push 0x42f780
lea ecx, [esp + 0x1c]
call fcn.004025f0
mov edi, dword [esp + 0x14]
push 0
push edi
lea ecx, [esp + 0x28]
call fcn.0040bfaa
mov ebp, dword [esp + 0x18]
test eax, eax
jne 0x403612
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x403612
lea eax, [edi - 0x10]
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4036f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403718
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x40], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40373d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0xffffffff
call fcn.0040bf3b
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
lea eax, [edi - 0x10]
jmp 0x403505