Function at 0x408030
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438ee5
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xf4
mov eax, dword [0x52b420]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404610
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe4], esp
push 0x43b004
call fcn.00404610
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb4], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.0040a800
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.00408770
add esp, 0x34
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], 0
jmp 0x4080e4
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x84]
call fcn.0040e8a0
cmp dword [ebp - 0x3c], eax
jae 0x408356
push 0x3a
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0xbc], esp
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x84]
call fcn.0040bbd0
push eax
mov ecx, esi
call fcn.0040a800
lea eax, [ebp - 0x60]
push eax
call fcn.004088c0
add esp, 0x20
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x60]
call fcn.0040bbd0
mov ecx, eax
call fcn.00405bb0
add eax, 1
push eax
call fcn.00416a09
add esp, 4
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x4c], edx
push 1
lea ecx, [ebp - 0x60]
call fcn.0040bbd0
mov ecx, eax
call fcn.00405bb0
add eax, 1
push eax
call fcn.00416a09
add esp, 4
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x48], ecx
push 1
lea ecx, [ebp - 0x60]
call fcn.0040bbd0
mov ecx, eax
call fcn.00405bb0
mov esi, eax
push 0
lea ecx, [ebp - 0x60]
call fcn.0040bbd0
mov ecx, eax
call fcn.00405bb0
lea esi, [eax + esi + 2]
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x84]
call fcn.0040bbd0
mov ecx, eax
call fcn.00405bb0
sub eax, esi
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, 1
push eax
call fcn.00416a09
add esp, 4
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x44], edx
push 0
lea ecx, [ebp - 0x60]
call fcn.0040bbd0
mov ecx, eax
call fcn.00405bb0
add eax, 1
push eax
push 0
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004194e0
add esp, 0xc
push 1
lea ecx, [ebp - 0x60]
call fcn.0040bbd0
mov ecx, eax
call fcn.00405bb0
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004194e0
add esp, 0xc
mov edx, dword [ebp - 0x40]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.004194e0
add esp, 0xc
push 0
lea ecx, [ebp - 0x60]
call fcn.0040bbd0
mov ecx, eax
call fcn.00405bb0
push eax
push 0
lea ecx, [ebp - 0x60]
call fcn.0040bbd0
mov ecx, eax
call fcn.00405910
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00418f60
add esp, 0xc
push 1
lea ecx, [ebp - 0x60]
call fcn.0040bbd0
mov ecx, eax
call fcn.00405bb0
push eax
push 1
lea ecx, [ebp - 0x60]
call fcn.0040bbd0
mov ecx, eax
call fcn.00405910
push eax
mov edx, dword [ebp - 0x48]
push edx
call fcn.00418f60
add esp, 0xc
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x84]
call fcn.0040bbd0
mov ecx, eax
call fcn.00405bb0
mov esi, eax
sub esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x84]
call fcn.0040bbd0
mov ecx, eax
call fcn.00405910
add eax, esi
push eax
mov eax, dword [ebp - 0x44]
push eax
call fcn.00418f60
add esp, 0xc
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0xfc]
push edx
call fcn.0040a260
add esp, 0x14
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x24
call fcn.0040e270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.00404a10
jmp 0x4080db
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.00404a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004049d0
jmp 0x408383
mov dword [ebp - 4], 0xffffffff
jmp 0x40839b
mov dword [ebp - 4], 6
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0xc4]
push edx
lea eax, [ebp - 0xc8]
push eax
push 0x43b010
mov ecx, dword [ebp - 0x30]
call fcn.00407dd0
mov byte [ebp - 0x31], al
movzx ecx, byte [ebp - 0x31]
test ecx, ecx
je 0x408466
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xd0]
push ecx
push 0x43b01c
mov ecx, dword [ebp - 0x30]
call fcn.00407dd0
mov byte [ebp - 0x32], al
movzx edx, byte [ebp - 0x32]
test edx, edx
je 0x408466
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0xec]
push edx
push 0x43b028
mov ecx, dword [ebp - 0x30]
call fcn.00407dd0
mov byte [ebp - 0x33], al
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x408466
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0xe0]
push eax
push 0x43b03c
mov ecx, dword [ebp - 0x30]
call fcn.00407dd0
mov byte [ebp - 0x34], al
movzx ecx, byte [ebp - 0x34]
test ecx, ecx
jne 0x40846d
xor al, al
jmp 0x408601
mov edx, dword [ebp - 0x64]
push edx
call fcn.00421d8d
add esp, 4
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x68]
push edx
call fcn.00421d8d
add esp, 4
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x6c]
push edx
call fcn.00421d8d
add esp, 4
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x70]
push edx
call fcn.00421d8d
add esp, 4
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x1c], eax
jmp 0x4084c7
mov dword [ebp - 4], 0xffffffff
jmp 0x4084df
push 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40856f
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.0041c2f0
add esp, 4
add eax, 1
mov dword [ebp - 0x74], eax
xor ecx, ecx
mov eax, dword [ebp - 0x74]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00416a09
add esp, 4
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00422196
add esp, 0xc
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.00408720
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x9c], eax
push 2
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004169fb
add esp, 8
push 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4085ff
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x18]
push edx
call fcn.0041c2f0
add esp, 4
add eax, 1
mov dword [ebp - 0x78], eax
xor ecx, ecx
mov eax, dword [ebp - 0x78]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00416a09
add esp, 4
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00422196
add esp, 0xc
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.00408720
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa4], eax
push 2
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.004169fb
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00416e65
mov esp, ebp
pop ebp
ret 8