Function at 0x40c8f0
Capabilities:
Create directory
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b281
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebx
push esi
push edi
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 1
call fcn.00407100
cmp eax, 0x11
je 0x40cab3
cmp eax, 0x10
je 0x40cab3
cmp eax, 2
je 0x40cab3
sub esp, 0x18
mov ecx, esp
push 0x464238
call fcn.00419ff0
lea ecx, [ebp - 0x90]
call fcn.00405210
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 4
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c9b0
sub ecx, edx
lea eax, [ebp - 0x1a0]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0041a7c0
push esi
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.0041a910
add esp, 4
lea ecx, [ebp - 0x78]
push eax
call fcn.00419e50
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40ca19
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ca0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cdd9
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x40ca63
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ca59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cdd9
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40cb81
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cdd9
jmp 0x40cb77
sub esp, 0x18
mov ecx, esp
push 0x464238
call fcn.00419ff0
lea ecx, [ebp - 0x90]
call fcn.00405210
mov esi, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00408440
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0041a910
add esp, 0x1c
lea ecx, [ebp - 0x78]
push eax
call fcn.00419e50
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40cb2a
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cdd9
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x40ca63
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ca59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cdd9
jmp 0x40ca59
push edx
push ecx
call fcn.0041f5bc
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x463de8
call fcn.00419ff0
lea ecx, [ebp - 0x90]
call fcn.00405210
mov esi, eax
push 0x459f24
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.0041ac80
add esp, 0x1c
push esi
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
call fcn.0041a910
add esp, 4
lea ecx, [ebp - 0x5c]
push eax
call fcn.00419e50
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40cc03
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cbf9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cdd9
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x40cc4d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cc43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cdd9
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40cc9a
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cc90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cdd9
push edx
push ecx
call fcn.0041f5bc
add esp, 8
push 0x104
lea eax, [ebp - 0x1a0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x28], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ccd0
sub ecx, edx
lea eax, [ebp - 0x1a0]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0041a7c0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x5c]
mov ebx, dword [ebp - 0x48]
cmovae eax, edi
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x5c]
cmp ebx, 0x10
mov edx, dword [ebp - 0x4c]
cmovae ecx, esi
push eax
call fcn.0041b8a0
mov byte [ebp - 0xd], al
add esp, 8
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40cd50
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40cd40
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cdd9
push ecx
push edi
call fcn.0041f5bc
mov ebx, dword [ebp - 0x48]
add esp, 8
mov esi, dword [ebp - 0x5c]
cmp byte [ebp - 0xd], 0
je 0x40cdde
cmp ebx, 0x10
jb 0x40cd86
lea ecx, [ebx + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40cd7c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cdd9
push ecx
push esi
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x40cdc8
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cdbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cdd9
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00438cc7
cmp ebx, 0x10
lea eax, [ebp - 0x5c]
push 0x459f18
cmovae eax, esi
push eax
call fcn.00438786
add esp, 8
test eax, eax
je 0x40ce07
push eax
call fcn.00438814
add esp, 4
jmp 0x40cead
lea ecx, [ebp - 0x78]
call fcn.00407a60
test al, al
jne 0x40ce24
push 0
lea ecx, [ebp - 0x78]
call fcn.00419c30
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x78]
call fcn.00407a60
test al, al
je 0x40ce5b
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
call fcn.00408570
mov byte [ebp - 4], 1
call fcn.0040bd30
add esp, 0x30
lea ecx, [ebp - 0x5c]
call fcn.00407a30
test al, al
je 0x40cead
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x4591bb
call fcn.00419fb0
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
push str.0123456789
call fcn.00419fb0
mov byte [ebp - 4], 1
call fcn.00406710
add esp, 0x48
push 0
call fcn.004386b9
int3