Function at 0x40e460
Capabilities:
Create directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cd53
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x148]
call fcn.0040d8b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push 0x466db8
call fcn.0041a110
lea ecx, [ebp - 0x1a0]
call fcn.00405ec0
mov esi, eax
push 0x45bddc
lea edx, [ebp - 0x148]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.0041aef0
add esp, 0x1c
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x170]
call fcn.0041aa90
add esp, 4
lea ecx, [ebp - 0x130]
push eax
call fcn.0041a050
mov edx, dword [ebp - 0x15c]
cmp edx, 0x10
jb 0x40e553
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e549
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e866
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
cmp edx, 0x10
jb 0x40e5ac
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e5a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e866
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
cmp edx, 0x10
jb 0x40e605
mov ecx, dword [ebp - 0x1a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e5fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e866
push edx
push ecx
call fcn.0041fed9
add esp, 8
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x170], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e640
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x170]
call fcn.0041a930
cmp dword [ebp - 0x15c], 0x10
lea eax, [ebp - 0x170]
mov edi, dword [ebp - 0x170]
lea ecx, [ebp - 0x130]
mov ebx, dword [ebp - 0x11c]
cmovae eax, edi
push dword [ebp - 0x160]
mov esi, dword [ebp - 0x130]
cmp ebx, 0x10
mov edx, dword [ebp - 0x120]
cmovae ecx, esi
push eax
call fcn.0041bce0
mov byte [ebp - 0x149], al
add esp, 8
mov eax, dword [ebp - 0x15c]
cmp eax, 0x10
jb 0x40e6e7
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40e6d1
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8c7
push ecx
push edi
call fcn.0041fed9
mov ebx, dword [ebp - 0x11c]
add esp, 8
mov esi, dword [ebp - 0x130]
cmp byte [ebp - 0x149], 0
jne 0x40e7c5
cmp ebx, 0x10
lea eax, [ebp - 0x130]
push 0x45bdd0
cmovae eax, esi
push eax
call fcn.00438f99
add esp, 8
test eax, eax
jne 0x40e86b
lea ecx, [ebp - 0x148]
call fcn.00408b50
test al, al
jne 0x40e739
push 0
lea ecx, [ebp - 0x148]
call fcn.00419f90
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x148]
call fcn.00408b50
test al, al
je 0x40e779
sub esp, 0x18
lea eax, [ebp - 0x130]
mov ecx, esp
mov dword [ebp - 0x158], esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
call fcn.00409550
mov byte [ebp - 4], 1
call fcn.0040d720
add esp, 0x30
lea ecx, [ebp - 0x130]
call fcn.00408b20
test al, al
je 0x40e8c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0x45b19b
call fcn.0041a0d0
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x130]
mov dword [ebp - 0x154], esp
mov ecx, esp
push eax
call fcn.0041a110
mov byte [ebp - 4], 8
jmp 0x40e8a5
cmp ebx, 0x10
jb 0x40e7f5
lea ecx, [ebx + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40e7eb
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8c7
push ecx
push esi
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x40e84a
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e840
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8c7
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f862
mov esp, ebp
pop ebp
ret
call fcn.004394da
push eax
call fcn.00439027
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x150], esp
push 0x45b19b
call fcn.0041a0d0
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x130]
mov dword [ebp - 0x154], esp
mov ecx, esp
push eax
call fcn.0041a110
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
push str.0123456789
call fcn.0041a0d0
mov byte [ebp - 4], 1
call fcn.00407700
add esp, 0x48
push 0
call fcn.00438e99
call fcn.004394da
int3