Function at 0x408780
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536678
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x56d940]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00402c10
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x1c]
call fcn.00403460
movzx eax, al
test eax, eax
je 0x4087da
push 0x552b94
lea ecx, [ebp + 0x1c]
call fcn.00402d10
push 0x26
lea ecx, [ebp - 0x28]
push ecx
call fcn.004c15b0
add esp, 8
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 6
push 0x552ba0
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402cf0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00402cd0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00402cd0
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402db0
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00402c30
mov dword [ebp - 0x78], eax
call fcn.004be100
add esp, 4
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x40887b
push 0
lea ecx, [ebp - 0x14]
call fcn.00420f50
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x552ba4
lea ecx, [ebp - 0x14]
call fcn.00402dd0
push 0x552ba8
lea ecx, [ebp - 0x18]
call fcn.00402c50
mov byte [ebp - 4], 8
cmp dword [ebp + 0x20], 0
jne 0x4089dd
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea eax, [ebp + 8]
push eax
call fcn.00402c30
mov dword [ebp - 0x80], eax
call fcn.004080b0
add esp, 4
mov byte [ebp - 0x81], al
movzx ecx, byte [ebp - 0x81]
test ecx, ecx
jne 0x4089db
lea ecx, [ebp + 8]
call fcn.00403460
movzx edx, al
test edx, edx
jne 0x4089db
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea eax, [ebp + 8]
push eax
call fcn.00402c30
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004bdf70
add esp, 8
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 9
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00403100
add esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402cf0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00402cd0
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
lea edx, [ebp - 0x18]
push edx
call fcn.00402c30
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp + 8]
push edx
call fcn.00402c30
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 9
call fcn.004b3550
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp - 0x18]
push eax
call fcn.00402c30
mov dword [ebp - 0xa4], eax
call fcn.004be100
add esp, 4
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x4089cf
lea ecx, [ebp - 0x18]
call fcn.004033d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00402cd0
jmp 0x4089e9
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00402cf0
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp - 0x18]
push edx
call fcn.00402c30
mov dword [ebp - 0xac], eax
call fcn.004080b0
add esp, 4
mov byte [ebp - 0xad], al
movzx eax, byte [ebp - 0xad]
test eax, eax
jne 0x408a5b
lea ecx, [ebp - 0x20]
call fcn.00402c10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.004b3ea0
add esp, 8
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402cf0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.00402cd0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.00402cd0
push 1
mov ecx, dword [ebp + 0x18]
and ecx, 0x20
neg ecx
sbb ecx, ecx
and ecx, 3
push ecx
mov edx, dword [ebp + 0x18]
and edx, 0x10
neg edx
sbb edx, edx
neg edx
push edx
mov eax, dword [ebp + 0x18]
and eax, 8
neg eax
sbb eax, eax
and eax, 3
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00402c30
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea edx, [ebp + 0x14]
push edx
call fcn.00402c30
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x18]
call fcn.00420f50
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp + 0x10]
push edx
call fcn.00402c30
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00402c30
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 8
call fcn.004b4970
add esp, 0x24
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x408b99
mov byte [ebp - 0x5d], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.00402cd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00402cd0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.00402cd0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00402cd0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00402cd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00402cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.00402cd0
mov al, byte [ebp - 0x5d]
jmp 0x408c50
mov byte [ebp - 0x5e], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.00402cd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00402cd0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.00402cd0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00402cd0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00402cd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00402cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.00402cd0
mov al, byte [ebp - 0x5e]
jmp 0x408c50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c