Function at 0x414310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fd42
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4a5010]
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
call fcn.004035d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x120], eax
mov dword [ebp - 4], 0
lea edx, [ebp - 0x120]
mov ecx, dword [0x4a9d0c]
call fcn.00439f70
mov edi, dword [ebp - 0x120]
cmp dword [edi - 0xc], 0
jle 0x4143c9
lea eax, [ebp - 0x120]
mov edx, 0x48ca50
push eax
lea ecx, [ebp - 0x130]
call fcn.0041ae50
add esp, 4
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.0041bc30
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x130]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4143c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x120]
call fcn.004035d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 2
call fcn.0043ba60
mov ecx, 0x501
cmp ax, cx
jne 0x414405
push 5
push 0x48ca5c
lea ecx, [ebp - 0x11c]
call fcn.00402560
jmp 0x414479
call fcn.0043ba60
mov ecx, 0x600
cmp ax, cx
jne 0x414428
push 8
push str.WinVista
lea ecx, [ebp - 0x11c]
call fcn.00402560
jmp 0x414479
call fcn.0043ba60
mov ecx, 0x601
cmp ax, cx
jne 0x41444b
push 4
push str.Win7
lea ecx, [ebp - 0x11c]
call fcn.00402560
jmp 0x414479
call fcn.0043ba60
mov ecx, 0x602
cmp ax, cx
je 0x414469
call fcn.0043ba60
mov ecx, 0xa00
cmp ax, cx
jne 0x414479
push str.Win10
lea ecx, [ebp - 0x11c]
call fcn.00401b40
call fcn.004035d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x12c], eax
lea edx, [ebp - 0x12c]
mov byte [ebp - 4], 3
mov ecx, str.C:WindowsSystem32kernel32.dll
call fcn.00439f70
mov ebx, dword [ebp - 0x12c]
cmp dword [ebx - 0xc], 0
je 0x4144cf
push 1
push 0x48cadc
lea ecx, [ebp - 0x11c]
call fcn.0041c7b0
push dword [ebx - 0xc]
lea ecx, [ebp - 0x11c]
push ebx
call fcn.0041c7b0
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00458500
add esp, 0xc
mov dword [ebp - 0x124], 0x104
lea eax, [ebp - 0x124]
mov edx, 0x2c
mov ecx, str.aHR0cDovL2FiY2thbnR1LmNvbS9mZWVkYmFjay5odG1s
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0043b950
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x128], 0
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414522
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x124], eax
cmp eax, 0x3fffffff
jg 0x414570
add eax, eax
call fcn.0046b9f0
mov esi, esp
test esi, esi
je 0x414570
push dword [ebp - 0x124]
xor eax, eax
push esi
push 0xffffffffffffffff
mov word [esi], ax
lea eax, [ebp - 0x118]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x414572
xor esi, esi
push esi
lea ecx, [ebp - 0x128]
call fcn.00401980
mov byte [ebp - 4], 4
call fcn.004035d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x124], eax
push edi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x124]
push dword [ebp - 0x11c]
push dword [ebp - 0x128]
push str._s_sysver_ssoftver_s
push eax
call fcn.0041c920
mov esi, dword [ebp - 0x124]
add esp, 0x14
push 3
push 0
push 0
push esi
push 0x48ca18
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 4
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4145f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x128]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414615
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add ebx, 0xfffffff0
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x414630
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x11c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414651
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x41466d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea esp, [ebp - 0x140]
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.0043f53f
mov esp, ebp
pop ebp
ret