Function at 0x57c884
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 ebx, ecx
lea esi, [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov eax, dword [0x674014]
xor eax, ebp
mov dword [esp + 0x98], eax
push dword [ebp + 8]
call fcn.005f42ed
add esp, 4
mov ecx, dword [ebx + 0x2c]
mov dword [esp], ebx
mov dword [ebx + 0x2c], eax
test ecx, ecx
je 0x57c8ca
push ecx
call fcn.004d2040
add esp, 4
mov esi, dword [esi]
push edi
call fcn.005f42ed
add esp, 4
xor ebx, ebx
cmp dword [esi + 0x60], 0
setne bl
shl ebx, 0x13
or ebx, 0x40c
mov ecx, dword [esp]
cmp dword [ecx + 0x1c], 0
mov dword [esp + 4], eax
je 0x57c905
call fcn.004d1ef0
lea ecx, [ebx + 0x1000000]
cmp eax, 5
cmovl ebx, ecx
movzx eax, byte [esi + 0x10]
pxor xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi], xmm0
lea ecx, [esi + 0x1c]
xor edx, edx
push edi
push ecx
push edx
push edx
push ebx
push eax
push edx
push edx
push dword [esp + 0x24]
push dword [ebp + 8]
mov ebx, dword [esp + 0x28]
push dword [ebx + 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x57ca61
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x10]
movdqa xmmword [ecx], xmm0
push edi
call fcn.0057c380
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x57c978
mov ecx, dword [esi + 0x98]
cmp ecx, dword [esi + 0x9c]
jne 0x57c978
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x57ca79
mov esi, dword [ebx + 0x14]
lea eax, [esi + 1]
cmp eax, 2
lea ebx, [ebp + 0x10]
jb 0x57cae1
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.0051e420
add esp, 0xc
cmp byte [edi], 0
je 0x57cab3
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x70]
movdqa xmmword [edi], xmm0
mov dword [edi + 0x10], 0xffffffff
lea ecx, [esp + 0x90]
push edi
call fcn.0051e9d0
cmp byte [edi], 0
je 0x57ca9d
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 edx, [esp + 0x74]
mov ecx, edi
push eax
push edx
call fcn.005a5c00
lea eax, [esp + 0xc]
push eax
push edi
push 0
push esi
call fcn.00579293
add esp, 0x10
mov dword [esp + 8], eax
mov ecx, edi
call fcn.005a5ce2
lea ecx, [esp + 0x74]
cmp byte [ecx - 4], 0
je 0x57ca3e
call fcn.00453e30
cmp byte [esp + 0x8c], 0
je 0x57ca54
lea ecx, [esp + 0x90]
call fcn.0041dc60
cmp dword [esp + 8], 0
jne 0x57cab3
mov esi, dword [esp + 0xc]
jmp 0x57cab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov esi, 0x12
lea ebx, [ebp + 0x10]
jmp 0x57cba7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, 0x14
lea ebx, [ebp + 0x10]
jmp 0x57cb9e
cmp byte [esp + 0x8c], 0
je 0x57cab3
lea ecx, [esp + 0x90]
call fcn.0041dc60
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 0x57cb5e
mov eax, dword [esp]
lea ecx, [eax + 0x14]
call fcn.0041dc60
lea ecx, [esp + 0xc]
call fcn.0041dc60
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x10]
push eax
call fcn.0057c5a0
test al, al
je 0x57cb25
push dword [esp + 0x10]
call fcn.004de18c
add esp, 4
mov ecx, dword [esp]
mov dword [ecx + 0x28], eax
test eax, eax
mov esi, dword [ebp + 0x18]
je 0x57cb43
cmp eax, sym.software_reporter_tool.exe_Ordinal_0
je 0x57cb85
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, 0x41
jmp 0x57cb9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, 0x17
jmp 0x57cb9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, 0x2b
jmp 0x57cb9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0xc]
call fcn.0041dc60
mov esi, 0x15
jmp 0x57cb9e
lea esi, [esp + 0x30]
lea ecx, [esp + 0x10]
push esi
call fcn.0057c6a0
mov ecx, dword [esp]
push esi
call fcn.0057c3a0
xor esi, esi
lea ecx, [esp + 0x10]
call fcn.0057c4d0
mov eax, dword [esp + 4]
test eax, eax
je 0x57cbb8
push eax
call fcn.004d2040
add esp, 4
mov ecx, ebx
push 0
call fcn.0057cfce
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.005dd6f3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14