Function at 0x403011
Capabilities:
Create directory

Disassembly:
sub esp, 0x10
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push 4
mov eax, ebp
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
push 4
mov eax, ebp
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
push 4
mov eax, ebp
add eax, 8
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push dword [ebp + 0x20]
lea eax, [ebp + 0x18]
mov eax, dword [eax]
mov ecx, eax
call fcn.00405ae4
push eax
pop eax
mov dword [ebp + 0xc], eax
xor ecx, ecx
add ecx, 0xc
lea eax, [ebp + ecx]
mov ecx, dword [eax]
add ecx, 0xc
push dword [ecx]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x403096
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x4030aa
jmp 0x4034e1
push dword [ebp + 0x24]
push 1
pop ebx
pop eax
sub esp, 4
mov ecx, 0xffffffff
cmp eax, ebx
jle 0x4030c5
mov ecx, 0
mov dword [esp], ecx
pop eax
cmp eax, 0
je 0x403110
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
xor ecx, ecx
add ecx, 0xc
lea eax, [ebp + ecx]
mov ecx, dword [eax]
add ecx, 0xc
push dword [ecx]
push dword [0x40cf7c]
push 0x40b237
call fcn.004044d7
push 0
push 4
mov eax, ebp
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
xor ecx, ecx
add ecx, 0xc
lea eax, [ebp + ecx]
mov ecx, dword [eax]
add ecx, 8
push dword [ecx]
pop eax
mov dword [ebp + 4], eax
jmp 0x40315d
push dword [ebp + 4]
push 1
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
pop eax
mov dword [ebp + 4], eax
push 0xffffffffffffffff
pop eax
cmp eax, 0
je 0x4031cd
push dword [ebp + 4]
xor ecx, ecx
add ecx, 0xc
lea eax, [ebp + ecx]
mov ecx, dword [eax]
add ecx, 8
push dword [ecx]
xor ecx, ecx
add ecx, 0xc
lea eax, [ebp + ecx]
mov ecx, dword [eax]
add ecx, 0xc
push dword [ecx]
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
push 1
pop ebx
pop eax
sub esp, 4
sub eax, ebx
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
mov ecx, 0xffffffff
cmp eax, ebx
jle 0x4031c4
mov ecx, 0
mov dword [esp], ecx
pop eax
jmp 0x40322c
push dword [ebp + 4]
xor ecx, ecx
add ecx, 0xc
lea eax, [ebp + ecx]
mov ecx, dword [eax]
add ecx, 8
push dword [ecx]
xor ecx, ecx
add ecx, 0xc
lea eax, [ebp + ecx]
mov ecx, dword [eax]
add ecx, 0xc
push dword [ecx]
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
push 1
pop ebx
pop eax
sub esp, 4
sub eax, ebx
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
mov ecx, 0xffffffff
cmp eax, ebx
jge 0x403228
mov ecx, 0
mov dword [esp], ecx
pop eax
cmp eax, 0
je 0x4034e1
push dword [ebp + 4]
lea eax, [ebp + 0x18]
mov eax, dword [eax]
mov ecx, eax
call fcn.00405ae4
push eax
pop eax
mov dword [ebp + 8], eax
xor ecx, ecx
add ecx, 8
lea eax, [ebp + ecx]
mov ecx, dword [eax]
add ecx, 4
push dword [ecx]
push dword [ebp + 0x20]
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x40327c
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x40344a
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 4]
lea eax, [ebp + 0x18]
mov eax, dword [eax]
mov ecx, eax
call fcn.00403cec
push eax
xor ecx, ecx
add ecx, 8
lea eax, [ebp + ecx]
mov ecx, dword [eax]
add ecx, 0x14
push dword [ecx]
xor ecx, ecx
add ecx, 8
lea eax, [ebp + ecx]
mov ecx, dword [eax]
add ecx, 0x10
push dword [ecx]
push dword [ebp + 4]
xor ecx, ecx
add ecx, 8
lea eax, [ebp + ecx]
mov ecx, dword [eax]
add ecx, 4
push dword [ecx]
push 0x40b261
pop eax
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
call fcn.00404634
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push eax
push dword [ebp + 0x24]
push 1
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
push 2
pop ebx
pop eax
sub esp, 4
imul eax, ebx
mov dword [esp], eax
call fcn.00405da1
push eax
push 0x40b263
call fcn.004044d7
push dword [ebp + 4]
lea eax, [ebp + 0x18]
mov eax, dword [eax]
mov ecx, eax
call fcn.00403cec
push eax
push dword [0x40cf80]
call fcn.004073a6
xor eax, eax
mov al, byte [0x40c014]
push eax
push 1
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x40337d
mov eax, 0xffffffff
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x403398
push 0
push dword [0x40cf7c]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
mov eax, dword [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0x24]
push 1
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
push dword [ebp + 4]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.00403011
push eax
push 1
pop eax
imul eax, eax, 0xffffffff
push eax
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x4033df
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
pop eax
pop ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0x24]
push 1
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
push dword [ebp + 4]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.00403d56
push eax
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
pop eax
pop ecx
mov dword [ebp + 0x10], eax
push dword [0x40cf80]
call fcn.0040779b
jmp 0x4034dc
push 0x40b277
pop eax
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
call fcn.00404634
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push eax
push dword [ebp + 0x24]
push 1
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
push 2
pop ebx
pop eax
sub esp, 4
imul eax, ebx
mov dword [esp], eax
call fcn.00405da1
push eax
push 0x40b279
mov eax, dword [esp]
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
call fcn.00404634
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov dword [esp], eax
call fcn.004035a5
push eax
push 0x40b2a2
mov eax, dword [esp]
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
call fcn.00404634
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov dword [esp], eax
call fcn.004035a5
push eax
call fcn.004072a0
jmp 0x403144
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
add esp, 0x10
ret 0x10