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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
call fcn.00473d7e
pop ecx
mov ecx, dword [edi + 0x2c]
mov dword [edi + 0x2c], eax
test ecx, ecx
je 0x4473e2
push ecx
call fcn.0040b4dc
pop ecx
push dword [ebp + 0xc]
call fcn.00473d7e
pop ecx
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov eax, 0x8040c
mov edx, 0x40c
cmp dword [ecx + 0x44], ebx
cmove eax, edx
mov ecx, eax
mov dword [ebp - 4], eax
cmp dword [edi + 0x1c], ebx
je 0x447426
mov dword [ebp + 0xc], eax
call fcn.004150e0
cmp eax, 5
jge 0x447423
mov eax, dword [ebp - 4]
or eax, 0x1000000
mov ecx, eax
jmp 0x447426
mov ecx, dword [ebp + 0xc]
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 8]
push eax
push dword [ebp + 0x14]
movzx eax, byte [ebp + 0x10]
push ebx
push ebx
push ecx
push eax
push ebx
push ebx
push esi
push dword [ebp + 8]
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x447467
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
push 0x12
pop ebx
mov dword [ecx], eax
jmp 0x447578
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004200f0
cmp dword [edi + 0x1c], ebx
je 0x4474a4
push dword [ebp - 0x18]
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4474a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
push ebx
push dword [ebp - 0x18]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x14
jmp 0x44756f
lea ecx, [edi + 0x14]
cmp dword [ecx], ebx
je 0x4474ea
cmp dword [ecx], 0xffffffff
je 0x4474ea
mov eax, dword [ebp - 0x14]
push dword [ecx]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x4474e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
push ebx
push dword [ebp - 0x18]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x15
jmp 0x44756f
lea ecx, [edi + 0x14]
call fcn.004096e2
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x18]
call fcn.00420010
test al, al
je 0x447558
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x14]
lea edx, [edx + 4]
call fcn.00420010
test al, al
je 0x447558
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x18]
call fcn.00443db5
mov dword [edi + 0x28], eax
test eax, eax
jne 0x447542
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
push ebx
push dword [ebp - 0x18]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x2b
jmp 0x44756f
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.004203c0
push eax
mov ecx, edi
call fcn.00420270
jmp 0x447570
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
push ebx
push dword [ebp - 0x18]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x17
pop ebx
lea ecx, [ebp - 0x18]
call fcn.00420120
test esi, esi
je 0x447583
push esi
call fcn.0040b4dc
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x18