Function at 0x413b20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c000
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x451550]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004041b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x413b7b
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403db0
mov eax, dword [ebp - 0x20]
jmp 0x413dfb
mov eax, dword [ebp - 0x14]
sub eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.00406280
movsx ecx, al
cmp ecx, 0x5c
jne 0x413bd5
mov edx, dword [ebp - 0x14]
sub edx, 1
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 8]
call fcn.00402de0
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp + 8]
call fcn.00403d90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00403db0
lea ecx, [ebp + 8]
call fcn.004041b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x413bf9
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403db0
mov eax, dword [ebp - 0x30]
jmp 0x413dfb
cmp dword [ebp - 0x14], 3
jg 0x413c60
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea eax, [ebp + 8]
push eax
call fcn.00403a50
mov dword [ebp - 0x68], eax
call fcn.00413ad0
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x413c42
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403db0
mov eax, dword [ebp - 0x38]
jmp 0x413dfb
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403db0
mov eax, dword [ebp - 0x3c]
jmp 0x413dfb
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea edx, [ebp + 8]
push edx
call fcn.00403a50
mov dword [ebp - 0x70], eax
call fcn.00413ad0
add esp, 4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x413ca1
mov dword [ebp - 0x44], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403db0
mov eax, dword [ebp - 0x44]
jmp 0x413dfb
lea ecx, [ebp - 0x10]
call fcn.00403c10
mov byte [ebp - 4], 2
push 0x5c
lea ecx, [ebp + 8]
call fcn.00402c30
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp + 8]
call fcn.00402de0
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403d90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00403db0
lea ecx, [ebp - 0x10]
call fcn.004041b0
test eax, eax
jg 0x413d1f
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403db0
mov eax, dword [ebp - 0x54]
jmp 0x413dfb
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
lea eax, [ebp - 0x10]
push eax
call fcn.00403a50
mov dword [ebp - 0x78], eax
call fcn.00413b20
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x413db9
mov dword [ebp - 0x84], 0xc
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp + 8]
call fcn.00403210
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
jne 0x413d84
mov dword [ebp - 0x1c], 1
jmp 0x413d8b
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403db0
mov eax, dword [ebp - 0x5c]
jmp 0x413dfb
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403db0
mov eax, dword [ebp - 0x60]
jmp 0x413dfb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret