Function at 0x40c600
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x45c
mov eax, dword [0x449e30]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push ebp
mov ebp, dword [esp + 0x468]
push esi
push edi
push 0x400
lea eax, [esp + 0x6c]
push 0
push eax
mov ebx, ecx
call fcn.0041fd10
lea edx, [esp + 0x74]
add esp, 0xc
mov eax, ebp
sub edx, ebp
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40c640
mov al, byte [ebx + 0x4db]
cmp al, 1
je 0x40c6c5
sub al, 3
cmp al, 1
ja 0x40c75f
lea edi, [esp + 0x68]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c670
mov ecx, 7
mov esi, str.WinUpV10_ENE
lea eax, [ebx + 0xc8]
rep movsd dword es:[edi], dword [esi]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c690
lea edi, [esp + 0x68]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c6a4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x40c75f
lea edi, [esp + 0x68]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c6d0
mov ecx, 6
mov esi, str.WinUpV01_10
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x2d0]
movsw word es:[edi], word [esi]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c6f2
lea edi, [esp + 0x68]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c706
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x68]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40c730
mov ecx, dword [str.__FORCE]
mov edx, dword [0x43b084]
mov dword [eax], ecx
mov ecx, dword [0x43b088]
mov dword [eax + 4], edx
mov edx, dword [0x43b08c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x68]
push eax
push str.MICOM_command_:__s
call fcn.004084b0
push 0x44
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.0041fd10
xor eax, eax
add esp, 0x14
test dword [0x44bca0], 0x200000
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push eax
push ebp
mov dword [esp + 0x30], 0x44
lea ecx, [esp + 0x74]
push 0
je 0x40c7bd
push 0xc000000
jmp 0x40c7c2
push 0x4000000
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x40c814
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov dword [esp + 0x24], eax
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
xor eax, eax
jmp 0x40c82d
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
mov eax, 1
mov ecx, dword [esp + 0x468]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041fd8a
add esp, 0x45c
ret 8