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

Disassembly:
push 0xffffffffffffffff
push 0x44f376
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov eax, dword [0x462408]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
lea eax, [esp + 0x4c]
push eax
xor ebx, ebx
xor ebp, ebp
call fcn.004022e0
push 0x44
lea ecx, [esp + 0xd8]
push ebx
push ecx
mov dword [esp + 0x138], ebx
call fcn.00440b00
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.0042f2e0
add esp, 4
push 0x104
push 0x4650b8
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4650b8
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x453abc
push ecx
lea edx, [esp + 0x5c]
push 0x4650b8
push edx
call fcn.004045a0
add esp, 0xc
push eax
call fcn.004045a0
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 0x40b9d1
lea ecx, [esp + 0x28]
push ecx
call eax
jmp 0x40b9dc
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [esp + 0x28], 6
mov eax, str.ia64Drv64.exe
je 0x40b9ee
mov eax, str.x64Drv64.exe
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004045a0
add esp, 8
push 0x454d24
push ecx
push edi
push ecx
lea ecx, [esp + 0x64]
push 0x454d28
push ecx
call fcn.004045a0
add esp, 0xc
push eax
call fcn.004045a0
add esp, 0xc
push eax
call fcn.004045a0
add esp, 8
push esi
push ecx
lea edx, [esp + 0x5c]
push str.__flags
push edx
call fcn.004045a0
add esp, 0xc
push eax
call fcn.0040bbd0
push 0x454d24
push ecx
push str.SoftwareIntelDifx64
push ecx
lea eax, [esp + 0x64]
push str.__keypath__
push eax
call fcn.004045a0
add esp, 0xc
push eax
call fcn.004045a0
add esp, 0xc
push eax
call fcn.004045a0
cmp byte [esp + 0x13c], bl
je 0x40ba7d
add esp, 8
jmp 0x40ba8f
lea ecx, [esp + 0x5c]
push str.__uninstall
push ecx
call fcn.004045a0
add esp, 0x10
lea ecx, [esp + 0x28]
lea eax, [esp + 0x4c]
call fcn.00402420
mov edi, 8
mov byte [esp + 0x12c], 1
cmp dword [eax + 0x18], edi
jb 0x40bab3
mov eax, dword [eax + 4]
jmp 0x40bab6
add eax, 4
push eax
push str.Execute_command:__s
push 0x463650
xor eax, eax
call fcn.0042a920
add esp, 0xc
mov byte [esp + 0x12c], bl
cmp dword [esp + 0x40], edi
jb 0x40bae5
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043642d
add esp, 4
lea ecx, [esp + 0x28]
lea eax, [esp + 0x4c]
call fcn.00402420
cmp dword [eax + 0x18], edi
jb 0x40bafc
mov eax, dword [eax + 4]
jmp 0x40baff
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], edi
mov esi, eax
jb 0x40bb2f
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043642d
add esp, 4
cmp esi, ebx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
je 0x40bb53
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40bb5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, 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.0042f2e0
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x12c], 0xffffffff
call fcn.00402380
lea ecx, [esp + 0xa0]
push ecx
mov dword [esp + 0xa4], vtable.std::ios_base.0
call fcn.004344c1
add esp, 4
mov eax, ebp
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