Function at 0x40a1b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f760
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x414378]
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.004027a0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x40a20b
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401dd0
mov eax, dword [ebp - 0x28]
jmp 0x40a477
mov eax, dword [ebp - 0x14]
sub eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.0040a5e0
movzx ecx, ax
cmp ecx, 0x5c
jne 0x40a265
mov edx, dword [ebp - 0x14]
sub edx, 1
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 8]
call fcn.0040a560
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp + 8]
call fcn.00401df0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401dd0
lea ecx, [ebp + 8]
call fcn.004027a0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x40a289
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401dd0
mov eax, dword [ebp - 0x30]
jmp 0x40a477
cmp dword [ebp - 0x14], 3
jg 0x40a2f0
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea eax, [ebp + 8]
push eax
call fcn.00401db0
mov dword [ebp - 0x64], eax
call fcn.0040a160
add esp, 4
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x40a2d2
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401dd0
mov eax, dword [ebp - 0x38]
jmp 0x40a477
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401dd0
mov eax, dword [ebp - 0x3c]
jmp 0x40a477
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
lea edx, [ebp + 8]
push edx
call fcn.00401db0
mov dword [ebp - 0x6c], eax
call fcn.0040a160
add esp, 4
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x40a331
mov dword [ebp - 0x44], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401dd0
mov eax, dword [ebp - 0x44]
jmp 0x40a477
lea ecx, [ebp - 0x18]
call fcn.00401d90
mov byte [ebp - 4], 2
push 0x5c
lea ecx, [ebp + 8]
call fcn.0040a510
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 8]
call fcn.0040a560
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x78]
push edx
lea ecx, [ebp - 0x18]
call fcn.00401df0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00401dd0
lea ecx, [ebp - 0x18]
call fcn.004027a0
test eax, eax
jg 0x40a3af
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401dd0
mov eax, dword [ebp - 0x4c]
jmp 0x40a477
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp - 0x18]
push eax
call fcn.00401db0
mov dword [ebp - 0x7c], eax
call fcn.0040a1b0
add esp, 4
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x40a435
mov dword [ebp - 0x24], 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp + 8]
call fcn.004027c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401dd0
mov eax, dword [ebp - 0x54]
jmp 0x40a477
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401dd0
mov eax, dword [ebp - 0x58]
jmp 0x40a477
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret