Function at 0x40329c
Capabilities:
Terminate process

Disassembly:
jmp 0x4b0bc0
sub esp, 0x7c
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov ebx, dword [esp + 0x84]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x8c]
push esi
mov esi, dword [esp + 0xa0]
push edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
cmp byte [esp + 0x9c], cl
je 0x4b0c06
or ecx, 0xffffffff
jmp 0x4b0c17
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4b0c17
imul ecx, eax, 0x3e8
movq xmm0, qword [ebp]
mov eax, dword [ebp + 8]
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x1c], eax
test esi, esi
je 0x4b0c37
cmp byte [esi + 0x18], 0
je 0x4b0c37
mov byte [esi + 0x18], 0
push ecx
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4b0d18
cmp dword [esp + 0x98], 0
je 0x4b0e97
push 1
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4b0d04
test edi, edi
je 0x4b0cd5
push 0x25
push str.Failed_to_terminate_timed_out_program
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0xf
call fcn.00408698
lea eax, [esp + 0x48]
push eax
push edi
call fcn.004152bc
mov edx, dword [esp + 0x64]
add esp, 8
cmp edx, 0x10
jb 0x4b0cd5
mov ecx, dword [esp + 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b0ccb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0e91
push edx
push ecx
call fcn.004036ca
add esp, 8
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movq xmm0, qword [esp + 0x20]
mov eax, ebx
pop edi
pop esi
movq qword [ebx], xmm0
pop ebp
mov dword [ebx + 8], 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004087b5
add esp, 0x7c
ret
push 0xffffffffffffffff
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4b0ded
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x4b0ded
push 0x28
lea eax, [esp + 0x64]
push eax
push dword [ebp + 4]
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x4b0ded
push 0
push 0x64
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.0040646a
push 0
push 0x3e8
push edx
push eax
call fcn.00413eb7
push 0
push 0x64
push dword [esp + 0x3c]
mov esi, eax
mov edi, edx
push dword [esp + 0x3c]
call fcn.0040646a
push 0
push 0x3e8
push edx
push eax
call fcn.00413eb7
add eax, esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x84]
adc edx, edi
mov edi, dword [esp + 0x14]
shr eax, 0xa
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], esi
movups xmm0, xmmword [esp + 0x48]
cmp byte [eax + 0x18], 0
mov dword [esp + 0x5c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [esp + 0x58]
movq qword [eax + 0x10], xmm0
jne 0x4b0ded
mov byte [eax + 0x18], 1
lea eax, [esp + 0x18]
push eax
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 6
je 0x4b0e15
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 0
jne 0x4b0ec2
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x4b0cde
push 0x21
push str.Failed_getting_status_for_program
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xf
call fcn.00408698
lea eax, [esp + 0x48]
push eax
push edi
call fcn.004152bc
mov edx, dword [esp + 0x64]
add esp, 8
cmp edx, 0x10
jb 0x4b0cde
mov ecx, dword [esp + 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b0eb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b0eb3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, ebx
call fcn.004097a5
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004087b5
add esp, 0x7c
ret
push edx
push ecx
call fcn.004036ca
add esp, 8
jmp 0x4b0cde
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4b0ef0
mov eax, ecx
and eax, 0xbfff0000
cmp eax, 0x80000000
jne 0x4b0edc
mov eax, ecx
jmp 0x4b0ef4
test cl, cl
je 0x4b0ee9
mov eax, ecx
and eax, 0x7fffffff
jmp 0x4b0ef4
mov eax, 1
jmp 0x4b0ef4
mov eax, dword [esp + 0x1c]
movq xmm0, qword [esp + 0x20]
mov ecx, dword [esp + 0x88]
pop edi
pop esi
movq qword [ebx], xmm0
mov dword [ebx + 8], eax
mov eax, ebx
pop ebp
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x7c
ret