Function at 0x403094
Capabilities:
Create process on windows
Create thread
Terminate process

Disassembly:
push 0x184
push 0x401410
call fcn.00401637
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x38], esi
xor edi, edi
inc edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x40], ebx
cmp ebx, esi
je 0x40328e
push 0x44
pop edi
push edi
push esi
lea eax, [ebp - 0x90]
push eax
call fcn.0040384d
mov dword [ebp - 0x90], edi
mov word [ebp - 0x60], si
mov dword [ebp - 0x64], 0x181
mov dword [ebp - 0x50], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x3c], esi
je 0x403125
push 0x104
lea eax, [ebp - 0x194]
push eax
call fcn.00403734
test eax, eax
je 0x403125
mov dword [ebp - 0x24], 4
jmp 0x403133
push 1
lea eax, [ebp - 0x194]
push eax
call fcn.00402b08
cmp dword [ebp + 8], esi
je 0x4031ac
lea edi, [ebp + 8]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x20]
push eax
push 1
push esi
push esi
push 0x2000000
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x403179
mov dword [ebp - 0x44], esi
push 4
lea eax, [ebp - 0x44]
push eax
push 0xc
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x403179
lea edi, [ebp - 0x20]
mov dword [ebp - 0x48], edi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x90]
push eax
push esi
push esi
push dword [ebp - 0x24]
push 1
push esi
push esi
lea eax, [ebp - 0x194]
push eax
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x4031d1
push dword [ebp - 0x20]
call ebx
jmp 0x4031d1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x90]
push eax
push esi
push esi
push dword [ebp - 0x24]
push 1
push esi
push esi
lea eax, [ebp - 0x194]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x1c], eax
test byte [ebp - 0x24], 4
je 0x403251
cmp dword [ebp - 0x1c], esi
je 0x40321c
push esi
lea eax, [ebp - 0x194]
push eax
call fcn.00402b08
push esi
push dword [ebp - 0x34]
lea eax, [ebp - 0x194]
push eax
call fcn.00403683
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x403217
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
mov eax, dword [0x4050b4]
push dword [eax + 0x34]
push dword [ebp - 0x34]
call fcn.00403020
cmp dword [ebp - 0x1c], esi
jne 0x403256
cmp dword [ebp - 0x3c], esi
je 0x403251
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x34], esi
je 0x40323b
push esi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x34]
call ebx
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x30], esi
je 0x4030ff
push dword [ebp - 0x30]
call ebx
mov dword [ebp - 0x30], esi
jmp 0x4030ff
cmp dword [ebp - 0x1c], esi
je 0x403278
cmp dword [0x40506c], esi
jne 0x403278
lea eax, [ebp - 0x4c]
push eax
push esi
push dword [ebp - 0x34]
push fcn.00402965
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x38], eax
jmp 0x403294
push esi
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push dword [ebp - 0x34]
call fcn.00402965
mov dword [ebp - 0x34], esi
jmp 0x403294
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
call fcn.004032b0
mov eax, dword [ebp - 0x1c]
call fcn.0040173e
ret 4