Function at 0x409440
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c4d5
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x461fec]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x178], ecx
lea ecx, [ebp - 0x10]
call fcn.00401880
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401880
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.0042e351
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x144]
call fcn.00403150
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x178]
mov ecx, dword [ecx + 0x4c8]
call fcn.0040cc40
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x180]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15c]
call fcn.004018a0
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
call fcn.0042dc24
test eax, eax
jne 0x4095e3
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x158]
call fcn.0040c020
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00421ee0
add esp, 8
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x188], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x188]
push edx
lea ecx, [ebp - 0x14]
call fcn.00403530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x160]
call fcn.004018a0
lea ecx, [ebp - 0x14]
call fcn.004032b0
movzx eax, al
test eax, eax
jne 0x409590
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0040bed0
add esp, 8
movzx eax, al
test eax, eax
je 0x4095d2
mov ecx, 0x1e
mov word [ebp - 0x162], cx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.0042e5a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004018a0
mov ax, word [ebp - 0x162]
jmp 0x409863
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403530
jmp 0x4094f2
movzx eax, byte [ebp - 0x124]
and eax, 0x10
jne 0x409631
mov ecx, 0x1f
mov word [ebp - 0x164], cx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.0042e5a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004018a0
mov ax, word [ebp - 0x164]
jmp 0x409863
lea ecx, [ebp - 0x158]
call fcn.0041d200
sub eax, 1
mov dword [ebp - 0x18], eax
jmp 0x40964d
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jl 0x4096e5
push 0
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x158]
call fcn.0041d240
mov ecx, eax
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4096bc
mov ecx, 0x1e
mov word [ebp - 0x166], cx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.0042e5a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004018a0
mov ax, word [ebp - 0x166]
jmp 0x409863
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x158]
call fcn.0041d240
mov ecx, eax
call fcn.00401920
push eax
push 1
mov ecx, dword [ebp - 0x178]
call fcn.00409160
jmp 0x409644
mov dword [ebp - 0x18], 0
jmp 0x4096f7
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 6
jge 0x409829
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x16c]
push edx
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x4c8]
call fcn.0040cc80
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x190], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x190]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
call fcn.004018a0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
call fcn.0042dc24
test eax, eax
jne 0x4097d9
push 0
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4097c1
mov ecx, 0x1e
mov word [ebp - 0x16e], cx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.0042e5a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004018a0
mov ax, word [ebp - 0x16e]
jmp 0x409863
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
push 1
mov ecx, dword [ebp - 0x178]
call fcn.00409160
jmp 0x409824
movzx edx, byte [ebp - 0x124]
and edx, 0x10
jne 0x409824
mov eax, 0x1f
mov word [ebp - 0x170], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.0042e5a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004018a0
mov ax, word [ebp - 0x170]
jmp 0x409863
jmp 0x4096ee
xor ecx, ecx
mov word [ebp - 0x172], cx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.0042e5a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004018a0
mov ax, word [ebp - 0x172]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00435c3d
mov esp, ebp
pop ebp
ret