Function at 0x405870
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.0041d510
mov esi, dword [ebp + 8]
mov eax, dword [0x431014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp esi, 2
jg 0x4058bd
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 0x40614c
push str.Not_enough_command_line_arguments_to_execute_a_service_command
jmp 0x405a48
mov edi, dword [ebp + 0xc]
lea ebx, [ebp - 0x652]
push 0x20a
push 0
push ebx
call fcn.0040c1f0
add esp, 0xc
push ebx
call fcn.00424d10
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 0x40591f
cmp ecx, edx
jg 0x4061d2
push ebx
push dword [edi + 8]
push str.Executing_service_command__ls__ID:__ls
push 0x4327c8
call fcn.00408470
add esp, 0x10
jmp 0x40593c
cmp ecx, edx
jg 0x406258
push dword [edi + 8]
push str.Executing_service_command__ls
push 0x4327c8
call fcn.00408470
add esp, 0xc
push str.software_update
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4059d5
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 0x406215
push dword [edi + 8]
push str.Service_command_not_recognized:__ls.
push 0x4327c8
call fcn.00408560
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 0x40618f
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.00408470
add esp, 0x10
jmp 0x405a57
cmp esi, 5
jb 0x405a22
push dword [edi + 0x10]
call fcn.00408890
add esp, 4
test al, al
je 0x405a22
mov ebx, dword [edi + 0x10]
push ebx
call fcn.00413ad9
add esp, 4
cmp eax, 9
ja 0x405a6e
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 0x40654d
push str.The_patch_directory_path_length_is_not_valid_for_this_application.
jmp 0x405a48
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 0x40629b
push str.The_patch_directory_path_is_not_valid_for_this_application.
push 0x4327c8
call fcn.00408560
add esp, 8
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a9b5
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.00411dc9
add esp, 0xc
test eax, eax
je 0x405ab0
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 0x406590
push str.The_patch_directory_path_subdirectory_is_not_valid_for_this_application.
jmp 0x405a48
push dword [edi + 0x10]
call fcn.00407b70
add esp, 4
push dword [edi + 0x10]
call fcn.00407a70
add esp, 4
test eax, eax
je 0x405ba2
cmp esi, 6
jb 0x405b20
push dword [edi + 0x14]
call fcn.00408890
add esp, 4
test al, al
je 0x405b20
push dword [edi + 0x14]
call fcn.004085e0
add esp, 4
test al, al
je 0x405b20
lea eax, [esi - 3]
mov dword [ebp - 0x10e4], eax
cmp eax, 4
jne 0x405bcd
push 0x42c5e0
push dword [edi + 0x18]
call fcn.00413a77
add esp, 8
test eax, eax
jne 0x405bd3
jmp 0x405beb
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 0x406623
push str.The_install_directory_path_is_not_valid_for_this_application.
push 0x4327c8
call fcn.00408560
add esp, 8
push 0x37
push dword [edi + 0x10]
call fcn.00408130
add esp, 8
xor esi, esi
test eax, eax
jne 0x405a57
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 0x4067a2
push str.Could_not_write_update.status_for_previous_failure.
push 0x4327c8
call fcn.00408560
add esp, 8
jmp 0x405a57
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 0x40675f
push str.Unable_to_write_to_secure_ID_file.
jmp 0x405a48
jb 0x405dbb
push str._replace
push dword [edi + 0x18]
call fcn.0040c4b5
add esp, 8
test eax, eax
je 0x405d27
lea ebx, [edi + 0xc]
lea eax, [ebp - 0x85c]
push 0x20a
push 0
push eax
call fcn.0040c1f0
add esp, 0xc
mov ecx, dword [ebp - 0x10e4]
mov dword [ebp - 0x10e8], ebx
mov edx, ebx
lea eax, [ebp - 0x85c]
push eax
call fcn.00404d50
add esp, 4
test eax, eax
je 0x405ced
call fcn.00408320
test eax, eax
jne 0x405e41
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x85c]
push eax
call fcn.00409490
add esp, 8
test eax, eax
je 0x405df5
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 0x406ef4
lea ebx, [ebp - 0x21c]
push ebx
push str.Checking_for_Maintenance_Service_registry._key:__ls
push 0x4327c8
call fcn.00408470
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 0x405e35
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 0x406f7a
push str.The_maintenance_service_registry_key_does_not_exist.
push 0x4327c8
call fcn.00408560
add esp, 8
push 0x39
jmp 0x405df7
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 0x406eb1
push str.Could_not_get_the_installation_directory
push 0x4327c8
call fcn.00408560
add esp, 8
push 0x21
jmp 0x405df7
mov ebx, dword [edi + 0x18]
movzx eax, word [ebx]
test ax, ax
je 0x405beb
add ebx, 2
movzx eax, ax
push eax
call fcn.0041343a
add esp, 4
test eax, eax
jne 0x405d2a
cmp esi, 7
jl 0x405dbb
push dword [edi + 0x18]
call fcn.00408890
add esp, 4
test al, al
je 0x405dbb
push 0x104
push dword [edi + 0x14]
push dword [edi + 0x18]
call fcn.00411dc9
add esp, 0xc
test eax, eax
je 0x405beb
cmp esi, 8
jae 0x405f37
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 0x4070f4
push str.Installation_directory_and_working_directory_must_be_the_same_for_non_staged_updates._Exiting.
push 0x4327c8
call fcn.00408560
add esp, 8
push 0x36
jmp 0x405b55
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 0x406e6e
push str.The_working_directory_path_is_not_valid_for_this_application.
push 0x4327c8
call fcn.00408560
add esp, 8
push 0x38
jmp 0x405b55
push 0x35
push dword [edi + 0x10]
call fcn.00408130
add esp, 8
test eax, eax
jne 0x405a55
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 0x406f37
push str.Could_not_write_update.status_for_previous_failure.
jmp 0x405a48
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ebx, [ebp - 0xa66]
push 0x20a
push 0
push ebx
call fcn.0040c1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x85c]
push eax
push ebx
call fcn.00413f52
add esp, 0xc
push str.updater.exe
push ebx
call fcn.00424cd0
add esp, 8
test eax, eax
jne 0x405eb1
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 0x40706e
push str.Install_directory_updater_could_not_be_determined.
push 0x4327c8
call fcn.00408560
add esp, 8
lea ecx, [ebp - 0xa66]
lea edx, [ebp - 0x85c]
push dword [edi + 0x10]
call fcn.00404e50
add esp, 4
mov byte [ebp - 0x10f8], al
lea eax, [ebp - 0xc70]
push 0x20a
push 0
mov ebx, eax
push eax
call fcn.0040c1f0
add esp, 0xc
cmp byte [ebp - 0x10f8], 0
je 0x40601b
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x405fe0
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x406117
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 0x405ffa
push 0x42c5e0
push dword [edi + 0x1c]
call fcn.00413a77
add esp, 8
test eax, eax
je 0x405f63
push str._replace
push dword [edi + 0x1c]
call fcn.0040c4b5
add esp, 8
test eax, eax
je 0x405d81
mov eax, dword [edi + 0x18]
sub esp, 0x10
mov dword [esp + 0xc], eax
lea ebx, [ebp - 0x21c]
mov dword [esp], ebx
call fcn.00401d40
add esp, 0x10
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4060d6
push 0x104
push dword [edi + 0x14]
push ebx
call fcn.00411dc9
add esp, 0xc
test eax, eax
je 0x405beb
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 0x407137
push str.The_apply_to_directory_must_be_the_same_as_or_a_child_of_the_installation_directory__Exiting.
push 0x4327c8
call fcn.00408560
add esp, 8
push 0x34
jmp 0x405df7
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 0x4065e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x4327c8
call fcn.00408560
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 0x40702b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_copy_path_to_secure_location.____lu_
push 0x4327c8
call fcn.00408560
add esp, 0xc
push 0x31
push dword [edi + 0x10]
call fcn.00408130
add esp, 8
xor esi, esi
test eax, eax
jne 0x40609b
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 0x4070b1
push str.Could_not_write_update.status_could_not_copy_updater_error
push 0x4327c8
call fcn.00408560
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 0x406fe8
push dword [edi + 8]
push str.Service_command__ls_complete.
push 0x4327c8
call fcn.00408470
add esp, 0xc
jmp 0x40598a
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 0x40717a
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.00408560
add esp, 0xc
push 0x47
jmp 0x405df7
push 0x42c36a
push ebx
call fcn.00424cd0
add esp, 8
test eax, eax
jne 0x4062de
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 0x405ffa
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4058b3
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x4058b3
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4059ab
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x4059ab
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405907
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405907
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405973
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405973
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405927
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405927
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405a43
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405a43
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.updater.exe
lea eax, [ebp - 0xc70]
push eax
call fcn.00424cd0
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 0x4065d3
cmp ecx, edx
jg 0x4071bd
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.00408470
add esp, 0x14
lea ecx, [ebp - 0xc70]
call fcn.004056e0
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 0x40601b
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.0040c1f0
add esp, 0xc
lea eax, [ebp - 0x1084]
mov ecx, 0x20a
push ecx
xor ecx, ecx
push ecx
push eax
call fcn.0040c1f0
add esp, 0xc
push str.updater.ini
push ebx
lea eax, [ebp - 0x1084]
push eax
call fcn.00407810
add esp, 0xc
test eax, eax
je 0x406448
push str.updater.ini
lea eax, [ebp - 0xa66]
push eax
lea eax, [ebp - 0xe7a]
push eax
call fcn.00407810
add esp, 0xc
test eax, eax
je 0x406448
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 0x406448
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 0x4073d5
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.00408560
add esp, 0x14
lea ebx, [ebp - 0x448]
push 0x20a
push 0
push ebx
call fcn.0040c1f0
add esp, 0xc
mov ecx, dword [ebp - 0x10e4]
mov edx, dword [ebp - 0x10e8]
push ebx
call fcn.00404d50
add esp, 4
test eax, eax
je 0x406666
mov ecx, dword [edi + 0xc]
lea edx, [ebp - 0x448]
push dword [edi + 0x10]
call fcn.00404e50
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 0x4066e8
cmp ecx, edx
jg 0x407243
push str.Starting_update_process_as_the_service_in_session_0.
push 0x4327c8
call fcn.00408470
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.00401940
add esp, 0x14
cmp ebx, 4
jne 0x4067e5
push 0x42c5e0
push dword [edi + 0x18]
call fcn.00413a77
add esp, 8
test eax, eax
jne 0x4067ea
jmp 0x40681c
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405a1b
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405a1b
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405aa9
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405aa9
mov esi, str.Couldnt_append_file_spec_when_attempting_to_use_a_secure_updater_path.____lu_
cmp ecx, edx
jle 0x406006
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406006
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406006
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405b41
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405b41
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 0x407200
push str.Could_not_get_the_installation_directory
push 0x4327c8
call fcn.00408560
add esp, 8
push 0x21
push dword [edi + 0x10]
call fcn.00408130
add esp, 8
xor esi, esi
test eax, eax
jne 0x406e5e
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 0x407418
push str.Could_not_write_update.status_for_GetInstallationDir_failure.
push 0x4327c8
call fcn.00408560
add esp, 8
jmp 0x406e5e
cmp ecx, edx
jg 0x407286
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.00408560
add esp, 0xc
push 0x1a
push dword [edi + 0x10]
call fcn.00408130
add esp, 8
xor esi, esi
test eax, eax
jne 0x406e5e
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 0x40745b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_write_pending_state_to_update.status.____lu_
push 0x4327c8
call fcn.00408560
add esp, 0xc
jmp 0x406e5e
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405bc3
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405bc3
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405b8b
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405b8b
cmp esi, 7
jl 0x40681c
push str._replace
push dword [edi + 0x18]
call fcn.0040c4b5
add esp, 8
test eax, eax
jne 0x40681c
mov ebx, dword [edi + 0x18]
movzx eax, word [ebx]
test ax, ax
je 0x40681c
add ebx, 2
movzx eax, ax
push eax
call fcn.0041343a
add esp, 4
test eax, eax
jne 0x406801
mov dword [ebp - 0x10c4], 0x42c602
or byte [ebp - 0x10a0], 1
mov word [ebp - 0x109c], 0
push str.MOZ_USING_SERVICE1
call fcn.0041141b
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 0x4072c9
push dword [ebp - 0x10e0]
push str.Starting_service_with_cmdline:__ls
push 0x4327c8
call fcn.00408470
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 0x40694a
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 0x40730c
push str.Process_was_started..._waiting_on_result.
push 0x4327c8
call fcn.00408470
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 0x4069a3
push 1
push dword [ebp - 0x10dc]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x10f0], 0
mov dword [ebp - 0x10e4], 0
jmp 0x406a41
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 0x40749e
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.00408560
add esp, 0x14
mov dword [ebp - 0x10e4], 0
jmp 0x406cd5
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 0x406a14
cmp ecx, edx
jg 0x4075aa
push dword [ebp - 0x21c]
push str.Process_finished_with_return_code__lu.
push 0x4327c8
call fcn.00408470
add esp, 0xc
xor eax, eax
cmp dword [ebp - 0x21c], 0
sete al
mov dword [ebp - 0x10e4], eax
mov dword [ebp - 0x10f0], 0
jmp 0x406a41
cmp ecx, edx
jg 0x407673
push str.Process_finished_but_could_not_obtain_return_code.
push 0x4327c8
call fcn.00408560
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.0040c1f0
add esp, 0xc
push ebx
push str..status
push dword [ebp - 0x10ec]
call fcn.004079f0
add esp, 0xc
test eax, eax
je 0x406b24
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 0x406b5c
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 0x406b84
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 0x406bc3
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 0x407567
push str.Could_not_get_path_for_the_secure_update_status_file
push 0x4327c8
call fcn.00408560
add esp, 8
jmp 0x406cd5
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 0x4075ed
push str.Could_not_open_update.status_file
jmp 0x406baa
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 0x4076b6
push str.Could_not_read_from_update.status_file
push 0x4327c8
call fcn.00408560
add esp, 8
xor ebx, ebx
mov dword [ebp - 0x10f4], 0
mov eax, dword [ebp - 0x10ec]
inc eax
cmp eax, 2
jb 0x406bdb
push dword [ebp - 0x10ec]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10f4], 0
je 0x406cd5
test ebx, ebx
je 0x406cd5
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 0x406c77
cmp eax, ecx
jg 0x407630
push str.update.status_is_still_applying_even_though_update_was_successful.
push 0x4327c8
call fcn.00408470
add esp, 8
push 0x1d
push dword [edi + 0x10]
call fcn.00408130
add esp, 8
mov dword [ebp - 0x10e4], 0
test eax, eax
jne 0x406cd5
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 0x40777f
push str.Could_not_write_update.status_still_applying_on_success_error.
jmp 0x406b4a
cmp eax, ecx
jg 0x4076f9
push str.update.status_is_still_applying_and_update_was_not_successful.
push 0x4327c8
call fcn.00408560
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.00408130
add esp, 8
mov dword [ebp - 0x10e4], 0
test eax, eax
je 0x406fbd
push str.MOZ_USING_SERVICE
call fcn.0041141b
add esp, 4
mov eax, dword [ebp - 0x10e0]
mov dword [ebp - 0x10e0], 0
test eax, eax
je 0x406cff
push eax
call fcn.00409fcc
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 0x406d8b
cmp eax, ecx
jg 0x40734f
push str.updater.exe_was_launched_and_run_successfully_
push 0x4327c8
call fcn.00408470
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 0x407392
mov eax, dword [0x4327c8]
test eax, eax
je 0x406d6f
push eax
call fcn.00412127
add esp, 4
cmp esi, 7
je 0x406e2d
cmp esi, 8
jne 0x406e4c
mov eax, 4
jmp 0x406e32
cmp eax, ecx
jg 0x4074e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_running_update_process._Updating_update.status____lu_
push 0x4327c8
call fcn.00408560
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 0x407524
mov eax, dword [0x4327c8]
test eax, eax
je 0x406ddf
push eax
call fcn.00412127
add esp, 4
xor esi, esi
cmp dword [ebp - 0x10f8], 0
jne 0x406e5e
push 0x18
push dword [edi + 0x10]
call fcn.00408130
add esp, 8
test eax, eax
jne 0x406e5e
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 0x40773c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_write_update.status_service_update_failure.____lu_
jmp 0x40674d
mov eax, 3
push 0x42c5e0
mov ecx, dword [ebp - 0x10e8]
push dword [ecx + eax*4]
call fcn.00413a77
add esp, 8
test eax, eax
je 0x406e5b
lea eax, [ebp - 0x448]
push eax
call fcn.00407cb0
add esp, 4
xor esi, esi
inc esi
lea ecx, [ebp - 0xc70]
call fcn.004056e0
jmp 0x40609b
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405ddc
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405ddc
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405d0e
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405d0e
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405c75
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405c75
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405e2b
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405e2b
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405cd4
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405cd4
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 0x4077c2
push str.Could_not_write_update.status_still_applying_on_failure_error.
jmp 0x406b4a
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4060bc
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x4060bc
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x40603c
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x40603c
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405e9f
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405e9f
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406089
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406089
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405da2
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405da2
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x405fc7
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x405fc7
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4060f7
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x4060f7
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406327
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406327
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406687
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406687
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4064bb
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x4064bb
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4066f0
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x4066f0
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406864
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406864
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4068ef
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x4068ef
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406d2a
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406d2a
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406d5d
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406d5d
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406421
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406421
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4066d1
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x4066d1
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406741
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406741
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406973
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406973
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406d93
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406d93
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406dcd
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406dcd
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406b45
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406b45
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x4069de
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x4069de
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406b7d
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406b7d
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406c1b
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406c1b
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406a1c
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406a1c
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406ba5
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406ba5
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406c7f
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406c7f
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406e1c
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406e1c
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406c6d
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406c6d
push 0x4329d4
call fcn.0040a037
add esp, 4
cmp dword [0x4329d4], 0xffffffff
jne 0x406fde
mov dword [0x4327c8], 0
push 0x402420
call fcn.0040a1fc
add esp, 4
push 0x4329d4
call fcn.0040a089
add esp, 4
jmp 0x406fde