Function at 0x40cfc0
Capabilities:
Create directory
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449c73
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x462014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x46638d], 1
jne 0x40d44c
lea ecx, [ebp - 0x150]
call fcn.0040c2a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push 0x462db8
call fcn.004172e0
lea ecx, [ebp - 0x1a8]
call fcn.00405d40
mov esi, eax
push 0x458d2c
lea edx, [ebp - 0x150]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x190]
call fcn.00417f60
add esp, 0x1c
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x178]
call fcn.00417b00
mov esi, eax
add esp, 4
lea eax, [ebp - 0x138]
cmp eax, esi
je 0x40d116
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x40d0d3
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d0c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d46a
push edx
push ecx
call fcn.0041cf4a
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x138], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x128], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x164]
cmp edx, 0x10
jb 0x40d150
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d146
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d46a
push edx
push ecx
call fcn.0041cf4a
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
cmp edx, 0x10
jb 0x40d1a9
mov ecx, dword [ebp - 0x190]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d19f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d46a
push edx
push ecx
call fcn.0041cf4a
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
cmp edx, 0x10
jb 0x40d202
mov ecx, dword [ebp - 0x1a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d1f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d46a
push edx
push ecx
call fcn.0041cf4a
add esp, 8
push 0x104
lea eax, [ebp - 0x120]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x178], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d240
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x178]
call fcn.004179a0
cmp dword [ebp - 0x164], 0x10
lea eax, [ebp - 0x178]
mov edi, dword [ebp - 0x178]
lea ecx, [ebp - 0x138]
push dword [ebp - 0x168]
mov esi, dword [ebp - 0x138]
cmovae eax, edi
cmp dword [ebp - 0x124], 0x10
mov edx, dword [ebp - 0x128]
cmovae ecx, esi
push eax
call fcn.00418d50
mov byte [ebp - 0x151], al
add esp, 8
mov eax, dword [ebp - 0x164]
cmp eax, 0x10
jb 0x40d2df
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40d2cf
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d4cb
push ecx
push edi
call fcn.0041cf4a
mov esi, dword [ebp - 0x138]
add esp, 8
cmp byte [ebp - 0x151], 0
jne 0x40d3c1
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
push 0x458d20
cmovae eax, esi
push eax
call fcn.00436009
add esp, 8
test eax, eax
jne 0x40d46f
lea ecx, [ebp - 0x150]
call fcn.00408280
test al, al
jne 0x40d335
push 0
lea ecx, [ebp - 0x150]
call fcn.004171e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x150]
call fcn.00408280
test al, al
je 0x40d375
sub esp, 0x18
lea eax, [ebp - 0x138]
mov ecx, esp
mov dword [ebp - 0x160], esp
push eax
call fcn.004172e0
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
call fcn.00408c80
mov byte [ebp - 4], 1
call fcn.0040c110
add esp, 0x30
lea ecx, [ebp - 0x138]
call fcn.00408250
test al, al
je 0x40d4c4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x160], esp
push 0x45813b
call fcn.004172a0
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x138]
mov dword [ebp - 0x15c], esp
mov ecx, esp
push eax
call fcn.004172e0
mov byte [ebp - 4], 8
jmp 0x40d4a9
mov eax, dword [ebp - 0x124]
cmp eax, 0x10
jb 0x40d3f7
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40d3ed
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d4cb
push ecx
push esi
call fcn.0041cf4a
add esp, 8
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
cmp edx, 0x10
jb 0x40d44c
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d442
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d4cb
push edx
push ecx
call fcn.0041cf4a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041c8d3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0043654a
push eax
call fcn.00436097
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0x45813b
call fcn.004172a0
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x138]
mov dword [ebp - 0x15c], esp
mov ecx, esp
push eax
call fcn.004172e0
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
push str.0123456789
call fcn.004172a0
mov byte [ebp - 4], 1
call fcn.00406e30
add esp, 0x48
push 0
call fcn.00435f09
call fcn.0043654a
int3