Function at 0x4113a8
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, ecx
lea edi, [ebp + 8]
mov eax, dword [0x5cc440]
xor eax, ebp
mov dword [esp + 0x98], eax
push dword [edi]
call fcn.0050e976
add esp, 4
mov ecx, dword [esi + 0x2c]
mov dword [esp], esi
mov dword [esi + 0x2c], eax
test ecx, ecx
je 0x4113ea
push ecx
call fcn.0050a9ff
add esp, 4
mov esi, dword [edi + 8]
push dword [edi + 4]
call fcn.0050e976
add esp, 4
mov dword [esp + 4], eax
xor ebx, ebx
cmp dword [esi + 0x60], 0
setne bl
shl ebx, 0x13
or ebx, 0x40c
mov eax, dword [esp]
cmp dword [eax + 0x1c], 0
je 0x411428
call fcn.00404a80
lea ecx, [ebx + 0x1000000]
cmp eax, 5
cmovl ebx, ecx
mov eax, dword [edi + 8]
movzx eax, byte [eax + 0x10]
pxor xmm0, xmm0
mov edx, edi
lea edi, [esp + 0x20]
movdqa xmmword [edi], xmm0
add esi, 0x1c
xor ecx, ecx
push edi
push esi
push ecx
push ecx
push ebx
push eax
push ecx
push ecx
push dword [esp + 0x24]
mov ebx, edx
push dword [edx]
mov esi, dword [esp + 0x28]
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x411590
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x10]
movdqa xmmword [ecx], xmm0
push edi
call fcn.0040ff00
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4114a6
lea ecx, [ebp + 0x10]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0xa8]
cmp edx, dword [ecx + 0xac]
jne 0x4114a6
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x4115aa
mov esi, dword [esi + 0x14]
lea eax, [esi + 1]
cmp eax, 2
lea edi, [ebp + 8]
jb 0x411615
xor eax, eax
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x10]
xor edx, edx
dec edx
lea edi, [esp + 0x8c]
mov dword [edi + 8], edx
mov dword [edi + 4], edx
mov dword [edi], edx
push eax
push ecx
push edi
call fcn.00428810
add esp, 0xc
cmp byte [edi], 0
je 0x4115a5
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x70]
movdqa xmmword [edi], xmm0
mov dword [edi + 0x10], 0xffffffff
lea ecx, [esp + 0x90]
push edi
call fcn.00428eb0
cmp byte [edi], 0
je 0x4115ce
mov eax, dword [esp]
add eax, 0x30
lea edi, [esp + 0x30]
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov dword [edi + 0x30], 0xffffffff
lea ebx, [esp + 0x74]
mov ecx, edi
push eax
push ebx
call fcn.00427aa0
lea eax, [esp + 0xc]
push eax
push edi
push 0
push esi
call fcn.00405173
add esp, 0x10
mov dword [esp + 8], eax
mov ecx, edi
call fcn.00427bc4
cmp byte [ebx - 4], 0
lea edi, [ebp + 8]
je 0x41156d
mov ecx, ebx
call fcn.004107d0
cmp byte [esp + 0x8c], 0
je 0x411583
lea ecx, [esp + 0x90]
call fcn.00403540
cmp dword [esp + 8], 0
jne 0x4115e7
mov esi, dword [esp + 0xc]
jmp 0x4115e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x10]
mov dword [ecx], eax
mov edi, 0x12
jmp 0x4116e0
lea edi, [ebp + 8]
jmp 0x4115e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov dword [ecx], eax
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x14
jmp 0x4116d7
cmp byte [esp + 0x8c], 0
lea edi, [ebp + 8]
je 0x4115e7
lea ecx, [esp + 0x90]
call fcn.00403540
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
mov dword [ecx], eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x411696
mov eax, dword [esp]
lea ecx, [eax + 0x14]
call fcn.00403540
lea ecx, [esp + 0xc]
call fcn.00403540
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.00410100
test al, al
je 0x41165a
push dword [esp + 0x10]
call fcn.0042ba46
add esp, 4
mov ecx, dword [esp]
mov dword [ecx + 0x28], eax
test eax, eax
je 0x411678
lea eax, [ecx + 0x28]
cmp dword [eax], 0x400000
je 0x4116bd
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x41
jmp 0x4116d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x10]
mov dword [ecx], eax
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x17
jmp 0x4116d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x10]
mov dword [ecx], eax
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x2b
jmp 0x4116d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x10]
mov dword [ecx], eax
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0xc]
call fcn.00403540
mov edi, 0x15
jmp 0x4116d7
mov edi, ecx
lea esi, [esp + 0x30]
lea ecx, [esp + 0x10]
push esi
call fcn.00410200
mov ecx, edi
push esi
call fcn.0040ff20
xor edi, edi
lea ecx, [esp + 0x10]
call fcn.00410040
mov eax, dword [esp + 4]
test eax, eax
je 0x4116f1
push eax
call fcn.0050a9ff
add esp, 4
lea ecx, [ebp + 0x10]
call fcn.00402938
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.005035b5
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14