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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov edi, ecx
lea esi, [ebp + 8]
mov eax, dword [0x596ff8]
xor eax, ebp
mov dword [esp + 0xc8], eax
push dword [esi]
call fcn.00527f43
add esp, 4
mov ecx, dword [edi + 0x2c]
mov dword [esp + 8], edi
mov dword [edi + 0x2c], eax
test ecx, ecx
je 0x4b52a7
push ecx
call fcn.00529c90
add esp, 4
mov edi, dword [esi + 8]
push dword [esi + 4]
call fcn.00527f43
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
cmp dword [edi + 0x60], 0
setne bl
shl ebx, 0x13
or ebx, 0x40c
mov eax, dword [esp + 8]
cmp dword [eax + 0x1c], 0
je 0x4b52e6
call fcn.00442b10
lea ecx, [ebx + 0x1000000]
cmp eax, 5
cmovl ebx, ecx
mov eax, dword [esi + 8]
movzx eax, byte [eax + 0x10]
pxor xmm0, xmm0
mov edx, esi
lea esi, [esp + 0x30]
movdqa xmmword [esi], xmm0
add edi, 0x1c
xor ecx, ecx
push esi
push edi
push ecx
push ecx
push ebx
push eax
push ecx
push ecx
mov eax, dword [esp + 0x34]
mov ebx, eax
push eax
push dword [edx]
mov edi, dword [esp + 0x30]
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x4b5423
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x20]
movdqa xmmword [ecx], xmm0
push esi
call fcn.004b4db0
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4b5365
lea ecx, [ebp + 0x10]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x94]
cmp edx, dword [ecx + 0x98]
jne 0x4b5365
push dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x4b543b
mov ecx, dword [edi + 0x14]
lea eax, [ecx + 1]
cmp eax, 2
lea esi, [ebp + 8]
jb 0x4b558f
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x4c]
mov dword [ecx], 0xffffffff
push ecx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4b553d
mov eax, dword [esp + 0x4c]
xor ebx, ebx
lea edi, [esp + 0x48]
mov dword [edi], ebx
mov ecx, edi
push eax
call fcn.00407388
mov esi, dword [edi]
mov eax, 0x48
push eax
call fcn.00512878
add esp, 4
mov edi, eax
pxor xmm0, xmm0
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x30], xmm0
mov dword [eax + 0x44], ebx
mov dword [eax + 0x40], ebx
lea eax, [esp + 0x50]
mov dword [eax], 0xffffffff
push eax
mov eax, 0x48
push eax
push edi
push 0x1f
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4b545f
mov esi, dword [edi]
test esi, esi
je 0x4b546b
push 0x44
call fcn.00512878
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, eax
push esi
call fcn.004afe94
jmp 0x4b5473
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov dword [ecx], eax
mov edi, 0x12
jmp 0x4b5617
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 + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x14
jmp 0x4b560e
mov dword [esp + 0xc], 0
xor ebx, ebx
jmp 0x4b5478
mov dword [esp + 0xc], 0
test esi, esi
setne bl
lea esi, [ebp + 8]
push edi
call fcn.005128f8
add esp, 4
lea ecx, [esp + 0x48]
call fcn.004073c4
test bl, bl
je 0x4b5528
mov eax, dword [esp + 8]
add eax, 0x30
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0xac], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
lea ecx, [esp + 0x50]
mov ebx, ecx
push eax
mov edi, dword [esp + 0x10]
push edi
call fcn.004d5810
lea eax, [esp + 0x1c]
xor ecx, ecx
push eax
push ecx
push ecx
push ebx
push ecx
mov ebx, dword [esp + 0x24]
push ebx
call fcn.0048567b
add esp, 0x18
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x50]
call fcn.004d5948
push edi
call fcn.005128f8
mov edx, ebx
add esp, 4
cmp dword [esp + 0x18], 0
mov ebx, dword [esp + 0x14]
jne 0x4b5541
mov edx, dword [esp + 0x1c]
jmp 0x4b5541
mov eax, dword [esp + 0xc]
test eax, eax
mov ebx, dword [esp + 0x14]
je 0x4b553d
push eax
call fcn.005128f8
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x50]
mov dword [ecx], eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov edi, eax
test eax, eax
je 0x4b5567
mov eax, dword [esp + 8]
lea ecx, [eax + 0x14]
call fcn.004073c4
jmp 0x4b557e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x10]
mov dword [ecx], eax
push 0
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x1c]
call fcn.004073c4
test edi, edi
mov edi, dword [esp + 8]
je 0x4b5609
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x20]
push eax
call fcn.004b4fd0
test al, al
je 0x4b55cd
push dword [esp + 0x20]
call fcn.004b1435
add esp, 4
mov dword [edi + 0x28], eax
test eax, eax
je 0x4b55eb
lea esi, [esp + 0x50]
lea ecx, [esp + 0x20]
push esi
call fcn.004b50d0
mov ecx, edi
push esi
call fcn.004b4dd0
xor edi, edi
jmp 0x4b560e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x10]
mov dword [ecx], eax
push 0
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x17
jmp 0x4b560e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x10]
mov dword [ecx], eax
push 0
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x2b
jmp 0x4b560e
mov edi, 0x15
lea ecx, [esp + 0x20]
call fcn.004b4f00
test ebx, ebx
je 0x4b5624
push ebx
call fcn.00529c90
add esp, 4
lea ecx, [ebp + 0x10]
push 0
call fcn.004b5974
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.00512931
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14