Function at 0x418a90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cab6
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x55c640]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x10c], edi
mov esi, ecx
push 0xc0
lea eax, [ebp - 0xf0]
push 0
push eax
call fcn.00489f10
add esp, 8
lea ecx, [ebp - 0xf0]
call fcn.0044f4e0
push ecx
push 8
push str._error_log.txt
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0
call fcn.00452910
test eax, eax
lea ecx, [ebp - 0xf0]
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
jne 0x418b29
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x418b38
or eax, 4
jmp 0x418b38
add ecx, eax
mov edx, 4
xor eax, eax
cmp dword [ecx + 0x38], eax
cmove eax, edx
push 0
push eax
call fcn.00407930
lea ecx, [ebp - 0x108]
call fcn.0040b120
push esi
push ecx
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.00456a00
mov edx, str.__start_kill_process
mov ecx, eax
call fcn.00456c60
add esp, 4
mov ecx, eax
call fcn.0044ccc0
push eax
call fcn.00456f10
add esp, 4
cmp dword [ebp - 0xf4], 0x10
jb 0x418b94
push dword [ebp - 0x108]
call fcn.00485250
add esp, 4
xor bl, bl
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], bl
mov byte [ebp - 4], 2
test esi, esi
je 0x418ef9
test edi, edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
jne 0x418e13
push esi
push 1
push 0x1fffff
call edi
mov edi, eax
lea ecx, [ebp - 0x108]
test edi, edi
je 0x418df1
mov edx, esi
call fcn.004187a0
mov ebx, eax
lea eax, [ebp - 0x28]
cmp eax, ebx
je 0x418c17
cmp dword [ebp - 0x14], 0x10
jb 0x418bfc
push dword [ebp - 0x28]
call fcn.00485250
add esp, 4
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00450eb0
cmp dword [ebp - 0xf4], 0x10
jb 0x418c2e
push dword [ebp - 0x108]
call fcn.00485250
add esp, 4
lea ecx, [ebp - 0x108]
call fcn.0040b120
push esi
push ecx
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.00456a00
mov edx, str.__kill_process_in_kill
mov ecx, eax
call fcn.00456c60
add esp, 4
mov ecx, eax
call fcn.0044ccc0
mov edx, 0x541108
mov ecx, eax
call fcn.00456c60
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00456a00
push eax
call fcn.00456f10
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0xf4], 0x10
jb 0x418c9c
push dword [ebp - 0x108]
call fcn.00485250
add esp, 4
mov edx, 0x53e536
lea ecx, [ebp - 0x28]
call fcn.00457350
test al, al
je 0x418d01
lea ecx, [ebp - 0x108]
call fcn.0040b120
push esi
push ecx
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe0]
call fcn.00456a00
mov edx, str.__kill_process_not_findc
mov ecx, eax
call fcn.00456c60
add esp, 4
mov ecx, eax
call fcn.0044ccc0
push eax
call fcn.00456f10
add esp, 4
lea ecx, [ebp - 0x108]
call sym.Dayz_updater.exe_public:_void___thiscall_pbo::signature::destructor_void_
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x418f4e
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
setne bl
call eax
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, esi
lea ecx, [ebp - 0x108]
call fcn.004187a0
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.004579f0
cmp dword [ebp - 0xf4], 0x10
mov bh, al
jb 0x418d64
push dword [ebp - 0x108]
call fcn.00485250
add esp, 4
test bh, bh
je 0x418f50
push esi
push 1
push 0x1fffff
call edi
lea ecx, [ebp - 0x108]
mov edi, eax
call fcn.0040b120
test edi, edi
je 0x418eb8
push esi
push ecx
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe0]
call fcn.00456a00
mov edx, str.__kill_process_error_kill
mov ecx, eax
call fcn.00456c60
add esp, 4
mov ecx, eax
call fcn.0044ccc0
push eax
call fcn.00456f10
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call sym.Dayz_updater.exe_public:_void___thiscall_pbo::signature::destructor_void_
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10c], 0
jne 0x418f50
mov edx, 1
mov ecx, esi
call fcn.00418a90
jmp 0x418f50
call fcn.0040b120
push esi
push ecx
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe0]
call fcn.00456a00
mov edx, str.__kill_process_not_find
jmp 0x418f1d
cmp dword [ebp - 0x10c], 1
jne 0x418d29
push esi
push 1
push 0x1fffff
call edi
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0x108]
test eax, eax
je 0x418e99
call fcn.0040b120
push esi
push ecx
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe0]
call fcn.00456a00
mov edx, str.__kill_process_no_ready_cmd_kill
mov ecx, eax
call fcn.00456c60
add esp, 4
mov ecx, eax
call fcn.0044ccc0
push eax
call fcn.00456f10
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call sym.Dayz_updater.exe_public:_void___thiscall_pbo::signature::destructor_void_
mov ecx, esi
call fcn.00418470
push dword [ebp - 0x110]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
jmp 0x418d29
call fcn.0040b120
push esi
push ecx
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe0]
call fcn.00456a00
mov edx, str.__kill_process_not_find_bat
jmp 0x418ed0
push esi
push ecx
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe0]
call fcn.00456a00
mov edx, str.__kill_process_ready_kill
mov ecx, eax
call fcn.00456c60
add esp, 4
mov ecx, eax
call fcn.0044ccc0
push eax
call fcn.00456f10
add esp, 4
lea ecx, [ebp - 0x108]
call sym.Dayz_updater.exe_public:_void___thiscall_pbo::signature::destructor_void_
mov bl, 1
jmp 0x418f50
lea ecx, [ebp - 0x108]
call fcn.0040b120
push 0
push ecx
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe0]
call fcn.00456a00
mov edx, str.__kill_process_not_id
mov ecx, eax
call fcn.00456c60
add esp, 4
mov ecx, eax
call fcn.0044ccc0
push eax
call fcn.00456f10
add esp, 4
cmp dword [ebp - 0xf4], 0x10
jb 0x418f4e
push dword [ebp - 0x108]
call fcn.00485250
add esp, 4
xor bl, bl
cmp dword [ebp - 0x14], 0x10
jb 0x418f61
push dword [ebp - 0x28]
call fcn.00485250
add esp, 4
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
call fcn.0044f600
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], vtable.std::ios_base.0
push eax
call fcn.0046ca3b
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484516
mov esp, ebp
pop ebp
ret