Function at 0x4131c7
Capabilities:
Create process on windows

Disassembly:
push 0xd4
mov eax, 0x45a49b
call fcn.0042193e
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x8c], esi
lea eax, [ebx + 0x10]
push eax
call fcn.0040f06b
pop ecx
test al, al
jne 0x413252
push 0x50
call fcn.004215e5
pop ecx
mov dword [ebp - 0x8c], eax
xor edi, edi
mov dword [ebp - 4], edi
test eax, eax
je 0x413211
push ebx
mov ecx, eax
call fcn.00410684
jmp 0x413213
mov eax, edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x8c], edi
push dword [ebp - 0x8c]
mov dword [ebp - 0x90], edi
push eax
call fcn.00410c1f
mov ecx, dword [ebp - 0x90]
mov dword [esi], 1
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [esi + 8], ecx
jmp 0x413507
mov ecx, dword [ebx + 0xc]
mov eax, ecx
shr eax, 2
and al, 1
je 0x4132cb
shr ecx, 1
and cl, 1
je 0x4132cb
push 0x50
call fcn.004215e5
pop ecx
mov dword [ebp - 0x8c], eax
xor edi, edi
mov dword [ebp - 4], 1
test eax, eax
je 0x41328a
push ebx
mov ecx, eax
call fcn.00410684
jmp 0x41328c
mov eax, edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x8c], edi
push dword [ebp - 0x8c]
mov dword [ebp - 0x90], edi
push eax
call fcn.00410c1f
mov eax, dword [ebp - 0x90]
mov dword [esi], 2
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esi + 8], eax
jmp 0x413507
push ebx
call fcn.004139bc
pop ecx
test al, al
je 0x4132e4
push ebx
push esi
call fcn.0041350f
pop ecx
pop ecx
jmp 0x413507
push 0x50
call fcn.004215e5
pop ecx
mov dword [ebp - 0x8c], eax
xor edi, edi
mov dword [ebp - 4], 2
test eax, eax
je 0x413309
push ebx
mov ecx, eax
call fcn.00410684
jmp 0x41330b
mov eax, edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x8c], edi
push dword [ebp - 0x8c]
mov dword [ebp - 0x90], edi
push eax
call fcn.00410c1f
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xd8], eax
lea eax, [ebx + 0x10]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040fb09
lea eax, [ebx + 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040fb09
add esp, 0x10
push 5
pop eax
mov byte [ebp - 4], al
mov ecx, ebx
lea eax, [ebp - 0x88]
push eax
call fcn.00410949
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
call fcn.00414c17
pop ecx
pop ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.00404235
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00412a95
pop ecx
pop ecx
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
xorps xmm0, xmm0
mov byte [ebp - 4], 9
cmovae eax, dword [ebp - 0x70]
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
mov dword [ebp - 0xcc], 0x3c
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc8], 0x440
call fcn.004122a6
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0xc4], eax
jne 0x41340b
mov eax, edi
jmp 0x413416
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp - 0x30], 0
mov dword [ebp - 0xb8], eax
jne 0x413426
mov eax, edi
jmp 0x413431
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
test byte [ebx + 0xc], 1
push 5
pop ebx
mov dword [ebp - 0xb4], eax
mov eax, ebx
push 0
pop ecx
cmovne eax, ecx
mov dword [ebp - 0xac], edi
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x4134c7
cmp dword [ebp - 0x94], 0
je 0x4134c7
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebx, dword [ebp - 0x90]
mov dword [ebx + 0x40], eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.00410e14
pop ecx
pop ecx
push eax
lea ecx, [ebx + 0x48]
call fcn.00411421
mov ecx, dword [ebp - 0xd0]
test ecx, ecx
je 0x4134c0
call fcn.00405d5f
mov dword [esi], edi
mov dword [esi + 4], ebx
jmp 0x4134de
cmp dword [ebp - 0xac], ebx
push 3
pop eax
cmove eax, ebx
mov dword [esi], eax
mov eax, dword [ebp - 0x90]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x58]
mov dword [esi + 8], eax
call fcn.0040425b
lea ecx, [ebp - 0x28]
call fcn.0040425b
lea ecx, [ebp - 0x40]
call fcn.0040425b
lea ecx, [ebp - 0x70]
call fcn.0040425b
mov eax, esi
call fcn.004218e8
ret