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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov edi, ecx
lea esi, [ebp + 8]
mov eax, dword [0x530f98]
xor eax, ebp
mov dword [esp + 0xb8], eax
push dword [esi]
call fcn.004cc59d
add esp, 4
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x10], edi
mov dword [edi + 0x2c], eax
test ecx, ecx
je 0x481bd7
push ecx
call fcn.00443fc0
add esp, 4
mov edi, dword [esi + 8]
push dword [esi + 4]
call fcn.004cc59d
add esp, 4
mov dword [esp + 0x18], eax
xor ebx, ebx
cmp dword [edi + 0x60], 0
setne bl
shl ebx, 0x13
or ebx, 0x40c
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x1c], 0
je 0x481c16
call fcn.00441a60
lea ecx, [ebx + 0x1000000]
cmp eax, 5
cmovl ebx, ecx
mov eax, dword [esi + 8]
movzx esi, byte [eax + 0x10]
call fcn.00441a60
xor ecx, ecx
cmp eax, 3
setl cl
xorps xmm0, xmm0
lea edx, [esp + 0x30]
movaps xmmword [edx], xmm0
add edi, 0x1c
or ecx, esi
lea esi, [ebp + 8]
xor eax, eax
push edx
push edi
push eax
push eax
push ebx
push ecx
push eax
push eax
mov ebx, dword [esp + 0x38]
push ebx
push dword [esi]
mov edi, dword [esp + 0x38]
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x481d36
lea ecx, [esp + 0x20]
lea eax, [esp + 0x30]
push eax
call fcn.00458530
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x481c9d
lea ecx, [ebp + 0x10]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x94]
cmp edx, dword [ecx + 0x98]
jne 0x481c9d
push dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x481d4b
mov ecx, dword [edi + 0x14]
lea eax, [ecx + 1]
cmp eax, 2
jb 0x481e60
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x48]
push eax
push 8
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x481e0e
mov eax, dword [esp + 0x48]
xor ecx, ecx
lea edi, [esp + 0x44]
mov dword [edi], ecx
mov ecx, edi
push eax
call fcn.0040f75a
mov esi, dword [edi]
mov ebx, 0x48
push ebx
call fcn.004af396
add esp, 4
mov edi, eax
push ebx
xor eax, eax
push eax
push edi
call fcn.004b8bc0
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
push ebx
push edi
push 0x1f
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x481d6c
mov esi, dword [edi]
test esi, esi
je 0x481d78
push 0x44
call fcn.004af396
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, eax
push esi
call fcn.0047e204
jmp 0x481d80
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x10]
mov dword [ecx], eax
mov edi, 0x12
jmp 0x481ee8
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, 0x14
jmp 0x481edf
mov dword [esp + 0x14], 0
xor ebx, ebx
jmp 0x481d85
mov dword [esp + 0x14], 0
test esi, esi
setne bl
lea esi, [ebp + 8]
push edi
call fcn.004af3c6
add esp, 4
lea ecx, [esp + 0x44]
call fcn.0040f796
test bl, bl
je 0x481df9
mov eax, dword [esp + 0x10]
add eax, 0x30
lea ecx, [esp + 0x4c]
mov edi, ecx
push eax
mov ebx, dword [esp + 0x18]
push ebx
call fcn.0048a878
lea eax, [esp + 0x1c]
xor ecx, ecx
push eax
push ecx
push ecx
push edi
push ecx
push dword [esp + 0x20]
call fcn.004740fe
add esp, 0x18
mov edi, eax
lea ecx, [esp + 0x4c]
call fcn.0048a9b0
mov eax, ebx
test ebx, ebx
mov ebx, dword [esp + 0x18]
je 0x481deb
push eax
call fcn.004af3c6
add esp, 4
test edi, edi
mov edx, dword [esp + 0xc]
jne 0x481e12
mov edx, dword [esp + 0x1c]
jmp 0x481e12
mov eax, dword [esp + 0x14]
test eax, eax
mov ebx, dword [esp + 0x18]
je 0x481e0e
push eax
call fcn.004af3c6
add esp, 4
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x4c]
mov dword [ecx], eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov edi, eax
test eax, eax
je 0x481e38
mov eax, dword [esp + 0x10]
lea ecx, [eax + 0x14]
call fcn.0040f796
jmp 0x481e4f
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.0040f796
test edi, edi
mov edi, dword [esp + 0x10]
je 0x481eda
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x20]
push eax
call fcn.00458760
test al, al
je 0x481e9e
push dword [esp + 0x20]
call fcn.00475820
add esp, 4
mov dword [edi + 0x28], eax
test eax, eax
je 0x481ebc
lea esi, [esp + 0x4c]
lea ecx, [esp + 0x20]
push esi
call fcn.00458860
mov ecx, edi
push esi
call fcn.00458550
xor edi, edi
jmp 0x481edf
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 0x481edf
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 0x481edf
mov edi, 0x15
lea ecx, [esp + 0x20]
call fcn.00458690
test ebx, ebx
je 0x481ef5
push ebx
call fcn.00443fc0
add esp, 4
lea ecx, [ebp + 0x10]
push 0
call fcn.00482236
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.004af401
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14