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, 0x10f4
call fcn.0041d7b0
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 0x406257
push str.Not_enough_command_line_arguments_to_execute_a_service_command
jmp 0x405b40
mov edi, dword [ebp + 0xc]
lea ebx, [ebp - 0x652]
push 0x20a
push 0
push ebx
call fcn.0040c7e0
add esp, 0xc
push ebx
call fcn.00424f70
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 0x4062dd
push ebx
push dword [edi + 8]
push str.Executing_service_command__ls__ID:__ls
push 0x4327c8
call fcn.00408660
add esp, 0x10
jmp 0x405a2c
cmp ecx, edx
jg 0x406363
push dword [edi + 8]
push str.Executing_service_command__ls
push 0x4327c8
call fcn.00408660
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 0x406320
push dword [edi + 8]
push str.Service_command_not_recognized:__ls.
push 0x4327c8
call fcn.00408750
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 0x40629a
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.00408660
add esp, 0x10
jmp 0x405b4f
cmp esi, 5
jb 0x405b1a
push dword [edi + 0x10]
call fcn.00408ad0
add esp, 4
test al, al
je 0x405b1a
lea eax, [edi + 0x10]
mov dword [ebp - 0x10e4], eax
mov ebx, dword [eax]
push ebx
call fcn.0040a3bb
add esp, 4
cmp eax, 9
ja 0x405b66
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 0x406662
push str.The_patch_directory_path_length_is_not_valid_for_this_application.
jmp 0x405b40
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 0x4063a6
push str.The_patch_directory_path_is_not_valid_for_this_application.
push 0x4327c8
call fcn.00408750
add esp, 8
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040afa5
mov eax, esi
add esp, 0x10f4
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.0041223c
add esp, 0xc
test eax, eax
je 0x405ba8
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 0x4066a5
push str.The_patch_directory_path_subdirectory_is_not_valid_for_this_application.
jmp 0x405b40
mov ebx, dword [ebp - 0x10e4]
push dword [ebx]
call fcn.004090d0
add esp, 4
push dword [ebx]
call fcn.00408fd0
add esp, 4
test eax, eax
je 0x405c9d
cmp esi, 6
jb 0x405c1c
push dword [edi + 0x14]
call fcn.00408ad0
add esp, 4
test al, al
je 0x405c1c
push dword [edi + 0x14]
call fcn.004087d0
add esp, 4
test al, al
je 0x405c1c
lea eax, [esi - 3]
mov dword [ebp - 0x10e8], eax
cmp eax, 4
jne 0x405cc8
push 0x42c5d0
push dword [edi + 0x18]
call fcn.00413ee7
add esp, 8
test eax, eax
jne 0x405cce
jmp 0x405ce6
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 0x406738
push str.The_install_directory_path_is_not_valid_for_this_application.
push 0x4327c8
call fcn.00408750
add esp, 8
push 0x37
push dword [ebx]
call fcn.00409690
add esp, 8
xor esi, esi
test eax, eax
jne 0x405b4f
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 0x4068c1
push str.Could_not_write_update.status_for_previous_failure.
push 0x4327c8
call fcn.00408750
add esp, 8
jmp 0x405b4f
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 0x40687e
push str.Unable_to_write_to_secure_ID_file.
jmp 0x405b40
jb 0x405eaf
push str._replace
push dword [edi + 0x18]
call fcn.0040c9de
add esp, 8
test eax, eax
je 0x405e1e
lea ebx, [edi + 0xc]
lea eax, [ebp - 0x85c]
push 0x20a
push 0
push eax
call fcn.0040c7e0
add esp, 0xc
mov ecx, dword [ebp - 0x10e8]
mov dword [ebp - 0x10ec], ebx
mov edx, ebx
lea eax, [ebp - 0x85c]
push eax
call fcn.00404e40
add esp, 4
test eax, eax
je 0x405de4
call fcn.00409880
test eax, eax
jne 0x405f42
lea eax, [ebp - 0x21c]
mov ebx, eax
push eax
lea eax, [ebp - 0x85c]
push eax
call fcn.004013f0
add esp, 8
test eax, eax
je 0x405ef1
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 ebx
push str.Checking_for_Maintenance_Service_registry._key:__ls
push 0x4327c8
call fcn.00408660
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 0x405f36
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 0x4070ad
push str.The_maintenance_service_registry_key_does_not_exist.
push 0x4327c8
call fcn.00408750
add esp, 8
push 0x39
jmp 0x405ef3
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
push str.Could_not_get_the_installation_directory
push 0x4327c8
call fcn.00408750
add esp, 8
push 0x21
jmp 0x405ef3
mov ebx, dword [edi + 0x18]
movzx eax, word [ebx]
test ax, ax
je 0x405ce6
add ebx, 2
movzx eax, ax
push eax
call fcn.004138ad
add esp, 4
test eax, eax
jne 0x405e21
cmp esi, 7
jl 0x405eaf
push dword [edi + 0x18]
call fcn.00408ad0
add esp, 4
test al, al
je 0x405eaf
push 0x104
push dword [edi + 0x14]
push dword [edi + 0x18]
call fcn.0041223c
add esp, 0xc
test eax, eax
je 0x405ce6
cmp esi, 8
jae 0x40603d
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.Installation_directory_and_working_directory_must_be_the_same_for_non_staged_updates._Exiting.
push 0x4327c8
call fcn.00408750
add esp, 8
push 0x36
jmp 0x405ee4
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.The_working_directory_path_is_not_valid_for_this_application.
push 0x4327c8
call fcn.00408750
add esp, 8
push 0x38
mov eax, dword [ebp - 0x10e4]
push dword [eax]
jmp 0x405c53
push 0x35
mov eax, dword [ebp - 0x10e4]
push dword [eax]
call fcn.00409690
add esp, 8
test eax, eax
jne 0x405b4d
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.Could_not_write_update.status_for_previous_failure.
jmp 0x405b40
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ebx, [ebp - 0xa66]
push 0x20a
push 0
push ebx
call fcn.0040c7e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x85c]
push eax
push ebx
call fcn.0040a50c
add esp, 0xc
push str.updater.exe
push ebx
call fcn.00424f30
add esp, 8
test eax, eax
jne 0x405fb2
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.Install_directory_updater_could_not_be_determined.
push 0x4327c8
call fcn.00408750
add esp, 8
lea ecx, [ebp - 0xa66]
lea edx, [ebp - 0x85c]
mov eax, dword [ebp - 0x10e4]
push dword [eax]
call fcn.00404f40
add esp, 4
mov byte [ebp - 0x10fc], al
lea eax, [ebp - 0xc70]
push 0x20a
push 0
mov ebx, eax
push eax
call fcn.0040c7e0
add esp, 0xc
cmp byte [ebp - 0x10fc], 0
je 0x406121
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4060e6
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x406222
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 0x406100
push 0x42c5d0
push dword [edi + 0x1c]
call fcn.00413ee7
add esp, 8
test eax, eax
je 0x406069
push str._replace
push dword [edi + 0x1c]
call fcn.0040c9de
add esp, 8
test eax, eax
je 0x405e78
mov eax, dword [edi + 0x18]
sub esp, 0x10
mov dword [esp + 0xc], eax
lea ebx, [ebp - 0x21c]
mov dword [esp], ebx
call fcn.00407940
add esp, 0x10
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4061e1
push 0x104
push dword [edi + 0x14]
push ebx
call fcn.0041223c
add esp, 0xc
test eax, eax
je 0x405ce6
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
push str.The_apply_to_directory_must_be_the_same_as_or_a_child_of_the_installation_directory__Exiting.
push 0x4327c8
call fcn.00408750
add esp, 8
push 0x34
jmp 0x405ef3
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 0x4066f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x4327c8
call fcn.00408750
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 0x40715e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_copy_path_to_secure_location.____lu_
push 0x4327c8
call fcn.00408750
add esp, 0xc
push 0x31
mov eax, dword [ebp - 0x10e4]
push dword [eax]
call fcn.00409690
add esp, 8
xor esi, esi
test eax, eax
jne 0x4061a6
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.Could_not_write_update.status_could_not_copy_updater_error
push 0x4327c8
call fcn.00408750
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 0x40711b
push dword [edi + 8]
push str.Service_command__ls_complete.
push 0x4327c8
call fcn.00408660
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 0x4072ad
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.00408750
add esp, 0xc
push 0x47
jmp 0x405ef3
push 0x42c35a
push ebx
call fcn.00424f30
add esp, 8
test eax, eax
jne 0x4063e9
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 0x406100
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4059a3
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x4059a3
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405a9b
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405a9b
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4059f7
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x4059f7
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405a63
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405a63
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405a17
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405a17
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405b3b
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405b3b
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.updater.exe
lea eax, [ebp - 0xc70]
push eax
call fcn.00424f30
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 0x4066e8
cmp ecx, edx
jg 0x4072f0
push ebx
lea eax, [ebp - 0xa66]
push eax
mov eax, dword [ebp - 0x10ec]
push dword [eax]
push str.Passed_in_path:__ls__ignored___Install_dir_has:__ls__Using_this_path_for_updating:__ls.
push 0x4327c8
call fcn.00408660
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 0x406121
mov eax, dword [ebp - 0x10ec]
mov dword [eax], ebx
mov ecx, 0x20a
xor edx, edx
lea eax, [ebp - 0xe7a]
push ecx
push edx
push eax
call fcn.0040c7e0
add esp, 0xc
lea eax, [ebp - 0x1084]
mov ecx, 0x20a
push ecx
xor ecx, ecx
push ecx
push eax
call fcn.0040c7e0
add esp, 0xc
push str.updater.ini
push ebx
lea eax, [ebp - 0x1084]
push eax
call fcn.00408d70
add esp, 0xc
test eax, eax
je 0x406553
push str.updater.ini
lea eax, [ebp - 0xa66]
push eax
lea eax, [ebp - 0xe7a]
push eax
call fcn.00408d70
add esp, 0xc
test eax, eax
je 0x406553
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 0x406553
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
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.00408750
add esp, 0x14
lea ebx, [ebp - 0x448]
push 0x20a
push 0
push ebx
call fcn.0040c7e0
add esp, 0xc
mov ecx, dword [ebp - 0x10e8]
mov edx, dword [ebp - 0x10ec]
push ebx
call fcn.00404e40
add esp, 4
test eax, eax
je 0x40677b
mov eax, dword [ebp - 0x10ec]
mov ecx, dword [eax]
lea edx, [ebp - 0x448]
mov eax, dword [ebp - 0x10e4]
push dword [eax]
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 0x406802
cmp ecx, edx
jg 0x407376
push str.Starting_update_process_as_the_service_in_session_0.
push 0x4327c8
call fcn.00408660
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 - 0x10ec]
mov ebx, dword [ebp - 0x10e8]
push ebx
push ecx
call fcn.00401070
add esp, 0x14
cmp ebx, 4
jne 0x406904
push 0x42c5d0
push dword [edi + 0x18]
call fcn.00413ee7
add esp, 8
test eax, eax
jne 0x406909
jmp 0x40693b
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405b13
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405b13
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405ba1
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405ba1
mov esi, str.Couldnt_append_file_spec_when_attempting_to_use_a_secure_updater_path.____lu_
cmp ecx, edx
jle 0x40610c
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x40610c
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x40610c
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405c3d
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405c3d
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 0x407333
push str.Could_not_get_the_installation_directory
push 0x4327c8
call fcn.00408750
add esp, 8
push 0x21
mov eax, dword [ebp - 0x10e4]
push dword [eax]
call fcn.00409690
add esp, 8
xor esi, esi
test eax, eax
jne 0x406f91
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
push str.Could_not_write_update.status_for_GetInstallationDir_failure.
push 0x4327c8
call fcn.00408750
add esp, 8
jmp 0x406f91
cmp ecx, edx
jg 0x4073b9
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.00408750
add esp, 0xc
push 0x1a
mov eax, dword [ebp - 0x10e4]
push dword [eax]
call fcn.00409690
add esp, 8
xor esi, esi
test eax, eax
jne 0x406f91
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
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_write_pending_state_to_update.status.____lu_
push 0x4327c8
call fcn.00408750
add esp, 0xc
jmp 0x406f91
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405cbe
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405cbe
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405c86
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405c86
cmp esi, 7
jl 0x40693b
push str._replace
push dword [edi + 0x18]
call fcn.0040c9de
add esp, 8
test eax, eax
jne 0x40693b
mov ebx, dword [edi + 0x18]
movzx eax, word [ebx]
test ax, ax
je 0x40693b
add ebx, 2
movzx eax, ax
push eax
call fcn.004138ad
add esp, 4
test eax, eax
jne 0x406920
mov dword [ebp - 0x10c4], 0x42c5f2
or byte [ebp - 0x10a0], 1
mov word [ebp - 0x109c], 0
push str.MOZ_USING_SERVICE1
call fcn.004118fb
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 0x4073fc
push dword [ebp - 0x10e0]
push str.Starting_service_with_cmdline:__ls
push 0x4327c8
call fcn.00408660
add esp, 0xc
mov eax, dword [ebp - 0x10e0]
mov ecx, dword [ebp - 0x10ec]
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 - 0x10fc], eax
test eax, eax
je 0x406a69
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 0x40743f
push str.Process_was_started..._waiting_on_result.
push 0x4327c8
call fcn.00408660
add esp, 8
push 0xdbba0
push dword [ebp - 0x10dc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x1100], eax
cmp eax, 0x102
jne 0x406ac2
push 1
push dword [ebp - 0x10dc]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x10f4], 0
mov dword [ebp - 0x10e8], 0
jmp 0x406b60
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 0x4075d1
push ebx
push dword [ebp - 0x10e0]
mov eax, dword [ebp - 0x10ec]
push dword [eax]
push str.Could_not_create_process_as_current_user__updaterPath:__ls__cmdLine:__ls.____lu_
push 0x4327c8
call fcn.00408750
add esp, 0x14
mov dword [ebp - 0x10e8], 0
jmp 0x406e03
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 0x406b33
cmp ecx, edx
jg 0x4076dd
push dword [ebp - 0x21c]
push str.Process_finished_with_return_code__lu.
push 0x4327c8
call fcn.00408660
add esp, 0xc
xor eax, eax
cmp dword [ebp - 0x21c], 0
sete al
mov dword [ebp - 0x10e8], eax
mov dword [ebp - 0x10f4], 0
jmp 0x406b60
cmp ecx, edx
jg 0x4077a6
push str.Process_finished_but_could_not_obtain_return_code.
push 0x4327c8
call fcn.00408750
add esp, 8
mov dword [ebp - 0x10e8], 0
xor eax, eax
inc eax
mov dword [ebp - 0x10f4], eax
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10dc]
call ebx
push dword [ebp - 0x10d8]
call ebx
mov eax, dword [ebp - 0x10e4]
mov eax, dword [eax]
mov dword [ebp - 0x10f0], eax
lea ebx, [ebp - 0x21c]
push 0x20a
push 0
push ebx
call fcn.0040c7e0
add esp, 0xc
push ebx
push str..status
push dword [ebp - 0x10f0]
call fcn.00408f50
add esp, 0xc
test eax, eax
je 0x406c48
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 - 0x10f0], eax
cmp eax, 0xffffffff
je 0x406c80
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 - 0x10f0]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406ca8
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 - 0x10f8], eax
jmp 0x406ce7
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 0x40769a
push str.Could_not_get_path_for_the_secure_update_status_file
push 0x4327c8
call fcn.00408750
add esp, 8
jmp 0x406e03
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 0x407720
push str.Could_not_open_update.status_file
jmp 0x406cce
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 0x4077e9
push str.Could_not_read_from_update.status_file
push 0x4327c8
call fcn.00408750
add esp, 8
xor ebx, ebx
mov dword [ebp - 0x10f8], 0
mov eax, dword [ebp - 0x10f0]
inc eax
cmp eax, 2
jb 0x406cff
push dword [ebp - 0x10f0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10f8], 0
je 0x406e03
test ebx, ebx
je 0x406e03
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 - 0x10e8], 0
je 0x406da0
cmp eax, ecx
jg 0x407763
push str.update.status_is_still_applying_even_though_update_was_successful.
push 0x4327c8
call fcn.00408660
add esp, 8
push 0x1d
mov eax, dword [ebp - 0x10e4]
push dword [eax]
call fcn.00409690
add esp, 8
mov dword [ebp - 0x10e8], 0
test eax, eax
jne 0x406e03
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_success_error.
jmp 0x406c6e
cmp eax, ecx
jg 0x40782c
push str.update.status_is_still_applying_and_update_was_not_successful.
push 0x4327c8
call fcn.00408750
add esp, 8
cmp dword [ebp - 0x1100], 0x102
mov eax, 0x32
mov ecx, 0x1e
cmove ecx, eax
cmp dword [ebp - 0x10f4], 0
mov eax, 0x33
cmove eax, ecx
push eax
mov eax, dword [ebp - 0x10e4]
push dword [eax]
call fcn.00409690
add esp, 8
mov dword [ebp - 0x10e8], 0
test eax, eax
je 0x4070f0
push str.MOZ_USING_SERVICE
call fcn.004118fb
add esp, 4
mov eax, dword [ebp - 0x10e0]
mov dword [ebp - 0x10e0], 0
test eax, eax
je 0x406e2d
push eax
call fcn.0040a507
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 - 0x10e8], 0
je 0x406eb9
cmp eax, ecx
jg 0x407482
push str.updater.exe_was_launched_and_run_successfully_
push 0x4327c8
call fcn.00408660
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 0x4074c5
mov eax, dword [0x4327c8]
test eax, eax
je 0x406e9d
push eax
call fcn.0041259a
add esp, 4
cmp esi, 7
je 0x406f60
cmp esi, 8
jne 0x406f7f
mov eax, 4
jmp 0x406f65
cmp eax, ecx
jg 0x407614
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_running_update_process._Updating_update.status____lu_
push 0x4327c8
call fcn.00408750
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 0x407657
mov eax, dword [0x4327c8]
test eax, eax
je 0x406f0d
push eax
call fcn.0041259a
add esp, 4
xor esi, esi
cmp dword [ebp - 0x10fc], 0
jne 0x406f91
push 0x18
mov eax, dword [ebp - 0x10e4]
push dword [eax]
call fcn.00409690
add esp, 8
test eax, eax
jne 0x406f91
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
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_write_update.status_service_update_failure.____lu_
jmp 0x40686c
mov eax, 3
push 0x42c5d0
mov ecx, dword [ebp - 0x10ec]
push dword [ecx + eax*4]
call fcn.00413ee7
add esp, 8
test eax, eax
je 0x406f8e
lea eax, [ebp - 0x448]
push eax
call fcn.00409210
add esp, 4
xor esi, esi
inc esi
lea ecx, [ebp - 0xc70]
call fcn.004057d0
jmp 0x4061a6
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405ed0
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405ed0
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405e05
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405e05
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405d72
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405d72
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405f2c
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405f2c
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405dcb
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405dcb
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 0x4078f5
push str.Could_not_write_update.status_still_applying_on_failure_error.
jmp 0x406c6e
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4061c7
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x4061c7
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406142
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406142
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405fa0
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405fa0
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406194
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406194
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405e99
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x405e99
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4060cd
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x4060cd
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406202
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406202
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406432
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406432
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x40679c
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x40679c
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4065d0
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x4065d0
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x40680a
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x40680a
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406983
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406983
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406a0e
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406a0e
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406e58
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406e58
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406e8b
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406e8b
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x40652c
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x40652c
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4067eb
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x4067eb
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406860
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406860
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406a92
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406a92
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406ec1
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406ec1
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406efb
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406efb
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406c69
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406c69
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406afd
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406afd
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406ca1
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406ca1
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406d3f
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406d3f
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406b3b
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406b3b
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406cc9
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406cc9
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406da8
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406da8
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406f4f
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406f4f
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406d96
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x406d96
push 0x4329d4
call fcn.0040a5e7
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x407111
mov dword [0x4327c8], 0
push 0x402500
call fcn.0040a7ac
add esp, 4
push 0x4329d4
call fcn.0040a639
add esp, 4
jmp 0x407111