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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x492070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
push ecx
mov dword [ebp - 0x2d8], edi
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2d4], eax
call fcn.0045984b
pop ecx
mov ecx, dword [edi + 0x2c]
mov dword [edi + 0x2c], eax
test ecx, ecx
je 0x43a67b
push ecx
call fcn.0043717e
pop ecx
push esi
call fcn.0045984b
pop ecx
mov ecx, dword [ebp - 0x2e4]
xor ebx, ebx
mov esi, eax
mov edx, 0x40c
mov eax, 0x8040c
cmp dword [ecx + 0x44], ebx
cmove eax, edx
mov ecx, eax
mov dword [ebp - 0x2e0], eax
cmp dword [edi + 0x1c], ebx
je 0x43a6ce
mov dword [ebp - 0x2dc], eax
call fcn.00426d40
cmp eax, 5
jge 0x43a6c8
mov eax, dword [ebp - 0x2e0]
or eax, 0x1000000
mov ecx, eax
jmp 0x43a6ce
mov ecx, dword [ebp - 0x2dc]
xor eax, eax
lea edi, [ebp - 0x30c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30c]
mov edi, dword [ebp - 0x2d8]
push eax
push dword [ebp - 0x2e4]
movzx eax, byte [ebp + 0x10]
push ebx
push ebx
push ecx
push eax
push ebx
push ebx
push esi
push dword [ebp - 0x2e8]
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x43a721
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2d4]
push 0x12
pop ebx
mov dword [ecx], eax
jmp 0x43a88b
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00436590
cmp dword [edi + 0x1c], ebx
je 0x43a76d
push dword [ebp - 0x2f8]
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x43a76d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2d4]
push ebx
push dword [ebp - 0x2f8]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x14
jmp 0x43a84d
mov eax, dword [edi + 0x14]
push eax
mov dword [ebp - 0x2d8], eax
call fcn.004223c0
pop ecx
test al, al
je 0x43a7ce
mov eax, dword [ebp - 0x2f4]
push dword [ebp - 0x2d8]
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x43a7c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2d4]
push ebx
push dword [ebp - 0x2f8]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x15
jmp 0x43a84d
lea ecx, [edi + 0x14]
call fcn.00422570
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d0], 0x1003f
push eax
push dword [ebp - 0x2f4]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x43a80e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2d4]
push ebx
push dword [ebp - 0x2f8]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x16
jmp 0x43a84d
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x2fc]
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.00436680
test al, al
jne 0x43a850
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2d4]
push ebx
push dword [ebp - 0x2f8]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x17
pop ebx
jmp 0x43a880
push dword [ebp - 0x2d8]
push dword [ebp - 0x2e8]
call fcn.0043a8ab
pop ecx
pop ecx
mov dword [edi + 0x28], eax
lea ecx, [ebp - 0x2f8]
lea eax, [ebp - 0x31c]
push eax
call fcn.004366e0
push eax
mov ecx, edi
call fcn.00436610
lea ecx, [ebp - 0x2f8]
call fcn.004365c0
test esi, esi
je 0x43a896
push esi
call fcn.0043717e
pop ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044e44e
mov esp, ebp
pop ebp
ret 0x18