Function at 0x409ef0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4368bd
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x449144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.00406660
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00405a20
sub eax, 1
push eax
lea ecx, [ebp - 0x38]
call fcn.00409460
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x409f56
push 0x5c
push 1
lea ecx, [ebp - 0x38]
call fcn.0040c8a0
push 0xc
lea ecx, [ebp - 0x20]
call fcn.004044d0
lea ecx, [ebp - 0x20]
call fcn.004082b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00408270
mov byte [ebp - 4], 2
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x58], 0
jmp 0x409f91
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
lea ecx, [ebp - 0x38]
call fcn.00405a20
cmp dword [ebp - 0x58], eax
jae 0x409feb
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x38]
call fcn.00409460
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x409fd1
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x38]
call fcn.00409460
mov ax, word [eax]
movzx ecx, ax
push ecx
push 1
lea ecx, [ebp - 0x50]
call fcn.0040c8a0
jmp 0x409fe9
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040e720
push 0x5c
push 1
lea ecx, [ebp - 0x50]
call fcn.0040c8a0
jmp 0x409f88
push 4
lea ecx, [ebp - 0x14]
call fcn.004044d0
lea ecx, [ebp - 0x14]
call fcn.00407f70
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040c960
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x40a024
push 0
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x14]
call fcn.00409480
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040da70
push eax
lea ecx, [ebp - 0x14]
call fcn.004093a0
movzx ecx, al
test ecx, ecx
je 0x40a113
call fcn.0040c320
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x14]
call fcn.00405ed0
mov ecx, eax
call fcn.00406850
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x40a070
mov dword [ebp - 0x70], 0
jmp 0x40a0ed
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
add eax, 2
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x5c]
mov dx, word [ecx]
mov word [ebp - 0x5e], dx
add dword [ebp - 0x5c], 2
cmp word [ebp - 0x5e], 0
jne 0x40a07f
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x78]
sar eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
add ecx, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x3fffffff
jle 0x40a0ba
mov dword [ebp - 0x6c], 0
jmp 0x40a0e7
mov eax, dword [ebp - 0x64]
shl eax, 1
call fcn.0041d980
mov dword [ebp - 0x84], esp
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x64]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x84]
push edx
call fcn.00409be0
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
push 0
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40a103
mov byte [ebp - 0x51], 1
jmp 0x40a107
mov byte [ebp - 0x51], 0
movzx edx, byte [ebp - 0x51]
mov dword [ebp - 0x74], edx
jmp 0x40a013
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.004090a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004090c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004090a0
mov eax, dword [ebp - 0x88]
lea esp, [ebp - 0x98]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d30e
mov esp, ebp
pop ebp
ret