Function at 0x40c7f0
Capabilities:
Create process on windows
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x457456
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d8]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
lea eax, [esp + 0x4c]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.004024c0
push 0x44
lea ecx, [esp + 0xd8]
push ebx
push ecx
mov dword [esp + 0x138], ebx
call fcn.00448fa0
xor eax, eax
add esp, 0xc
push 1
mov dword [esp + 0xd8], 0x44
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.00436e10
mov eax, dword [0x470c20]
mov ebp, 8
add esp, 4
cmp dword [eax + 0xce0], ebp
jb 0x40c88c
mov eax, dword [eax + 0xccc]
jmp 0x40c891
add eax, 0xccc
push 0x45cbdc
push ecx
push eax
lea edx, [esp + 0x60]
push edx
call fcn.00405020
add esp, 0xc
push eax
call fcn.00405020
add esp, 8
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x40c8d2
lea ecx, [esp + 0x28]
push ecx
call eax
jmp 0x40c8dd
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [esp + 0x28], 6
mov eax, str.ia64Drv64.exe
je 0x40c8ef
mov eax, str.x64Drv64.exe
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00405020
add esp, 8
push 0x45e064
push ecx
push edi
push ecx
lea ecx, [esp + 0x64]
push 0x45e068
push ecx
call fcn.00405020
add esp, 0xc
push eax
call fcn.00405020
add esp, 0xc
push eax
call fcn.00405020
add esp, 8
push esi
push ecx
lea edx, [esp + 0x5c]
push str.__flags
push edx
call fcn.00405020
add esp, 0xc
push eax
call fcn.0040d5c0
push 0x45e064
push ecx
push str.SoftwareIntelDifx64
push ecx
lea eax, [esp + 0x64]
push str.__keypath__
push eax
call fcn.00405020
add esp, 0xc
push eax
call fcn.00405020
add esp, 0xc
push eax
call fcn.00405020
cmp byte [esp + 0x13c], bl
je 0x40c97e
add esp, 8
jmp 0x40c990
lea ecx, [esp + 0x5c]
push str.__uninstall
push ecx
call fcn.00405020
add esp, 0x10
lea ecx, [esp + 0x28]
lea eax, [esp + 0x4c]
call fcn.00402600
mov byte [esp + 0x12c], 1
cmp dword [eax + 0x18], ebp
jb 0x40c9af
mov eax, dword [eax + 4]
jmp 0x40c9b2
add eax, 4
push eax
push str.Execute_command:__s
push 0x46fa40
xor eax, eax
call fcn.00431730
add esp, 0xc
mov byte [esp + 0x12c], bl
cmp dword [esp + 0x40], ebp
jb 0x40c9e1
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043e965
add esp, 4
lea ecx, [esp + 0x28]
lea eax, [esp + 0x4c]
call fcn.00402600
cmp dword [eax + 0x18], ebp
jb 0x40c9f8
mov eax, dword [eax + 4]
jmp 0x40c9fb
add eax, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xd8]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [esp + 0x40], ebp
mov esi, eax
jb 0x40ca2b
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043e965
add esp, 4
cmp esi, ebx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
je 0x40ca53
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [esp + 0x14]
jmp 0x40ca5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
push ebx
call fcn.00436e10
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x12c], 0xffffffff
call fcn.00402560
lea ecx, [esp + 0xa0]
push ecx
mov dword [esp + 0xa4], vtable.std::ios_base.0
call fcn.0043c576
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret 4