Function at 0x413f50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d400
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x452550]
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.00404140
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x413fab
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403d40
mov eax, dword [ebp - 0x20]
jmp 0x41422b
mov eax, dword [ebp - 0x14]
sub eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.00406350
movsx ecx, al
cmp ecx, 0x5c
jne 0x414005
mov edx, dword [ebp - 0x14]
sub edx, 1
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 8]
call fcn.00402d70
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.00403d20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00403d40
lea ecx, [ebp + 8]
call fcn.00404140
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x414029
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403d40
mov eax, dword [ebp - 0x30]
jmp 0x41422b
cmp dword [ebp - 0x14], 3
jg 0x414090
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea eax, [ebp + 8]
push eax
call fcn.004039e0
mov dword [ebp - 0x68], eax
call fcn.00413f00
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x414072
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403d40
mov eax, dword [ebp - 0x38]
jmp 0x41422b
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403d40
mov eax, dword [ebp - 0x3c]
jmp 0x41422b
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea edx, [ebp + 8]
push edx
call fcn.004039e0
mov dword [ebp - 0x70], eax
call fcn.00413f00
add esp, 4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4140d1
mov dword [ebp - 0x44], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403d40
mov eax, dword [ebp - 0x44]
jmp 0x41422b
lea ecx, [ebp - 0x10]
call fcn.00403ba0
mov byte [ebp - 4], 2
push 0x5c
lea ecx, [ebp + 8]
call fcn.00402bc0
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp + 8]
call fcn.00402d70
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.00403d20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00403d40
lea ecx, [ebp - 0x10]
call fcn.00404140
test eax, eax
jg 0x41414f
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403d40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403d40
mov eax, dword [ebp - 0x54]
jmp 0x41422b
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
lea eax, [ebp - 0x10]
push eax
call fcn.004039e0
mov dword [ebp - 0x78], eax
call fcn.00413f50
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x4141e9
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.004031a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
jne 0x4141b4
mov dword [ebp - 0x1c], 1
jmp 0x4141bb
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.00403d40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403d40
mov eax, dword [ebp - 0x5c]
jmp 0x41422b
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403d40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403d40
mov eax, dword [ebp - 0x60]
jmp 0x41422b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret