Function at 0x50ec10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, dword fs:[0x18]
sub esp, 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [0x85016c]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0xb76
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.CreateJobObject_error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.0050e8b0
lea ecx, [ebp - 0x1c]
mov edx, str.wait
mov eax, 0xb78
call fcn.0050e8d0
mov eax, dword [ebp - 0x1c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [0x850164]
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0xb7a
mov eax, dword [edi + 0x34]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], str.AssignProcessToJobObject_error__lu_n
call fcn.0050e8b0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0xffffffff
call dword [0x850150]
sub esp, 0x10
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0xb7d
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.CreateIoCompletionPort_error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.0050e8b0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
mov dword [esp], ebx
mov dword [esp + 0xc], 8
mov dword [esp + 8], eax
mov dword [esp + 4], 7
call dword [0x850154]
sub esp, 0x10
mov dword [ebp - 0x38], eax
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0xb82
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.SetInformationJobObject_error__lu_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x38]
mov dword [esp], edx
call fcn.0050e8b0
lea ecx, [ebp - 0x2c]
mov edx, str.wait
mov eax, 0xb84
call fcn.0050e8d0
mov eax, dword [ebp - 0x2c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [0x850164]
sub esp, 8
mov dword [ebp - 0x38], eax
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0xb87
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.AssignProcessToJobObject_error__lu_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x38]
mov dword [esp], edx
call fcn.0050e8b0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x14]
mov edx, esi
mov dword [esp], ebx
mov ecx, 6
mov dword [esp + 4], eax
mov eax, 0xb89
call fcn.0050e9a0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x24]
mov edx, esi
mov dword [esp], ebx
mov ecx, 6
mov dword [esp + 4], eax
mov eax, 0xb8a
call fcn.0050e9a0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x2c]
mov edi, dword [sym.imp.kernel32.dll_TerminateProcess]
mov dword [esp], eax
call edi
sub esp, 8
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0xb8d
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.0057d980
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x24]
mov edx, esi
mov dword [esp], ebx
mov ecx, 7
mov dword [esp + 4], eax
mov eax, 0xb8f
call fcn.0050e9a0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call edi
sub esp, 8
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0xb91
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.0057d980
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x18]
sub esp, 4
mov dword [esp], eax
call edi
mov edx, esi
mov ecx, 7
sub esp, 4
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, 0xb95
call fcn.0050e9a0
mov dword [esp], ebx
mov edx, esi
mov ecx, 4
mov dword [esp + 8], 0x64
mov eax, 0xb96
mov dword [esp + 4], 0
call fcn.0050e9a0
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x28]
sub esp, 4
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], ebx
call edi
sub esp, 4
mov dword [esp], esi
call edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret