Function at 0x405960
Capabilities:
Copy file
Create directory
Create process on windows
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x10f0
call fcn.0041d490
mov esi, dword [ebp + 8]
mov eax, dword [0x431014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp esi, 2
jg 0x4059ad
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40623c
push str.Not_enough_command_line_arguments_to_execute_a_service_command
jmp 0x405b38
mov edi, dword [ebp + 0xc]
lea ebx, [ebp - 0x652]
push 0x20a
push 0
push ebx
call fcn.0040c4c0
add esp, 0xc
push ebx
call fcn.00424bb0
add esp, 4
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov edx, dword [edx + ecx*4]
mov ecx, dword [0x4329d4]
mov edx, dword [edx + 4]
test eax, eax
je 0x405a0f
cmp ecx, edx
jg 0x4062c2
push ebx
push dword [edi + 8]
push str.Executing_service_command__ls__ID:__ls
push 0x4327c8
call fcn.004085c0
add esp, 0x10
jmp 0x405a2c
cmp ecx, edx
jg 0x406348
push dword [edi + 8]
push str.Executing_service_command__ls
push 0x4327c8
call fcn.004085c0
add esp, 0xc
push str.software_update
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x405ac5
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x406305
push dword [edi + 8]
push str.Service_command_not_recognized:__ls.
push 0x4327c8
call fcn.004086b0
add esp, 0xc
xor esi, esi
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40627f
test esi, esi
mov eax, str.Failure
mov ecx, str.Success
cmove ecx, eax
push ecx
push dword [edi + 4]
push str.service_command__ls_complete_with_result:__ls.
push 0x4327c8
call fcn.004085c0
add esp, 0x10
jmp 0x405b47
cmp esi, 5
jb 0x405b12
push dword [edi + 0x10]
call fcn.00408a40
add esp, 4
test al, al
je 0x405b12
mov ebx, dword [edi + 0x10]
push ebx
call fcn.0040a09e
add esp, 4
cmp eax, 9
ja 0x405b5e
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40663d
push str.The_patch_directory_path_length_is_not_valid_for_this_application.
jmp 0x405b38
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40638b
push str.The_patch_directory_path_is_not_valid_for_this_application.
push 0x4327c8
call fcn.004086b0
add esp, 8
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ac85
mov eax, esi
add esp, 0x10f0
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebx + eax*2]
add eax, 0xffffffec
push 0xa
push str.updates0
push eax
call fcn.00411f1c
add esp, 0xc
test eax, eax
je 0x405ba0
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x406680
push str.The_patch_directory_path_subdirectory_is_not_valid_for_this_application.
jmp 0x405b38
push dword [edi + 0x10]
call fcn.00407cc0
add esp, 4
push dword [edi + 0x10]
call fcn.00407bc0
add esp, 4
test eax, eax
je 0x405c92
cmp esi, 6
jb 0x405c10
push dword [edi + 0x14]
call fcn.00408a40
add esp, 4
test al, al
je 0x405c10
push dword [edi + 0x14]
call fcn.00408730
add esp, 4
test al, al
je 0x405c10
lea eax, [esi - 3]
mov dword [ebp - 0x10e4], eax
cmp eax, 4
jne 0x405cbd
push 0x42c5e0
push dword [edi + 0x18]
call fcn.00413bc7
add esp, 8
test eax, eax
jne 0x405cc3
jmp 0x405cdb
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x406713
push str.The_install_directory_path_is_not_valid_for_this_application.
push 0x4327c8
call fcn.004086b0
add esp, 8
push 0x37
push dword [edi + 0x10]
call fcn.00408280
add esp, 8
xor esi, esi
test eax, eax
jne 0x405b47
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x406892
push str.Could_not_write_update.status_for_previous_failure.
push 0x4327c8
call fcn.004086b0
add esp, 8
jmp 0x405b47
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40684f
push str.Unable_to_write_to_secure_ID_file.
jmp 0x405b38
jb 0x405eab
push str._replace
push dword [edi + 0x18]
call fcn.0040c6be
add esp, 8
test eax, eax
je 0x405e17
lea ebx, [edi + 0xc]
lea eax, [ebp - 0x85c]
push 0x20a
push 0
push eax
call fcn.0040c4c0
add esp, 0xc
mov ecx, dword [ebp - 0x10e4]
mov dword [ebp - 0x10e8], ebx
mov edx, ebx
lea eax, [ebp - 0x85c]
push eax
call fcn.00404e40
add esp, 4
test eax, eax
je 0x405ddd
call fcn.00408470
test eax, eax
jne 0x405f31
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x85c]
push eax
call fcn.004013f0
add esp, 8
test eax, eax
je 0x405ee5
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x406fe4
lea ebx, [ebp - 0x21c]
push ebx
push str.Checking_for_Maintenance_Service_registry._key:__ls
push 0x4327c8
call fcn.004085c0
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x448]
mov dword [ecx], eax
push ecx
push 0x20119
push eax
push ebx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x405f25
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40706a
push str.The_maintenance_service_registry_key_does_not_exist.
push 0x4327c8
call fcn.004086b0
add esp, 8
push 0x39
jmp 0x405ee7
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x406fa1
push str.Could_not_get_the_installation_directory
push 0x4327c8
call fcn.004086b0
add esp, 8
push 0x21
jmp 0x405ee7
mov ebx, dword [edi + 0x18]
movzx eax, word [ebx]
test ax, ax
je 0x405cdb
add ebx, 2
movzx eax, ax
push eax
call fcn.0041358d
add esp, 4
test eax, eax
jne 0x405e1a
cmp esi, 7
jl 0x405eab
push dword [edi + 0x18]
call fcn.00408a40
add esp, 4
test al, al
je 0x405eab
push 0x104
push dword [edi + 0x14]
push dword [edi + 0x18]
call fcn.00411f1c
add esp, 0xc
test eax, eax
je 0x405cdb
cmp esi, 8
jae 0x406027
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4071e4
push str.Installation_directory_and_working_directory_must_be_the_same_for_non_staged_updates._Exiting.
push 0x4327c8
call fcn.004086b0
add esp, 8
push 0x36
jmp 0x405c45
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x406f5e
push str.The_working_directory_path_is_not_valid_for_this_application.
push 0x4327c8
call fcn.004086b0
add esp, 8
push 0x38
jmp 0x405c45
push 0x35
push dword [edi + 0x10]
call fcn.00408280
add esp, 8
test eax, eax
jne 0x405b45
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x407027
push str.Could_not_write_update.status_for_previous_failure.
jmp 0x405b38
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ebx, [ebp - 0xa66]
push 0x20a
push 0
push ebx
call fcn.0040c4c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x85c]
push eax
push ebx
call fcn.0040a1ef
add esp, 0xc
push str.updater.exe
push ebx
call fcn.00424b70
add esp, 8
test eax, eax
jne 0x405fa1
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40715e
push str.Install_directory_updater_could_not_be_determined.
push 0x4327c8
call fcn.004086b0
add esp, 8
lea ecx, [ebp - 0xa66]
lea edx, [ebp - 0x85c]
push dword [edi + 0x10]
call fcn.00404f40
add esp, 4
mov byte [ebp - 0x10f8], al
lea eax, [ebp - 0xc70]
push 0x20a
push 0
mov ebx, eax
push eax
call fcn.0040c4c0
add esp, 0xc
cmp byte [ebp - 0x10f8], 0
je 0x40610b
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4060d0
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x406207
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
mov esi, str.Couldnt_remove_file_spec_when_attempting_to_use_a_secure_updater_path.____lu_
jmp 0x4060ea
push 0x42c5e0
push dword [edi + 0x1c]
call fcn.00413bc7
add esp, 8
test eax, eax
je 0x406053
push str._replace
push dword [edi + 0x1c]
call fcn.0040c6be
add esp, 8
test eax, eax
je 0x405e71
mov eax, dword [edi + 0x18]
sub esp, 0x10
mov dword [esp + 0xc], eax
lea ebx, [ebp - 0x21c]
mov dword [esp], ebx
call fcn.00407900
add esp, 0x10
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4061c6
push 0x104
push dword [edi + 0x14]
push ebx
call fcn.00411f1c
add esp, 0xc
test eax, eax
je 0x405cdb
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x407227
push str.The_apply_to_directory_must_be_the_same_as_or_a_child_of_the_installation_directory__Exiting.
push 0x4327c8
call fcn.004086b0
add esp, 8
push 0x34
jmp 0x405ee7
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
mov esi, str.Could_not_obtain_module_filename_when_attempting_to_use_a_secure_updater_path.____lu_
cmp eax, dword [ecx + 4]
jg 0x4066d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x4327c8
call fcn.004086b0
add esp, 0xc
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40711b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_copy_path_to_secure_location.____lu_
push 0x4327c8
call fcn.004086b0
add esp, 0xc
push 0x31
push dword [edi + 0x10]
call fcn.00408280
add esp, 8
xor esi, esi
test eax, eax
jne 0x40618b
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4071a1
push str.Could_not_write_update.status_could_not_copy_updater_error
push 0x4327c8
call fcn.004086b0
add esp, 8
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4070d8
push dword [edi + 8]
push str.Service_command__ls_complete.
push 0x4327c8
call fcn.004085c0
add esp, 0xc
jmp 0x405a7a
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40726a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Couldnt_remove_file_spec_when_attempting_to_verify_the_working_directory_path.____lu_
push 0x4327c8
call fcn.004086b0
add esp, 0xc
push 0x47
jmp 0x405ee7
push 0x42c36a
push ebx
call fcn.00424b70
add esp, 8
test eax, eax
jne 0x4063ce
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
mov esi, str.Couldnt_append_file_spec_when_attempting_to_use_a_secure_updater_path.____lu_
jmp 0x4060ea
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4059a3
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x4059a3
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405a9b
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405a9b
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4059f7
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x4059f7
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405a63
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405a63
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405a17
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405a17
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405b33
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405b33
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.updater.exe
lea eax, [ebp - 0xc70]
push eax
call fcn.00424b70
add esp, 8
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov edx, dword [edx + ecx*4]
mov ecx, dword [0x4329d4]
mov edx, dword [edx + 4]
test eax, eax
je 0x4066c3
cmp ecx, edx
jg 0x4072ad
push ebx
lea eax, [ebp - 0xa66]
push eax
mov eax, dword [ebp - 0x10e8]
push dword [eax]
push str.Passed_in_path:__ls__ignored___Install_dir_has:__ls__Using_this_path_for_updating:__ls.
push 0x4327c8
call fcn.004085c0
add esp, 0x14
lea ecx, [ebp - 0xc70]
call fcn.004057d0
push 0
lea eax, [ebp - 0xc70]
push eax
lea eax, [ebp - 0xa66]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40610b
mov eax, dword [ebp - 0x10e8]
mov dword [eax], ebx
mov ecx, 0x20a
xor edx, edx
lea eax, [ebp - 0xe7a]
push ecx
push edx
push eax
call fcn.0040c4c0
add esp, 0xc
lea eax, [ebp - 0x1084]
mov ecx, 0x20a
push ecx
xor ecx, ecx
push ecx
push eax
call fcn.0040c4c0
add esp, 0xc
push str.updater.ini
push ebx
lea eax, [ebp - 0x1084]
push eax
call fcn.00407960
add esp, 0xc
test eax, eax
je 0x406538
push str.updater.ini
lea eax, [ebp - 0xa66]
push eax
lea eax, [ebp - 0xe7a]
push eax
call fcn.00407960
add esp, 0xc
test eax, eax
je 0x406538
push 0
lea eax, [ebp - 0x1084]
push eax
lea eax, [ebp - 0xe7a]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x406538
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4074c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1084]
push eax
lea eax, [ebp - 0xe7a]
push eax
push str.Could_not_copy_updater.ini_from:__ls_to__ls.____lu_
push 0x4327c8
call fcn.004086b0
add esp, 0x14
lea ebx, [ebp - 0x448]
push 0x20a
push 0
push ebx
call fcn.0040c4c0
add esp, 0xc
mov ecx, dword [ebp - 0x10e4]
mov edx, dword [ebp - 0x10e8]
push ebx
call fcn.00404e40
add esp, 4
test eax, eax
je 0x406756
mov ecx, dword [edi + 0xc]
lea edx, [ebp - 0x448]
push dword [edi + 0x10]
call fcn.00404f40
add esp, 4
mov ecx, dword [0x4329d4]
mov edx, dword [0x431bbc]
mov ebx, dword fs:[0x2c]
mov edx, dword [ebx + edx*4]
mov edx, dword [edx + 4]
test al, al
je 0x4067d8
cmp ecx, edx
jg 0x407333
push str.Starting_update_process_as_the_service_in_session_0.
push 0x4327c8
call fcn.004085c0
add esp, 8
xorps xmm0, xmm0
movups xmmword [ebp - 0x10c8], xmm0
movups xmmword [ebp - 0x10b8], xmm0
movups xmmword [ebp - 0x10a8], xmm0
movups xmmword [ebp - 0x1098], xmm0
movups xmmword [ebp - 0x10dc], xmm0
mov dword [ebp - 0x10cc], 0x44
mov dword [ebp - 0x10c4], str.winsta0Default
xor eax, eax
lea ecx, [ebp - 0x10e0]
push eax
push eax
push dword [ebp - 0x10e8]
mov ebx, dword [ebp - 0x10e4]
push ebx
push ecx
call fcn.00401070
add esp, 0x14
cmp ebx, 4
jne 0x4068d5
push 0x42c5e0
push dword [edi + 0x18]
call fcn.00413bc7
add esp, 8
test eax, eax
jne 0x4068da
jmp 0x40690c
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405b0b
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405b0b
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405b99
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405b99
mov esi, str.Couldnt_append_file_spec_when_attempting_to_use_a_secure_updater_path.____lu_
cmp ecx, edx
jle 0x4060f6
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4060f6
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x4060f6
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405c31
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405c31
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4072f0
push str.Could_not_get_the_installation_directory
push 0x4327c8
call fcn.004086b0
add esp, 8
push 0x21
push dword [edi + 0x10]
call fcn.00408280
add esp, 8
xor esi, esi
test eax, eax
jne 0x406f4e
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x407508
push str.Could_not_write_update.status_for_GetInstallationDir_failure.
push 0x4327c8
call fcn.004086b0
add esp, 8
jmp 0x406f4e
cmp ecx, edx
jg 0x407376
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_start_process_due_to_certificate_check_error_on_updater.exe._Updating_update.status.____lu_
push 0x4327c8
call fcn.004086b0
add esp, 0xc
push 0x1a
push dword [edi + 0x10]
call fcn.00408280
add esp, 8
xor esi, esi
test eax, eax
jne 0x406f4e
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40754b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_write_pending_state_to_update.status.____lu_
push 0x4327c8
call fcn.004086b0
add esp, 0xc
jmp 0x406f4e
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405cb3
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405cb3
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405c7b
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405c7b
cmp esi, 7
jl 0x40690c
push str._replace
push dword [edi + 0x18]
call fcn.0040c6be
add esp, 8
test eax, eax
jne 0x40690c
mov ebx, dword [edi + 0x18]
movzx eax, word [ebx]
test ax, ax
je 0x40690c
add ebx, 2
movzx eax, ax
push eax
call fcn.0041358d
add esp, 4
test eax, eax
jne 0x4068f1
mov dword [ebp - 0x10c4], 0x42c602
or byte [ebp - 0x10a0], 1
mov word [ebp - 0x109c], 0
push str.MOZ_USING_SERVICE1
call fcn.004115db
add esp, 4
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4073b9
push dword [ebp - 0x10e0]
push str.Starting_service_with_cmdline:__ls
push 0x4327c8
call fcn.004085c0
add esp, 0xc
mov eax, dword [ebp - 0x10e0]
mov ecx, dword [ebp - 0x10e8]
mov ecx, dword [ecx]
sub esp, 0x28
lea edx, [ebp - 0x10dc]
mov dword [esp + 0x24], edx
lea edx, [ebp - 0x10cc]
mov dword [esp + 0x20], edx
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
movaps xmm0, xmmword [0x429a60]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x10f8], eax
test eax, eax
je 0x406a3a
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4073fc
push str.Process_was_started..._waiting_on_result.
push 0x4327c8
call fcn.004085c0
add esp, 8
push 0xdbba0
push dword [ebp - 0x10dc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10fc], eax
cmp eax, 0x102
jne 0x406a93
push 1
push dword [ebp - 0x10dc]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x10f0], 0
mov dword [ebp - 0x10e4], 0
jmp 0x406b31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40758e
push ebx
push dword [ebp - 0x10e0]
mov eax, dword [ebp - 0x10e8]
push dword [eax]
push str.Could_not_create_process_as_current_user__updaterPath:__ls__cmdLine:__ls.____lu_
push 0x4327c8
call fcn.004086b0
add esp, 0x14
mov dword [ebp - 0x10e4], 0
jmp 0x406dc5
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x10dc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov edx, dword [edx + ecx*4]
mov ecx, dword [0x4329d4]
mov edx, dword [edx + 4]
test eax, eax
je 0x406b04
cmp ecx, edx
jg 0x40769a
push dword [ebp - 0x21c]
push str.Process_finished_with_return_code__lu.
push 0x4327c8
call fcn.004085c0
add esp, 0xc
xor eax, eax
cmp dword [ebp - 0x21c], 0
sete al
mov dword [ebp - 0x10e4], eax
mov dword [ebp - 0x10f0], 0
jmp 0x406b31
cmp ecx, edx
jg 0x407763
push str.Process_finished_but_could_not_obtain_return_code.
push 0x4327c8
call fcn.004086b0
add esp, 8
mov dword [ebp - 0x10e4], 0
xor eax, eax
inc eax
mov dword [ebp - 0x10f0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10dc]
call ebx
push dword [ebp - 0x10d8]
call ebx
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x10ec], eax
lea ebx, [ebp - 0x21c]
push 0x20a
push 0
push ebx
call fcn.0040c4c0
add esp, 0xc
push ebx
push str..status
push dword [ebp - 0x10ec]
call fcn.00407b40
add esp, 0xc
test eax, eax
je 0x406c14
sub esp, 0x1c
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
movaps xmm0, xmmword [0x429a70]
movups xmmword [esp + 4], xmm0
lea eax, [ebp - 0x21c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10ec], eax
cmp eax, 0xffffffff
je 0x406c4c
xorps xmm0, xmm0
lea eax, [ebp - 0x23c]
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax], xmm0
lea ecx, [ebp - 0x1088]
push 0
push ecx
push 0x20
push eax
push dword [ebp - 0x10ec]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406c74
mov eax, 0x6c707061
xor eax, dword [ebp - 0x23c]
mov ecx, 0x676e6979
xor ecx, dword [ebp - 0x238]
xor ebx, ebx
or ecx, eax
sete bl
xor eax, eax
inc eax
mov dword [ebp - 0x10f4], eax
jmp 0x406cb3
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x407657
push str.Could_not_get_path_for_the_secure_update_status_file
push 0x4327c8
call fcn.004086b0
add esp, 8
jmp 0x406dc5
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4076dd
push str.Could_not_open_update.status_file
jmp 0x406c9a
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4077a6
push str.Could_not_read_from_update.status_file
push 0x4327c8
call fcn.004086b0
add esp, 8
xor ebx, ebx
mov dword [ebp - 0x10f4], 0
mov eax, dword [ebp - 0x10ec]
inc eax
cmp eax, 2
jb 0x406ccb
push dword [ebp - 0x10ec]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10f4], 0
je 0x406dc5
test ebx, ebx
je 0x406dc5
mov eax, dword [0x431bbc]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x4329d4]
mov ecx, dword [ecx + 4]
cmp dword [ebp - 0x10e4], 0
je 0x406d67
cmp eax, ecx
jg 0x407720
push str.update.status_is_still_applying_even_though_update_was_successful.
push 0x4327c8
call fcn.004085c0
add esp, 8
push 0x1d
push dword [edi + 0x10]
call fcn.00408280
add esp, 8
mov dword [ebp - 0x10e4], 0
test eax, eax
jne 0x406dc5
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40786f
push str.Could_not_write_update.status_still_applying_on_success_error.
jmp 0x406c3a
cmp eax, ecx
jg 0x4077e9
push str.update.status_is_still_applying_and_update_was_not_successful.
push 0x4327c8
call fcn.004086b0
add esp, 8
cmp dword [ebp - 0x10fc], 0x102
mov eax, 0x32
mov ecx, 0x1e
cmove ecx, eax
cmp dword [ebp - 0x10f0], 0
mov eax, 0x33
cmove eax, ecx
push eax
push dword [edi + 0x10]
call fcn.00408280
add esp, 8
mov dword [ebp - 0x10e4], 0
test eax, eax
je 0x4070ad
push str.MOZ_USING_SERVICE
call fcn.004115db
add esp, 4
mov eax, dword [ebp - 0x10e0]
mov dword [ebp - 0x10e0], 0
test eax, eax
je 0x406def
push eax
call fcn.0040a1ea
add esp, 4
mov eax, dword [0x431bbc]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x4329d4]
mov ecx, dword [ecx + 4]
cmp dword [ebp - 0x10e4], 0
je 0x406e7b
cmp eax, ecx
jg 0x40743f
push str.updater.exe_was_launched_and_run_successfully_
push 0x4327c8
call fcn.004085c0
add esp, 8
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x407482
mov eax, dword [0x4327c8]
test eax, eax
je 0x406e5f
push eax
call fcn.0041227a
add esp, 4
cmp esi, 7
je 0x406f1d
cmp esi, 8
jne 0x406f3c
mov eax, 4
jmp 0x406f22
cmp eax, ecx
jg 0x4075d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_running_update_process._Updating_update.status____lu_
push 0x4327c8
call fcn.004086b0
add esp, 0xc
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x407614
mov eax, dword [0x4327c8]
test eax, eax
je 0x406ecf
push eax
call fcn.0041227a
add esp, 4
xor esi, esi
cmp dword [ebp - 0x10f8], 0
jne 0x406f4e
push 0x18
push dword [edi + 0x10]
call fcn.00408280
add esp, 8
test eax, eax
jne 0x406f4e
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40782c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_write_update.status_service_update_failure.____lu_
jmp 0x40683d
mov eax, 3
push 0x42c5e0
mov ecx, dword [ebp - 0x10e8]
push dword [ecx + eax*4]
call fcn.00413bc7
add esp, 8
test eax, eax
je 0x406f4b
lea eax, [ebp - 0x448]
push eax
call fcn.00407e00
add esp, 4
xor esi, esi
inc esi
lea ecx, [ebp - 0xc70]
call fcn.004057d0
jmp 0x40618b
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405ecc
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405ecc
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405dfe
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405dfe
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405d65
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405d65
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405f1b
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405f1b
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405dc4
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405dc4
mov eax, dword [0x4329d4]
mov ecx, dword [0x431bbc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4078b2
push str.Could_not_write_update.status_still_applying_on_failure_error.
jmp 0x406c3a
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4061ac
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x4061ac
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x40612c
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x40612c
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405f8f
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405f8f
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406179
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406179
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405e92
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x405e92
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4060b7
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x4060b7
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4061e7
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x4061e7
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406417
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406417
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406777
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406777
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4065ab
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x4065ab
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4067e0
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x4067e0
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406954
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406954
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4069df
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x4069df
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406e1a
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406e1a
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406e4d
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406e4d
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406511
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406511
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4067c1
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x4067c1
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406831
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406831
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406a63
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406a63
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406e83
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406e83
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406ebd
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406ebd
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406c35
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406c35
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406ace
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406ace
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406c6d
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406c6d
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406d0b
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406d0b
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406b0c
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406b0c
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406c95
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406c95
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406d6f
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406d6f
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406f0c
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406f0c
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406d5d
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x406d5d
push 0x4329d4
call fcn.0040a2c7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4070ce
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a48c
add esp, 4
push 0x4329d4
call fcn.0040a319
add esp, 4
jmp 0x4070ce