Function at 0x426730
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x47a42c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x47bc68], 0
je 0x4269f9
push 0
push str.notify_reboot
push 1
push 0xdd3
push 0x460280
call fcn.00418730
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0042b800
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004191e0
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.0042b800
add esp, 0x34
lea eax, [ebp - 0x41c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4269a2
push ebx
push esi
push edi
push 0x412
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0042b800
push str.FortiTray.exe
lea eax, [ebp - 0x210]
push eax
push str.__s_s____reboot
lea eax, [ebp - 0x830]
push 0x208
push eax
call fcn.0041aa20
push 0
lea eax, [ebp - 0x830]
push eax
push 1
push 0xddd
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexe_setupexe_setupexe.cpp
call fcn.00418a50
push 0x100
lea eax, [ebp - 0xa30]
push 0
push eax
call fcn.0042b800
add esp, 0x40
lea eax, [ebp - 0x930]
push 0x100
push 0
push eax
call fcn.0042b800
push 0
lea eax, [ebp - 0xa30]
push 0x40
push eax
call fcn.00415da0
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x4269b0
xor esi, esi
xor edi, edi
test ebx, ebx
jle 0x426984
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp + edi*4 - 0xa30]
call fcn.004252b0
add esp, 0xc
test eax, eax
je 0x42688b
mov dword [ebp + esi*4 - 0x930], eax
inc esi
inc edi
cmp edi, ebx
jl 0x426862
test esi, esi
jle 0x426984
push 0
push str.wait_for_a_user_response
push 1
push 0xdf9
push 0x460280
call fcn.00418730
add esp, 0x14
lea eax, [ebp - 0x930]
push 0xffffffffffffffff
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, eax
push edi
push str.got_a_user_response__d
push 1
push 0xdfb
push 0x460280
call fcn.00418730
add esp, 0x14
cmp edi, esi
jae 0x426984
lea eax, [ebp - 0xa34]
mov dword [ebp - 0xa34], 0
push eax
push dword [ebp + edi*4 - 0x930]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x426984
push dword [ebp - 0xa34]
push str.got_user_response__d
push 1
push 0xe03
push 0x460280
call fcn.00418730
mov ebx, dword [ebp - 0xa34]
add esp, 0x14
xor edi, edi
test esi, esi
jle 0x42697c
nop word [eax + eax]
mov eax, dword [ebp + edi*4 - 0x930]
test eax, eax
je 0x426977
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42696a
push 0
push dword [ebp + edi*4 - 0x930]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp + edi*4 - 0x930]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, esi
jl 0x426940
cmp ebx, 0xbc2
je 0x4269b0
push 0
push str.response___ERROR_SUCCESS_REBOOT_REQUIRED
push 1
push 0xe1b
push 0x460280
call fcn.00418730
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428a27
mov esp, ebp
pop ebp
ret
push 0
push str.response__ERROR_SUCCESS_REBOOT_REQUIRED
push 1
push 0xe15
push 0x460280
call fcn.00418730
push 0
push str.ERROR_SUCCESS_REBOOT_REQUIRED
push 1
push 0xe16
push 0x460280
call fcn.00418730
add esp, 0x28
call fcn.00426bb0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428a27
mov esp, ebp
pop ebp
ret
call fcn.00426bb0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428a27
mov esp, ebp
pop ebp
ret