Function at 0x4118d0
Capabilities:
Check os version
Create process on windows
Get number of processors
Resume thread
Suspend thread
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4c4703
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4ea6c4]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ea6c4]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov eax, dword [esp + 0x124]
xor ebx, ebx
mov dword [esp + 0x30], eax
xor eax, eax
mov ebp, 7
mov edi, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
push ecx
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [edi + 0x130]
mov byte [esp + 0x124], 1
call fcn.0040d6b0
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x124], 2
call fcn.0042a3c0
add esp, 8
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
call fcn.0040b350
test al, al
je 0x411acd
cmp dword [esp + 0x2c], 5
jbe 0x411acd
call fcn.0040c600
test al, al
jne 0x411acd
push 7
push 0x4cfa6c
lea esi, [esp + 0x58]
mov ebp, str.open
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
call fcn.00401700
mov byte [esp + 0x11c], 3
cmp dword [esp + 0x108], 8
mov edx, dword [esp + 0xf4]
jae 0x411a1a
lea edx, [esp + 0xf4]
lea eax, [esp + 0x34]
call fcn.004016b0
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
call fcn.00406b20
test eax, eax
mov esi, 8
sete byte [esp + 0x1b]
cmp dword [esp + 0x4c], esi
jb 0x411a4f
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004abbe4
add esp, 4
mov byte [esp + 0x11c], 2
cmp dword [esp + 0x68], esi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
jb 0x411a7b
mov edx, dword [esp + 0x54]
push edx
call fcn.004abbe4
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x411a86
mov ebp, str.runas
cmp dword [esp + 0xd0], esi
mov ecx, dword [esp + 0xbc]
jae 0x411a9d
lea ecx, [esp + 0xbc]
cmp dword [esp + 0x108], esi
mov eax, dword [esp + 0xf4]
jae 0x411ab4
lea eax, [esp + 0xf4]
push ecx
push eax
push ebp
lea esi, [esp + 0x28]
call fcn.0040c560
mov esi, 8
add esp, 0xc
lea ebp, [esi - 1]
jmp 0x411b32
push 0x40
lea eax, [esp + 0x74]
push ebx
push eax
mov dword [esp + 0x78], 0x44
call fcn.004ae6c0
or dword [esp + 0xa4], 0x81
mov eax, dword [esp + 0xe4]
mov esi, 8
add esp, 0xc
cmp dword [esp + 0xec], esi
mov word [esp + 0x9c], bx
jae 0x411b14
lea eax, [esp + 0xd8]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x70]
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 eax, 1
sete al
cmp al, bl
je 0x411c8a
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x411c8a
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push eax
call esi
test eax, eax
je 0x411bd8
mov ebp, dword [sym.imp.KERNEL32.dll_SuspendThread]
nop
mov eax, dword [edi + 0x114]
cmp eax, ebx
je 0x411bcb
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push ebx
push eax
mov byte [esp + 0x23], bl
call esi
test eax, eax
je 0x411b8b
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x411b8b
push eax
mov byte [esp + 0x1f], 1
call ebp
mov ecx, dword [edi + 0x114]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
push 0xffffffffffffffff
push eax
call esi
cmp byte [esp + 0x1b], bl
je 0x411bb0
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x411bb0
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov cl, byte [edi + 0x110]
test cl, cl
jne 0x411c18
mov ecx, dword [edi + 0x114]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
test al, al
jne 0x411c18
mov ecx, dword [esp + 0x1c]
push 0x64
push ecx
call esi
test eax, eax
jne 0x411b60
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
lea esi, [esp + 0xd4]
setne bl
call fcn.00449530
lea esi, [esp + 0xb8]
call fcn.00449530
lea esi, [esp + 0xf0]
call fcn.00449530
mov al, bl
jmp 0x411d03
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 8
cmp dword [esp + 0xec], esi
jb 0x411c4d
mov eax, dword [esp + 0xd8]
push eax
call fcn.004abbe4
add esp, 4
cmp dword [esp + 0xd0], esi
mov edi, 7
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
jb 0x411c81
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.004abbe4
add esp, 4
mov dword [esp + 0xd0], edi
jmp 0x411cd9
cmp dword [esp + 0xec], esi
jb 0x411ca3
mov eax, dword [esp + 0xd8]
push eax
call fcn.004abbe4
add esp, 4
cmp dword [esp + 0xd0], esi
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
jb 0x411cd2
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.004abbe4
add esp, 4
mov dword [esp + 0xd0], ebp
cmp dword [esp + 0x108], esi
mov word [esp + 0xbc], bx
mov dword [esp + 0xcc], ebx
jb 0x411d01
mov edx, dword [esp + 0xf4]
push edx
call fcn.004abbe4
add esp, 4
xor al, al
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.004abc64
add esp, 0x10c
ret 4