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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fdb5
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x469738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov edi, ecx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0xf8], 0x457580
mov dword [ebp - 0xe8], 0x457588
mov dword [ebp - 0x98], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], ebx
mov esi, 1
push ecx
mov dword [ebp - 0x4c], esi
call fcn.00403390
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xe0]
push ecx
mov dword [ebp + eax - 0xf8], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.004035a0
mov dword [ebp - 0xe0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
push 0x44
lea edx, [ebp - 0x140]
push ebx
push edx
mov dword [ebp - 4], 3
call fcn.004440d0
xor eax, eax
add esp, 0xc
push esi
mov dword [ebp - 0x140], 0x44
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
call fcn.004324d0
mov eax, dword [0x46bd98]
add eax, 0xcd0
mov esi, 8
add esp, 4
cmp dword [eax + 0x14], esi
jb 0x40ba6d
mov eax, dword [eax]
push 0x4576d8
push ecx
push eax
push ecx
lea eax, [ebp - 0xe8]
push 0x458f30
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
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 0x40babe
lea ecx, [ebp - 0x34]
push ecx
call eax
jmp 0x40bac8
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], 6
mov eax, 0x458f34
je 0x40bad9
mov eax, str.x64Drv64.exe_
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00404630
add esp, 8
push 0x458f30
push ecx
push edi
push ecx
push str.__driverinf__
cmp byte [ebp + 0xc], bl
je 0x40bb72
lea ecx, [ebp - 0xe8]
push ecx
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
mov edx, dword [ebp + 8]
add esp, 8
push edx
push ecx
lea eax, [ebp - 0xe8]
push str.__flags
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.0040c530
push 0x458f30
push ecx
push str.SoftwareIntelDifx64
push ecx
lea ecx, [ebp - 0xe8]
push str.__keypath__
push ecx
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
add esp, 8
jmp 0x40bbf5
lea edx, [ebp - 0xe8]
push edx
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
mov eax, dword [ebp + 8]
add esp, 8
push eax
push ecx
lea ecx, [ebp - 0xe8]
push str.__flags
push ecx
call fcn.00404630
add esp, 0xc
push eax
call fcn.0040c530
push 0x458f30
push ecx
push str.SoftwareIntelDifx64
push ecx
lea edx, [ebp - 0xe8]
push str.__keypath__
push edx
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
lea eax, [ebp - 0xe8]
push str.__uninstall
push eax
call fcn.00404630
add esp, 0x10
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0xf8]
call fcn.004027b0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], esi
jb 0x40bc0e
mov eax, dword [eax]
push eax
push str.Execute_command:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], esi
jb 0x40bc38
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004396db
add esp, 4
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0xf8]
call fcn.004027b0
cmp dword [eax + 0x14], esi
jb 0x40bc4d
mov eax, dword [eax]
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x140]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp dword [ebp - 0x18], esi
jb 0x40bc79
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004396db
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp edi, ebx
je 0x40bc9e
mov ecx, dword [ebp - 0x44]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp - 0x48]
jmp 0x40bca6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, dword [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x40]
push eax
call esi
push ebx
call fcn.004324d0
add esp, 4
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], 0xffffffff
call fcn.00401bf0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438351
mov esp, ebp
pop ebp
ret 8