Function at 0x40ccf0
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44f454
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
mov eax, dword [0x4697fc]
push ebx
push ebp
push esi
mov dword [esp + 0xf0], eax
push edi
mov ebp, ecx
xor edi, edi
mov esi, 0xf
mov dword [esp + 0x100], edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov byte [esp + 0x5c], 0
cmp dword [ebp + 0x58], edi
mov byte [esp + 0x100], 1
mov byte [ebp + 0x56], 1
je 0x40cd7b
call fcn.0044649a
cmp eax, edi
je 0x40cd5b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x40cd5d
xor eax, eax
mov ecx, dword [ebp + 0x58]
mov edx, dword [ecx]
push eax
push 0xca
call dword [edx + 0x130]
mov eax, dword [ebp + 0x58]
push edi
push eax
call fcn.00415d29
add esp, 8
lea ecx, [esp + 0x28]
push ecx
push edi
push ebp
push 0x409fd0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esp + 0x120]
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x10c]
jae 0x40cdad
lea eax, [esp + 0x10c]
push 0x4537b8
push eax
call fcn.0043051b
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40cdf4
push edi
push str.File_not_found._n
lea ecx, [ebp + 0x18]
call fcn.0040a940
cmp dword [esp + 0x70], edi
jb 0x40cde2
mov edx, dword [esp + 0x5c]
push edx
call fcn.004461da
add esp, 4
mov eax, dword [esp + 0x120]
mov dword [esp + 0x70], esi
cmp eax, edi
jmp 0x40cee8
push ebx
lea ecx, [esp + 0x94]
push 0x64
push ecx
call fcn.00430439
add esp, 0xc
test eax, eax
je 0x40ce52
jmp 0x40ce10
lea eax, [esp + 0x90]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ce20
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x60]
call fcn.0040a940
push ebx
lea eax, [esp + 0x94]
push 0x64
push eax
call fcn.00430439
add esp, 0xc
test eax, eax
jne 0x40ce10
mov esi, dword [esp + 0x6c]
lea ecx, [esp + 0x14]
push ecx
inc esi
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], 0
call fcn.0040c160
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x100], 2
jae 0x40ce84
lea eax, [esp + 0x5c]
mov edi, dword [esp + 0x1c]
push esi
push edi
push esi
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x40cf30
push 0x17
push str.Couldnt_convert_input_n
lea ecx, [ebp + 0x18]
call fcn.0040a940
test edi, edi
je 0x40cebd
push edi
call fcn.004461da
add esp, 4
mov eax, dword [esp + 0x70]
mov esi, 0x10
cmp eax, esi
jb 0x40ced7
mov edx, dword [esp + 0x5c]
push edx
call fcn.004461da
add esp, 4
mov eax, dword [esp + 0x120]
mov dword [esp + 0x70], 0xf
cmp eax, esi
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
jb 0x40cf07
mov eax, dword [esp + 0x10c]
push eax
call fcn.004461da
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xe8]
pop ebx
call fcn.0042ea18
add esp, 0xf4
ret 0x1c
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x13]
push ecx
inc edx
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x1b], 0
call fcn.0040c1d0
push 0
push 0
push esi
mov esi, dword [esp + 0x3c]
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
mov byte [esp + 0x120], 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x40cfde
push 0x22
push str.Couldnt_convert_input1_Errorcode_n
lea ecx, [ebp + 0x18]
call fcn.0040a940
test esi, esi
je 0x40cf88
push esi
call fcn.004461da
add esp, 4
test edi, edi
je 0x40cf95
push edi
call fcn.004461da
add esp, 4
mov eax, dword [esp + 0x70]
mov esi, 0x10
cmp eax, esi
jb 0x40cfaf
mov eax, dword [esp + 0x5c]
push eax
call fcn.004461da
add esp, 4
cmp dword [esp + 0x120], esi
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
jb 0x40cf07
mov ecx, dword [esp + 0x10c]
push ecx
jmp 0x40ceff
push esi
lea ecx, [esp + 0x78]
call fcn.00403400
push ebx
mov byte [esp + 0x104], 4
call fcn.004303e8
add esp, 4
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call fcn.0040b2e0
mov ecx, dword [eax + 0x14]
mov eax, dword [esp + 0x54]
test ecx, ecx
sete bl
cmp eax, 0x10
jb 0x40d028
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004461da
add esp, 4
lea ecx, [esp + 0x74]
call fcn.00402c20
lea ecx, [esp + 0x2c]
call fcn.0040a8c0
lea ecx, [esp + 0x18]
call fcn.0040a8c0
lea ecx, [esp + 0x58]
call fcn.00402c20
lea ecx, [esp + 0x108]
call fcn.00402c20
test bl, bl
je 0x40cf07
mov eax, 1
jmp 0x40cf09