Function at 0x43a9d0
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x58
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov al, byte [esp + 0x78]
mov ecx, dword [0x567b10]
xor ecx, esp
mov dword [esp + 0x54], ecx
imul ecx, ebx, 0x3e8
test al, al
mov eax, 0xffffffff
cmove eax, ecx
mov ecx, dword [esi]
mov dword [esp + 4], ecx
mov ecx, dword [esi + 4]
mov dword [esp], ecx
mov ebp, dword [esi + 8]
test edi, edi
je 0x43aa23
cmp byte [edi + 0x18], 0
je 0x43aa23
mov byte [edi + 0x18], 0
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x43aa63
test ebx, ebx
je 0x43ac20
push 1
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x43ac3d
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x43ab1b
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
lea ebx, [esp + 0x24]
push eax
push ecx
push edx
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x43ab1b
lea eax, [esp + 0x2c]
push 0x28
push eax
push dword [esi + 4]
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x43ab1b
mov eax, 0x64
mul dword [esp + 0xc]
imul ecx, dword [esp + 0x10], 0x64
add ecx, edx
push 0
push 0x3e8
push ecx
push eax
call fcn.005342c0
mov dword [esp + 8], eax
mov esi, edx
mov eax, 0x64
mul dword [esp + 0x14]
imul ecx, dword [esp + 0x18], 0x64
add ecx, edx
push 0
push 0x3e8
push ecx
push eax
call fcn.005342c0
mov ecx, dword [esp + 0x50]
shr ecx, 0xa
mov ebx, ebp
mov ebp, dword [esp + 8]
add eax, ebp
adc edx, esi
cmp byte [edi + 0x18], 0
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 8], ebp
mov ebp, ebx
mov dword [edi + 0xc], esi
mov esi, dword [esp + 0x70]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], 0
jne 0x43ab1b
mov byte [edi + 0x18], 1
lea eax, [esp + 0x24]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 6
je 0x43ab41
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x43ab7d
mov eax, dword [esp + 0x24]
test eax, eax
mov edi, dword [esp + 0x6c]
je 0x43ace5
mov ecx, eax
and ecx, 0xbfff0000
mov edx, eax
and edx, 0x7fffffff
test al, al
mov ebp, 1
cmovne ebp, edx
cmp ecx, 0x80000000
cmove ebp, eax
jmp 0x43ace5
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, 0xfffffffe
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x43ace1
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
sub esp, 0xc
mov al, byte [esp + 0x28]
mov byte [esp + 4], al
mov dword [esp + 8], str.Failed_getting_status_for_program
mov dword [esp], 0x21
lea edi, [esp + 0x38]
mov ecx, edi
call fcn.00404140
push edi
push esi
call fcn.0043b650
add esp, 8
mov eax, dword [esp + 0x40]
cmp eax, 0x10
mov edi, dword [esp + 0x6c]
jb 0x43ace5
mov ecx, dword [esp + 0x2c]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x43ac11
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x43ad09
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.00533ac0
add esp, 8
jmp 0x43ace5
mov edi, dword [esp + 0x6c]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x43acf4
mov ebx, dword [esp + 0x7c]
test ebx, ebx
je 0x43acbf
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
sub esp, 0xc
mov al, byte [esp + 0x30]
mov byte [esp + 4], al
mov dword [esp + 8], str.Failed_to_terminate_timed_out_program
mov dword [esp], 0x25
lea edi, [esp + 0x38]
mov ecx, edi
call fcn.00404140
push edi
push ebx
call fcn.0043b650
add esp, 8
mov eax, dword [esp + 0x40]
cmp eax, 0x10
jb 0x43acbf
mov ecx, dword [esp + 0x2c]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x43acb5
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x43ad09
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.00533ac0
add esp, 8
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x6c]
mov eax, dword [esp]
mov dword [edi + 4], eax
mov eax, dword [esp + 4]
mov dword [edi], eax
mov dword [edi + 8], 0xfffffffe
jmp 0x43acf4
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 4]
mov dword [edi], eax
mov eax, dword [esp]
mov dword [edi + 4], eax
mov dword [edi + 8], ebp
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00533ace
mov eax, edi
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3