Function at 0x4112b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523ea2
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x569638]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
mov ecx, str.firefox.exe
call fcn.0040e5b0
add esp, 4
test al, al
jne 0x4122d0
lea eax, [ebp - 0xc8]
push eax
call fcn.0041a840
xor ecx, ecx
mov dword [ebp - 4], 0
cmp ecx, str.Firefox
je 0x412135
xor edx, edx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x44], dx
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 1
call fcn.00418a30
mov byte [ebp - 4], 2
call fcn.004275c0
test al, al
je 0x41162a
lea ecx, [ebp - 0x78]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x7c], esp
push edx
mov ecx, 0x5334f8
mov esi, 1
call fcn.0042bf40
push ecx
mov byte [ebp - 4], 3
mov eax, esp
mov dword [ebp - 0x5c], esp
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.0042bf40
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0042a8f0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00429ca0
add esp, 4
lea esi, [ebp - 0x9c]
mov edi, eax
mov byte [ebp - 4], 2
call fcn.00403490
test edi, edi
je 0x41162a
lea edx, [ebp - 0x58]
push edx
mov ecx, str.Firefox
call fcn.0042bf40
lea edi, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00428bd0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jbe 0x4113e4
call fcn.004f4962
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa4], edx
mov edi, ecx
cmp ecx, eax
jbe 0x4113f8
call fcn.004f4962
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
test esi, esi
je 0x41140d
cmp esi, dword [ebp - 0xa4]
je 0x411412
call fcn.004f4962
cmp edi, dword [ebp - 0x7c]
je 0x411607
test esi, esi
jne 0x4115fc
call fcn.004f4962
cmp edi, dword [esi + 0x10]
jb 0x411432
call fcn.004f4962
mov eax, dword [edi]
sub eax, 0x10
call fcn.0042b8e0
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00428bd0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4115af
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx - 0xc], 0
jl 0x4115af
push eax
mov edx, ecx
push edx
call fcn.004f5160
add esp, 8
test eax, eax
je 0x4115af
sub eax, dword [ebp - 0x4c]
sar eax, 1
cmp eax, 0xffffffff
je 0x4115af
mov eax, dword [0x570fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x570fac
call edx
add eax, 0x10
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00417a90
add esp, 4
mov ecx, esp
mov byte [ebp - 4], 8
mov dword [ebp - 0x84], esp
push ecx
mov ecx, str.InstallLocation
lea esi, [ebp - 0x60]
mov edi, 1
call fcn.0042bf40
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x80], esp
mov ebx, esp
call fcn.0042b8e0
add eax, 0x10
push reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 0x9c]
mov dword [ebx], eax
push edx
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0042a8f0
push eax
mov byte [ebp - 4], 0xa
call fcn.0042aa40
add esp, 4
lea esi, [ebp - 0x9c]
mov edi, eax
mov byte [ebp - 4], 8
call fcn.00403490
test edi, edi
mov edi, dword [ebp - 0x60]
je 0x41156c
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x100]
push edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edi
call fcn.00423720
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xb
call fcn.0041a8e0
lea esi, [ebp - 0x100]
call fcn.0041a940
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41158f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4115af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4115d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x411603
call fcn.004f4962
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x4115ed
call fcn.004f4962
add dword [ebp - 0x50], 4
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
jmp 0x411401
mov esi, dword [esi]
jmp 0x411428
mov eax, dword [eax]
jmp 0x4115e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41162a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov ebx, eax
cmp edi, eax
jbe 0x411641
call fcn.004f4962
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x78]
cmp edi, eax
jbe 0x41164d
call fcn.004f4962
mov ecx, dword [ebp - 0x78]
push ebx
push esi
push edi
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.0041b680
lea ecx, [ebp - 0x78]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x80], esp
push edx
mov ecx, 0x5334f8
xor esi, esi
call fcn.0042bf40
push ecx
mov byte [ebp - 4], 0xc
mov eax, esp
mov dword [ebp - 0x84], esp
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.0042bf40
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xac]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0042a8f0
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00429ca0
mov esi, eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa4]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4116e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411702
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp esi, ebx
je 0x4119df
lea ecx, [ebp - 0x58]
push ecx
mov ecx, str.Firefox
call fcn.0042bf40
lea edi, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call fcn.00428bd0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jbe 0x41173e
call fcn.004f4962
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa4], edx
mov edi, ecx
cmp ecx, eax
jbe 0x411752
call fcn.004f4962
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
jmp 0x411760
xor ebx, ebx
cmp esi, ebx
je 0x41176e
cmp esi, dword [ebp - 0xa4]
je 0x411773
call fcn.004f4962
cmp edi, dword [ebp - 0x7c]
je 0x4119bc
cmp esi, ebx
jne 0x4119b1
call fcn.004f4962
xor esi, esi
cmp edi, dword [esi + 0x10]
jb 0x411795
call fcn.004f4962
mov eax, dword [edi]
sub eax, 0x10
call fcn.0042b8e0
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call fcn.00428bd0
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x411964
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx - 0xc], 0
jl 0x411964
push eax
mov edx, ecx
push edx
call fcn.004f5160
add esp, 8
test eax, eax
je 0x411964
sub eax, dword [ebp - 0x4c]
sar eax, 1
cmp eax, 0xffffffff
je 0x411964
mov eax, dword [0x570fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x570fac
call edx
add eax, 0x10
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.00417a90
add esp, 4
mov ecx, esp
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x80], esp
push ecx
mov ecx, str.InstallLocation
lea esi, [ebp - 0x5c]
xor edi, edi
call fcn.0042bf40
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x84], esp
mov ebx, esp
call fcn.0042b8e0
add eax, 0x10
push reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 0x9c]
mov dword [ebx], eax
push edx
mov ecx, edi
mov byte [ebp - 4], 0x11
call fcn.0042a8f0
push eax
mov byte [ebp - 4], 0x13
call fcn.0042aa40
mov esi, eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411899
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4118bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x5c]
test esi, esi
je 0x411921
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x100]
push eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], ebx
call fcn.00423720
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call fcn.00420550
lea ecx, [ebp - 0xc8]
mov esi, eax
call fcn.004205f0
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea esi, [ebp - 0x100]
call fcn.0041a940
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411944
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411964
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411987
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x4119b8
call fcn.004f4962
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x4119a2
call fcn.004f4962
add dword [ebp - 0x50], 4
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
jmp 0x411760
mov esi, dword [esi]
jmp 0x41178b
mov eax, dword [eax]
jmp 0x411995
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4119df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
je 0x4119fa
mov edi, dword [ebp - 0x68]
call fcn.00429fd0
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004f3984
add esp, 4
mov edx, dword [ebp - 0x78]
push edx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
call fcn.004f3984
add esp, 4
cmp dword [ebp - 0x30], 8
jb 0x411a21
mov eax, dword [ebp - 0x44]
push eax
call fcn.004f3984
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], cx
lea edx, [ebp - 0x78]
push edx
mov byte [ebp - 4], 0x15
call fcn.00418a30
mov byte [ebp - 4], 0x16
call fcn.004275c0
test al, al
je 0x411d39
lea eax, [ebp - 0x78]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push ecx
mov ecx, 0x5334f8
mov esi, 1
call fcn.0042bf40
push ecx
mov byte [ebp - 4], 0x17
mov edx, esp
mov dword [ebp - 0x84], esp
push edx
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.0042bf40
push SysReAllocStringLen
lea eax, [ebp - 0x9c]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.0042a8f0
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00429ca0
add esp, 4
lea esi, [ebp - 0x9c]
mov edi, eax
mov byte [ebp - 4], 0x16
call fcn.00403490
cmp edi, ebx
je 0x411d39
lea ecx, [ebp - 0x58]
push ecx
mov ecx, str.Firefox
call fcn.0042bf40
lea edi, [ebp - 0x58]
mov byte [ebp - 4], 0x19
call fcn.00428bd0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jbe 0x411af1
call fcn.004f4962
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa4], edx
mov edi, ecx
cmp ecx, eax
jbe 0x411b05
call fcn.004f4962
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
mov edi, edi
test esi, esi
je 0x411b1c
cmp esi, dword [ebp - 0xa4]
je 0x411b21
call fcn.004f4962
cmp edi, dword [ebp - 0x7c]
je 0x411d16
test esi, esi
jne 0x411d0b
call fcn.004f4962
cmp edi, dword [esi + 0x10]
jb 0x411b41
call fcn.004f4962
mov eax, dword [edi]
sub eax, 0x10
call fcn.0042b8e0
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0x1a
call fcn.00428bd0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x411cbe
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx - 0xc], 0
jl 0x411cbe
push eax
mov edx, ecx
push edx
call fcn.004f5160
add esp, 8
test eax, eax
je 0x411cbe
sub eax, dword [ebp - 0x4c]
sar eax, 1
cmp eax, 0xffffffff
je 0x411cbe
mov eax, dword [0x570fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x570fac
call edx
add eax, 0x10
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1b
call fcn.00417a90
add esp, 4
mov ecx, esp
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x80], esp
push ecx
mov ecx, str.InstallLocation
lea esi, [ebp - 0x5c]
mov edi, 1
call fcn.0042bf40
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x84], esp
mov ebx, esp
call fcn.0042b8e0
add eax, 0x10
push SysReAllocStringLen
lea edx, [ebp - 0x9c]
mov dword [ebx], eax
push edx
mov ecx, edi
mov byte [ebp - 4], 0x1c
call fcn.0042a8f0
push eax
mov byte [ebp - 4], 0x1e
call fcn.0042aa40
add esp, 4
lea esi, [ebp - 0x9c]
mov edi, eax
mov byte [ebp - 4], 0x1c
call fcn.00403490
test edi, edi
mov edi, dword [ebp - 0x5c]
je 0x411c7b
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x100]
push edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edi
call fcn.00423720
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x1f
call fcn.0041a8e0
lea esi, [ebp - 0x100]
call fcn.0041a940
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411c9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x1a
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411cbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ce1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x411d12
call fcn.004f4962
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x411cfc
call fcn.004f4962
add dword [ebp - 0x50], 4
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
jmp 0x411b10
mov esi, dword [esi]
jmp 0x411b37
mov eax, dword [eax]
jmp 0x411cef
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411d39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov ebx, eax
cmp edi, eax
jbe 0x411d50
call fcn.004f4962
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x78]
cmp edi, eax
jbe 0x411d5c
call fcn.004f4962
mov ecx, dword [ebp - 0x78]
push ebx
push esi
push edi
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.0041b680
lea ecx, [ebp - 0x78]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x80], esp
push edx
mov ecx, 0x5334f8
xor esi, esi
call fcn.0042bf40
push ecx
mov byte [ebp - 4], 0x20
mov eax, esp
mov dword [ebp - 0x84], esp
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.0042bf40
push SysReAllocStringLen
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.0042a8f0
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.00429ca0
mov esi, eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411def
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4120e3
lea ecx, [ebp - 0x58]
push ecx
mov ecx, str.Firefox
call fcn.0042bf40
lea edi, [ebp - 0x58]
mov byte [ebp - 4], 0x22
call fcn.00428bd0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jbe 0x411e4b
call fcn.004f4962
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa4], edx
mov edi, ecx
cmp ecx, eax
jbe 0x411e5f
call fcn.004f4962
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
test esi, esi
je 0x411e74
cmp esi, dword [ebp - 0xa4]
je 0x411e79
call fcn.004f4962
cmp edi, dword [ebp - 0x7c]
je 0x4120c0
test esi, esi
jne 0x4120b5
call fcn.004f4962
cmp edi, dword [esi + 0x10]
jb 0x411e99
call fcn.004f4962
mov eax, dword [edi]
sub eax, 0x10
call fcn.0042b8e0
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0x23
call fcn.00428bd0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x412068
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx - 0xc], 0
jl 0x412068
push eax
mov edx, ecx
push edx
call fcn.004f5160
add esp, 8
test eax, eax
je 0x412068
sub eax, dword [ebp - 0x4c]
sar eax, 1
cmp eax, 0xffffffff
je 0x412068
mov eax, dword [0x570fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x570fac
call edx
add eax, 0x10
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, edi
mov byte [ebp - 4], 0x24
call fcn.00417a90
add esp, 4
mov ecx, esp
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x80], esp
push ecx
mov ecx, str.InstallLocation
lea esi, [ebp - 0x5c]
xor edi, edi
call fcn.0042bf40
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x84], esp
mov ebx, esp
call fcn.0042b8e0
add eax, 0x10
push SysReAllocStringLen
lea edx, [ebp - 0x9c]
mov dword [ebx], eax
push edx
mov ecx, edi
mov byte [ebp - 4], 0x25
call fcn.0042a8f0
push eax
mov byte [ebp - 4], 0x27
call fcn.0042aa40
mov esi, eax
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411fbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x5c]
test esi, esi
je 0x412025
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x100]
push eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], ebx
call fcn.00423720
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call fcn.00420550
lea ecx, [ebp - 0xc8]
mov esi, eax
call fcn.004205f0
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea esi, [ebp - 0x100]
call fcn.0041a940
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412048
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x23
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412068
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41208b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x4120bc
call fcn.004f4962
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x4120a6
call fcn.004f4962
add dword [ebp - 0x50], 4
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
jmp 0x411e68
mov esi, dword [esi]
jmp 0x411e8f
mov eax, dword [eax]
jmp 0x412099
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4120e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4120fe
mov edi, dword [ebp - 0x68]
call fcn.00429fd0
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004f3984
add esp, 4
mov edx, dword [ebp - 0x78]
push edx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.004f3984
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x412135
mov eax, dword [ebp - 0x44]
push eax
call fcn.004f3984
add esp, 4
xor ecx, ecx
push ecx
push 0x5334f8
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
call fcn.0042b220
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0xb4]
mov edi, dword [edx]
mov ebx, dword [ebp - 0xc8]
lea esp, [esp]
mov esi, dword [ebp - 0xb4]
test ebx, ebx
je 0x412182
cmp ebx, dword [ebp - 0xc8]
je 0x412187
call fcn.004f4962
cmp edi, esi
je 0x412278
test ebx, ebx
jne 0x412219
call fcn.004f4962
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4121a8
call fcn.004f4962
push str._firefox.exe
lea ecx, [edi + 0x24]
lea esi, [ebp - 0x48]
call fcn.00422fc0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x2a
call fcn.0042aee0
mov byte [ebp - 4], 0x29
cmp dword [ebp - 0x30], 8
jb 0x4121e2
mov eax, dword [ebp - 0x44]
push eax
call fcn.004f3984
add esp, 4
mov eax, dword [ebp - 0x28]
mov esi, 8
cmp dword [ebp - 0x14], esi
jae 0x4121f2
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412221
test ebx, ebx
jne 0x41221d
call fcn.004f4962
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x412212
call fcn.004f4962
mov edi, dword [edi]
jmp 0x412170
mov eax, dword [ebx]
jmp 0x41219e
mov eax, dword [ebx]
jmp 0x412208
cmp dword [ebp - 0x14], esi
jb 0x412232
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004f3984
add esp, 4
lea eax, [ebp - 0xc8]
xor edx, edx
xor esi, esi
push eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], dx
call fcn.004204c0
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.004f3984
mov edx, dword [ebp - 0xc8]
add esp, 4
push edx
mov dword [ebp - 0xb4], esi
call fcn.004f3984
add esp, 4
mov al, 1
jmp 0x4122ea
cmp dword [ebp - 0x14], 8
jb 0x41228a
mov eax, dword [ebp - 0x28]
push eax
call fcn.004f3984
add esp, 4
lea edx, [ebp - 0xc8]
xor ecx, ecx
xor esi, esi
push edx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], cx
call fcn.004204c0
mov eax, dword [ebp - 0xb4]
push eax
call fcn.004f3984
mov ecx, dword [ebp - 0xc8]
add esp, 4
push ecx
mov dword [ebp - 0xb4], esi
call fcn.004f3984
add esp, 4
xor al, al
jmp 0x4122ea
cmp dword [esi + 0x18], 8
jb 0x4122db
mov esi, dword [esi + 4]
jmp 0x4122de
add esi, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f398f
mov esp, ebp
pop ebp
ret