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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x4ab09c]
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.0046098d
pop ecx
mov ecx, dword [edi + 0x2c]
mov dword [edi + 0x2c], eax
test ecx, ecx
je 0x43fed5
push ecx
call fcn.0042657b
pop ecx
push esi
call fcn.0046098d
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 0x43ff28
mov dword [ebp - 0x2dc], eax
call fcn.00410910
cmp eax, 5
jge 0x43ff22
mov eax, dword [ebp - 0x2e0]
or eax, 0x1000000
mov ecx, eax
jmp 0x43ff28
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 0x43ff7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2d4]
push 0x12
pop ebx
mov dword [ecx], eax
jmp 0x4400e5
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00424ff0
cmp dword [edi + 0x1c], ebx
je 0x43ffc7
push dword [ebp - 0x2f8]
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x43ffc7
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 0x4400a7
mov eax, dword [edi + 0x14]
push eax
mov dword [ebp - 0x2d8], eax
call fcn.0040fe30
pop ecx
test al, al
je 0x440028
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 0x440020
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 0x4400a7
lea ecx, [edi + 0x14]
call fcn.00410380
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 0x440068
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 0x4400a7
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x2fc]
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.004250e0
test al, al
jne 0x4400aa
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 0x4400da
push dword [ebp - 0x2d8]
push dword [ebp - 0x2e8]
call fcn.00440105
pop ecx
pop ecx
mov dword [edi + 0x28], eax
lea ecx, [ebp - 0x2f8]
lea eax, [ebp - 0x31c]
push eax
call fcn.00425140
push eax
mov ecx, edi
call fcn.00425070
lea ecx, [ebp - 0x2f8]
call fcn.00425020
test esi, esi
je 0x4400f0
push esi
call fcn.0042657b
pop ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045248d
mov esp, ebp
pop ebp
ret 0x18