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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x4f2d80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x14]
push edi
push eax
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 0x2f0], edx
call fcn.00495244
mov edi, eax
mov eax, dword [esi + 0x2c]
add esp, 4
cmp eax, edi
je 0x444788
test eax, eax
je 0x444785
push eax
call fcn.00493675
add esp, 4
mov dword [esi + 0x2c], edi
push ebx
call fcn.00495244
mov edi, eax
mov eax, dword [ebp - 0x2d4]
add esp, 4
cmp dword [eax + 0x44], 0
mov dword [ebp - 0x2d8], 0x40c
je 0x4447b3
mov dword [ebp - 0x2d8], 0x8040c
cmp dword [esi + 0x1c], 0
je 0x4447cd
call fcn.0043aec0
cmp eax, 5
jge 0x4447cd
or dword [ebp - 0x2d8], 0x1000000
mov edx, dword [ebp - 0x2d4]
lea ecx, [ebp - 0x300]
push ecx
mov ecx, dword [ebp - 0x2d8]
push edx
movzx edx, byte [ebp + 0x10]
push 0
push 0
push ecx
mov ecx, dword [ebp - 0x2ec]
push edx
push 0
xor eax, eax
push 0
push edi
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], eax
mov eax, dword [esi + 0x10]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x444849
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test edi, edi
je 0x444834
push edi
call fcn.00493675
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049269f
mov esp, ebp
pop ebp
ret 0x14
lea edx, [ebp - 0x300]
push edx
lea ecx, [ebp - 0x2e8]
call fcn.00448010
lea ecx, [esi + 0x10]
call fcn.0043e090
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4448a0
mov ecx, dword [ebp - 0x2e8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4448a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x2e8]
push 0
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x2e8]
call fcn.00447df0
jmp 0x444827
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4448f9
cmp eax, 0xffffffff
je 0x4448f9
mov ecx, dword [ebp - 0x2e4]
push eax
lea edx, [ebp - 0x2d4]
push edx
mov dword [ebp - 0x2d4], ecx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x4448f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x2e8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x2e8]
call fcn.00447df0
jmp 0x444827
lea ecx, [esi + 0x14]
call fcn.0043e090
mov edx, dword [ebp - 0x2e4]
lea ecx, [ebp - 0x2d0]
push ecx
push edx
mov dword [ebp - 0x2d0], 0x1003f
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x444942
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x2e8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x2e8]
call fcn.00447df0
jmp 0x444827
mov ebx, dword [ebp - 0x220]
lea ecx, [ebp - 0x2e8]
push ecx
mov ecx, dword [ebp - 0x2f0]
call fcn.00447ed0
test al, al
jne 0x444985
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x2e8]
push 0
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x2e8]
call fcn.00447df0
jmp 0x444827
mov eax, dword [ebp - 0x2ec]
push ebx
push eax
call fcn.00444610
add esp, 8
lea ecx, [ebp - 0x310]
push ecx
lea ecx, [ebp - 0x2e8]
mov dword [esi + 0x28], eax
call fcn.00447c40
push eax
mov ecx, esi
call fcn.00447e20
lea ecx, [ebp - 0x2e8]
call fcn.00447df0
test edi, edi
je 0x4449ca
push edi
call fcn.00493675
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0049269f
mov esp, ebp
pop ebp
ret 0x14