Function at 0x408c28
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x45d06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc], 7
mov edi, ecx
mov word [ebp - 0x20], ax
xor ebx, ebx
mov byte [ebp - 8], al
and dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x20]
push str.Install_Browser.
mov dword [ebp - 0x94], ebx
call fcn.004011fd
lea eax, [ebp - 0x20]
push eax
push eax
push 0x313
push str.Installer::InstallBrowser
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x20]
call fcn.00402561
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, edi
lea esi, [edi + 0x110]
call dword [eax + 0x18]
push eax
mov ecx, esi
call fcn.00405cf2
lea ecx, [ebp - 0x1c]
call fcn.00402561
xor eax, eax
cmp dword [edi + 0x120], ebx
jne 0x408cb9
inc eax
jmp 0x409310
and dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x20]
push str.Executable_path:
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
mov byte [ebp - 8], al
call fcn.004011fd
push esi
mov ecx, eax
call fcn.00402489
lea eax, [ebp - 0x20]
push eax
push eax
push 0x31c
push str.Installer::InstallBrowser
push 0
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x20]
call fcn.00402561
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x408d0a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x54]
and dword [ebp - 0x40], ebx
push esi
call fcn.004044ab
lea ecx, [ebp - 0xa8]
call fcn.0041b190
push esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x8c], eax
mov eax, dword [edi]
mov dword [ebp - 0x9c], ecx
mov ecx, edi
call dword [eax + 0x1c]
mov esi, eax
mov dword [ebp - 0x88], esi
test esi, esi
jne 0x4092d6
lea ecx, [ebp - 0xa8]
call fcn.0041b500
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0xe0], ecx
lea ecx, [ebp - 0xa8]
mov dword [edi + 0xe4], eax
call fcn.0041b190
push 0xffffffffffffffff
push esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xc0], ecx
sbb eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa4], eax
mov eax, dword [edi + 0xa0]
mov dword [ebp - 0xd0], eax
mov eax, dword [edi + 0xa4]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xd0]
push eax
push 2
pop eax
push eax
mov dword [ebp - 0x8c], eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
inc esi
mov dword [ebp - 0x88], esi
cmp eax, esi
je 0x408e1a
and dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 7
push str.Installation_after_download_event_isnt_in_signal_state_or_installation_was_stopped_early.
mov word [ebp - 0x20], ax
mov byte [ebp - 8], al
call fcn.004011fd
lea eax, [ebp - 0x20]
push eax
push eax
push 0x330
push str.Installer::InstallBrowser
push esi
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x20]
call fcn.00402561
jmp 0x4092d6
lea ecx, [ebp - 0xc8]
call fcn.0041b190
lea ebx, [edi + 0x110]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ecx
push ecx
mov dword [ebp - 0xbc], ecx
mov ecx, esp
push ebx
mov dword [ebp - 0xc4], eax
call fcn.00402426
lea ecx, [ebp - 0x1c]
call fcn.00417ce0
push 0x28
mov esi, eax
call fcn.004296cc
mov dword [esp], 0x40221
mov ecx, eax
push esi
call fcn.0041afd0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x98], eax
mov esi, eax
call fcn.00417d90
mov ecx, esi
call fcn.0041ac10
test al, al
jne 0x408eb9
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 7
push str.Cannot_lock_file:
mov word [ebp - 0x20], ax
mov byte [ebp - 8], al
call fcn.004011fd
push ebx
mov ecx, eax
call fcn.00402489
lea eax, [ebp - 0x20]
push eax
push eax
push 0x33b
jmp 0x409176
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x20]
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
test al, al
jne 0x408f29
xor eax, eax
push str.Module_verification_failed:
mov word [ebp - 0x20], ax
mov byte [ebp - 8], al
call fcn.004011fd
push ebx
mov ecx, eax
call fcn.00402489
lea eax, [ebp - 0x20]
push eax
push eax
push 0x340
push str.Installer::InstallBrowser
push dword [ebp - 0x88]
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x20]
call fcn.00402561
mov ecx, edi
mov dword [edi + 0x98], 0x192
call fcn.00409f36
jmp 0x40921d
xor eax, eax
push str.Verification_succeeded:
mov word [ebp - 0x20], ax
mov byte [ebp - 8], al
call fcn.004011fd
push ebx
mov ecx, eax
call fcn.00402489
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
push eax
push 0x345
push str.Installer::InstallBrowser
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x20]
call fcn.00402561
lea ecx, [ebp - 0xb8]
call fcn.0041b190
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0xac], ecx
mov ecx, dword [edi + 8]
push eax
call fcn.004229f1
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
mov ecx, str.install_stat
cmovae edx, dword [ebp - 0x3c]
call fcn.0041f368
lea ecx, [ebp - 0x3c]
call fcn.00402561
push ecx
mov ecx, edi
call fcn.0040a00a
cmp dword [edi + 0x108], ebx
jne 0x408ff3
mov ebx, dword [ebp - 0x88]
lea esi, [edi + 0x110]
push ebx
push esi
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00409321
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
push esi
mov ecx, edi
call dword [eax + 8]
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x8c], al
call fcn.00420b99
jmp 0x4091a9
mov eax, dword [edi + 0x14]
cmp byte [eax + 0x129], bl
je 0x409029
mov ecx, dword [ebp - 0x88]
add eax, 0xc8
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x1c]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.004044ab
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x9c], ecx
jmp 0x40904f
xor eax, eax
mov dword [ebp - 0x2c], ebx
push 0x452868
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00406a3a
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi + 0x14]
cmp byte [eax + 0x128], bl
je 0x40907b
add eax, 0xb0
mov dword [ebp - 0x74], ebx
push eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], ebx
call fcn.004044ab
lea ecx, [ebp - 0x84]
push 4
jmp 0x40909d
xor eax, eax
mov dword [ebp - 0x5c], ebx
push 0x452868
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.00406a3a
lea ecx, [ebp - 0x6c]
push 8
movzx eax, byte [edi + 0x1c]
lea edx, [edi + 0x50]
pop ebx
or ebx, dword [ebp - 0x8c]
push eax
movzx eax, byte [edi + 0x1d]
push eax
lea eax, [edi + 0x128]
mov dword [ebp - 0x94], ebx
push eax
push dword [ebp - 0x9c]
lea eax, [edi + 0x38]
push ecx
push eax
lea eax, [edi + 0x68]
push eax
lea ecx, [edi + 0x110]
call fcn.0040a382
add esp, 0x1c
neg al
sbb al, al
inc al
mov byte [ebp - 0x8d], al
test bl, 8
je 0x4090fd
and ebx, 0xfffffff7
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x94], ebx
call fcn.00402561
test bl, 4
je 0x409116
and ebx, 0xfffffffb
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x94], ebx
call fcn.00402561
test bl, 2
je 0x40912c
and ebx, 0xfffffffd
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x94], ebx
call fcn.00402561
test bl, 1
je 0x409142
and ebx, 0xfffffffe
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x94], ebx
call fcn.00402561
cmp byte [ebp - 0x8d], 0
je 0x409196
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 7
push str.Unexpected_error_in_CreateDelayedParamsMapping__
mov word [ebp - 0x20], ax
mov byte [ebp - 8], al
call fcn.004011fd
lea eax, [ebp - 0x20]
push eax
push eax
push 0x35f
push str.Installer::InstallBrowser
push dword [ebp - 0x88]
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x20]
call fcn.00402561
jmp 0x40921d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ebx, dword [ebp - 0x88]
mov byte [ebp - 0x8c], al
mov eax, dword [ebp - 0x98]
xor esi, esi
test eax, eax
je 0x4091c8
mov ecx, eax
call fcn.0041b0d0
push dword [ebp - 0x98]
call fcn.0042945d
pop ecx
lea ecx, [ebp - 0xa0]
call fcn.0041b190
push dword [ebp - 0x8c]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0xac]
mov eax, dword [eax + 4]
sbb eax, dword [ebp - 0xb4]
mov dword [edi + 0xc0], ecx
push ecx
mov ecx, edi
mov dword [edi + 0xc4], eax
call fcn.0040a153
mov ecx, dword [edi + 0x108]
and dword [edi + 0x108], esi
test ecx, ecx
je 0x409214
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
cmp byte [ebp - 0x8c], 0
jne 0x40922e
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x88], eax
jmp 0x4092be
and dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x3c]
push 0x15
push str.do_not_launch_browser
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.00402637
lea eax, [ebp - 0x3c]
push eax
push ecx
call fcn.004206e4
pop ecx
mov ecx, eax
call fcn.0042083d
lea ecx, [ebp - 0x3c]
mov bl, al
call fcn.004025ed
test bl, bl
je 0x409284
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x409284
mov eax, dword [ecx]
push 0x64
call dword [eax + 0x1c]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
and dword [edi + 0x10], esi
lea ecx, [ebp - 0xb8]
call fcn.0041b190
mov ecx, dword [eax]
sub ecx, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
sbb eax, dword [ebp - 0xc4]
add ecx, dword [ebp - 0xc0]
mov dword [edi + 0xb0], ecx
adc eax, dword [ebp - 0xa4]
and dword [ebp - 0x88], esi
mov dword [edi + 0xb4], eax
test esi, esi
je 0x4092d0
mov ecx, esi
call fcn.0041b0d0
push esi
call fcn.0042945d
pop ecx
mov ebx, dword [ebp - 0x94]
cmp dword [ebp - 0x44], 0
je 0x409302
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x409302
test ebx, 0x400
je 0x409302
lea ecx, [ebp - 0x1c]
call fcn.00417d90
lea ecx, [ebp - 0x54]
call fcn.00402561
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429462
mov esp, ebp
pop ebp
ret