Function at 0x424100
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x28c], ecx
cmp dword [ebp + 8], 0
jne 0x424124
jmp 0x424393
mov ecx, dword [ebp - 0x28c]
call fcn.004244d0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.004243b0
mov dword [ebp - 0x218], eax
push 0x208
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.004c62e0
add esp, 0xc
push 0x4f90d4
push 0x208
lea edx, [ebp - 0x210]
push edx
call fcn.00424ad0
mov eax, dword [ebp + 8]
push eax
push 0x208
lea ecx, [ebp - 0x210]
push ecx
call fcn.00424ad0
push 0x4f90d8
push 0x208
lea edx, [ebp - 0x210]
push edx
call fcn.00424ad0
cmp dword [ebp + 0xc], 0
je 0x4241cf
push 0x4f90dc
push 0x208
lea eax, [ebp - 0x210]
push eax
call fcn.00424ad0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x208
lea edx, [ebp - 0x210]
push edx
call fcn.00424ad0
lea eax, [ebp - 0x214]
push eax
push 0x8b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x424393
lea ecx, [ebp - 0x21c]
push ecx
push 1
push 2
push 0
push 0
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x424386
mov byte [ebp - 0x224], 0
mov byte [ebp - 0x223], 0
mov byte [ebp - 0x222], 0
mov byte [ebp - 0x221], 0
mov byte [ebp - 0x220], 0
mov byte [ebp - 0x21f], 0x10
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x228]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x218]
push ecx
push 1
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x424379
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x22c], 0x20
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea eax, [ebp - 0x230]
push eax
push 0x19
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x42436c
push 0x44
push 0
lea edx, [ebp - 0x288]
push edx
call fcn.004c62e0
add esp, 0xc
mov dword [ebp - 0x288], 0x44
mov dword [ebp - 0x25c], 1
mov eax, 1
mov word [ebp - 0x258], ax
xor ecx, ecx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], ecx
lea edx, [ebp - 0x240]
push edx
lea eax, [ebp - 0x288]
push eax
push 0
push 0
push 0x400
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x42436c
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret 8