Function at 0x4126d0
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1960
call fcn.004f6a30
mov eax, dword [0x57f7a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, edx
cmp dword [esi + 0x10], 0
jne 0x41270a
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x412714
mov eax, dword [esi]
jmp 0x412716
mov eax, esi
push eax
push str.start_kill__s
push 0x718
push str.executeExe
call fcn.00439030
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.004f31f0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x1804], ax
lea eax, [ebp - 0x1802]
push eax
call fcn.004f31f0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x1004], ax
lea eax, [ebp - 0x1002]
push eax
call fcn.004f31f0
add esp, 0x34
cmp dword [esi + 0x14], 8
jb 0x412789
mov eax, dword [esi]
jmp 0x41278b
mov eax, esi
push eax
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.004f11b7
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4127aa
mov eax, dword [edi]
jmp 0x4127ac
mov eax, edi
push eax
lea eax, [ebp - 0x1804]
push 0x400
push eax
call fcn.004f11b7
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x4127c9
mov ebx, dword [ebx]
push ebx
lea eax, [ebp - 0x1004]
push 0x400
push eax
call fcn.004f11b7
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x1920]
add esp, 0xc
mov dword [ebp - 0x1924], 0xffffffff
mov dword [ebp - 0x1960], 0x3c
mov dword [ebp - 0x195c], 0x440
mov dword [ebp - 0x1958], 0
push eax
mov dword [ebp - 0x1954], 0x555a60
mov dword [ebp - 0x1920], 0x11c
call ebx
test eax, eax
jne 0x412840
lea eax, [ebp - 0x1920]
mov dword [ebp - 0x1920], 0x114
push eax
call ebx
push dword [ebp - 0x191c]
push str.windows_os_dwMajorVersion___d
push 0x6a7
push str.isWin7OS
call fcn.00439030
add esp, 0x10
mov dword [ebp - 0x1944], 0
cmp dword [ebp - 0x191c], 6
mov eax, str.runas
mov dword [ebp - 0x1940], 0
cmovb eax, dword [ebp - 0x1954]
mov dword [ebp - 0x1954], eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x1950], eax
lea eax, [ebp - 0x1804]
mov dword [ebp - 0x194c], eax
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1948], eax
lea eax, [ebp - 0x1960]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x41292f
push 0x7d0
push dword [ebp - 0x1928]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4128f9
cmp eax, 0x102
je 0x4128ed
cmp eax, 0xffffffff
jne 0x412910
push str.execute_failed___
push 0x744
jmp 0x412903
push str.execute_timeout___
push 0x73f
jmp 0x412903
push str.execute_signaled.
push 0x73a
push str.executeExe
call fcn.00439030
add esp, 0xc
lea eax, [ebp - 0x1924]
push eax
push dword [ebp - 0x1928]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x1928]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1920]
mov dword [ebp - 0x1920], 0x11c
push eax
call ebx
test eax, eax
jne 0x412959
lea eax, [ebp - 0x1920]
mov dword [ebp - 0x1920], 0x114
push eax
call ebx
push dword [ebp - 0x191c]
push str.windows_os_dwMajorVersion___d
push 0x6a7
push str.isWin7OS
call fcn.00439030
add esp, 0x10
cmp dword [ebp - 0x191c], 6
setae al
cmp dword [edi + 0x14], 8
jb 0x412988
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x412990
mov esi, dword [esi]
movzx eax, al
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x1924]
push edi
push esi
push str.execute_filename___s__param___s__exitcode___d_lasterror___d_win7____d
push 0x74d
push str.executeExe
call fcn.00439030
mov ecx, dword [ebp - 4]
add esp, 0x20
xor eax, eax
cmp dword [ebp - 0x1924], eax
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.004ea604
mov esp, ebp
pop ebp
ret