Function at 0x4b4844
Capabilities:
Create process on windows

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 [0x591128]
xor eax, ebp
mov dword [esp + 0xc8], eax
push dword [esi]
call fcn.00523e03
add esp, 4
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x10], edi
mov dword [edi + 0x2c], eax
test ecx, ecx
je 0x4b4887
push ecx
call fcn.00525b50
add esp, 4
mov edi, dword [esi + 8]
push dword [esi + 4]
call fcn.00523e03
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 0x4b48c6
call fcn.004431a0
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 + 0x38]
mov ebx, eax
push eax
push dword [edx]
mov edi, dword [esp + 0x38]
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x4b4a03
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x20]
movdqa xmmword [ecx], xmm0
push esi
call fcn.004b4390
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4b4945
lea ecx, [ebp + 0x10]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x98]
cmp edx, dword [ecx + 0x9c]
jne 0x4b4945
push dword [esp + 0x20]
push eax
call dword [0x58b160]
test eax, eax
je 0x4b4a1b
mov ecx, dword [edi + 0x14]
lea eax, [ecx + 1]
cmp eax, 2
lea esi, [ebp + 8]
jb 0x4b4b71
mov dword [esp + 0xc], 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 0x4b4b1f
mov eax, dword [esp + 0x4c]
xor ebx, ebx
lea edi, [esp + 0x48]
mov dword [edi], ebx
mov ecx, edi
push eax
call fcn.00408cec
mov esi, dword [edi]
mov eax, 0x48
push eax
call fcn.0050f358
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 0x4b4a3f
mov esi, dword [edi]
test esi, esi
je 0x4b4a4b
push 0x44
call fcn.0050f358
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, eax
push esi
call fcn.004ae840
jmp 0x4b4a53
call dword [0x58b268]
lea ecx, [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov dword [ecx], eax
mov edi, 0x12
jmp 0x4b4bf9
call dword [0x58b268]
lea ecx, [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov dword [ecx], eax
push 0
push dword [esp + 0x24]
call dword [0x58b43c]
mov edi, 0x14
jmp 0x4b4bf0
mov dword [esp + 0x14], 0
xor ebx, ebx
jmp 0x4b4a58
mov dword [esp + 0x14], 0
test esi, esi
setne bl
lea esi, [ebp + 8]
push edi
call fcn.0050f3dd
add esp, 4
lea ecx, [esp + 0x48]
call fcn.00408d28
test bl, bl
je 0x4b4b0a
mov eax, dword [esp + 0x10]
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 edi, ecx
push eax
mov ebx, dword [esp + 0x18]
push ebx
call fcn.004d47a8
lea eax, [esp + 0x1c]
xor ecx, ecx
push eax
push ecx
push ecx
push edi
push ecx
push dword [esp + 0x20]
call fcn.004822c3
add esp, 0x18
mov edi, eax
lea ecx, [esp + 0x50]
call fcn.004d48e0
mov eax, ebx
test ebx, ebx
mov ebx, dword [esp + 0x18]
je 0x4b4afc
push eax
call fcn.0050f3dd
add esp, 4
test edi, edi
mov edx, dword [esp + 0xc]
jne 0x4b4b23
mov edx, dword [esp + 0x1c]
jmp 0x4b4b23
mov eax, dword [esp + 0x14]
test eax, eax
mov ebx, dword [esp + 0x18]
je 0x4b4b1f
push eax
call fcn.0050f3dd
add esp, 4
mov edx, dword [esp + 0xc]
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 0x4b4b49
mov eax, dword [esp + 0x10]
lea ecx, [eax + 0x14]
call fcn.00408d28
jmp 0x4b4b60
call dword [0x58b268]
mov ecx, dword [esi + 0x10]
mov dword [ecx], eax
push 0
push dword [esp + 0x24]
call dword [0x58b43c]
lea ecx, [esp + 0x1c]
call fcn.00408d28
test edi, edi
mov edi, dword [esp + 0x10]
je 0x4b4beb
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x20]
push eax
call fcn.004b45b0
test al, al
je 0x4b4baf
push dword [esp + 0x20]
call fcn.004afd79
add esp, 4
mov dword [edi + 0x28], eax
test eax, eax
je 0x4b4bcd
lea esi, [esp + 0x50]
lea ecx, [esp + 0x20]
push esi
call fcn.004b46b0
mov ecx, edi
push esi
call fcn.004b43b0
xor edi, edi
jmp 0x4b4bf0
call dword [0x58b268]
mov ecx, dword [esi + 0x10]
mov dword [ecx], eax
push 0
push dword [esp + 0x24]
call dword [0x58b43c]
mov edi, 0x17
jmp 0x4b4bf0
call dword [0x58b268]
mov ecx, dword [esi + 0x10]
mov dword [ecx], eax
push 0
push dword [esp + 0x24]
call dword [0x58b43c]
mov edi, 0x2b
jmp 0x4b4bf0
mov edi, 0x15
lea ecx, [esp + 0x20]
call fcn.004b44e0
test ebx, ebx
je 0x4b4c06
push ebx
call fcn.00525b50
add esp, 4
lea ecx, [ebp + 0x10]
push 0
call fcn.004b4f56
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.0050f421
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14