Function at 0x414520
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43da70
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.00404600
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x41457b
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404200
mov eax, dword [ebp - 0x20]
jmp 0x4147fb
mov eax, dword [ebp - 0x14]
sub eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.00406870
movsx ecx, al
cmp ecx, 0x5c
jne 0x4145d5
mov edx, dword [ebp - 0x14]
sub edx, 1
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 8]
call fcn.00403230
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.004041e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00404200
lea ecx, [ebp + 8]
call fcn.00404600
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x4145f9
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404200
mov eax, dword [ebp - 0x30]
jmp 0x4147fb
cmp dword [ebp - 0x14], 3
jg 0x414660
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea eax, [ebp + 8]
push eax
call fcn.00403ea0
mov dword [ebp - 0x68], eax
call fcn.004144d0
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x414642
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404200
mov eax, dword [ebp - 0x38]
jmp 0x4147fb
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404200
mov eax, dword [ebp - 0x3c]
jmp 0x4147fb
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea edx, [ebp + 8]
push edx
call fcn.00403ea0
mov dword [ebp - 0x70], eax
call fcn.004144d0
add esp, 4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4146a1
mov dword [ebp - 0x44], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404200
mov eax, dword [ebp - 0x44]
jmp 0x4147fb
lea ecx, [ebp - 0x10]
call fcn.00404060
mov byte [ebp - 4], 2
push 0x5c
lea ecx, [ebp + 8]
call fcn.00403080
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp + 8]
call fcn.00403230
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.004041e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00404200
lea ecx, [ebp - 0x10]
call fcn.00404600
test eax, eax
jg 0x41471f
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404200
mov eax, dword [ebp - 0x54]
jmp 0x4147fb
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
lea eax, [ebp - 0x10]
push eax
call fcn.00403ea0
mov dword [ebp - 0x78], eax
call fcn.00414520
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x4147b9
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.00403660
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
jne 0x414784
mov dword [ebp - 0x1c], 1
jmp 0x41478b
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.00404200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404200
mov eax, dword [ebp - 0x5c]
jmp 0x4147fb
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404200
mov eax, dword [ebp - 0x60]
jmp 0x4147fb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret