Function at 0x404300
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d9f1
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x44ef24]
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
xor eax, eax
mov dword [ebp - 0x220], 0
push eax
push 0x44066c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00403680
xor eax, eax
mov dword [ebp - 4], 0
xor bl, bl
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 2
push eax
push 0x44066c
lea ecx, [ebp - 0x250]
call fcn.004027d0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.004027d0
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x26c], 0x80000002
call fcn.00403eb0
add eax, 0x10
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
push eax
call fcn.00403eb0
add esp, 8
add eax, 0x10
mov dword [ebp - 0x264], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edx, dword [ebp - 0x24c]
sub eax, 5
neg eax
mov byte [ebp - 4], 4
sbb eax, eax
add edx, 0xfffffff0
and eax, 0x200
mov dword [ebp - 0x260], eax
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404442
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x250]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404464
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 7
push eax
call fcn.00404bc0
mov edx, dword [ebp - 0x264]
add esp, 8
mov esi, eax
mov byte [ebp - 4], 2
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40449b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x268]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4044b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4045a4
push str.opera
lea ecx, [ebp - 0x24c]
call fcn.004027d0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 8
call fcn.00404b60
mov edi, dword [ebp - 0x258]
mov esi, dword [ebp - 0x25c]
cmp esi, edi
je 0x404582
mov ecx, esi
call fcn.00404b60
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x404524
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jl 0x404524
push eax
push ecx
call sub.msvcrt.dll_wcsstr
add esp, 8
test eax, eax
je 0x404524
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
jne 0x40452d
add esi, 4
cmp esi, edi
jne 0x4044f4
jmp 0x404582
push esi
lea eax, [ebp - 0x250]
mov bl, 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
call fcn.00403c10
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 9
push eax
push dword [0x44e178]
push dword [ebp - 0x250]
call fcn.00403fa0
mov edx, dword [ebp - 0x250]
add esp, 0x18
mov byte [ebp - 4], 8
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404582
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24c]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4045a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
jb 0x4045b9
mov eax, dword [ebp - 0x248]
push dword [ebp - 0x238]
lea ecx, [ebp - 0x230]
push eax
call fcn.00403680
mov esi, dword [ebp - 0x25c]
mov byte [ebp - 4], 1
test esi, esi
je 0x404666
mov edi, dword [ebp - 0x258]
cmp esi, edi
je 0x40460e
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404601
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x4045e7
mov esi, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x254]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x40463e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b37
push ecx
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4046aa
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4046a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b3c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
test bl, bl
jne 0x4049fb
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 0xb
push eax
push 0x44066c
lea ecx, [ebp - 0x24c]
call fcn.004027d0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0xc
call fcn.004027d0
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
push eax
mov dword [ebp - 0x26c], 0x80000001
call fcn.00403eb0
add eax, 0x10
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xf
push eax
call fcn.00403eb0
add esp, 8
add eax, 0x10
mov dword [ebp - 0x264], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edx, dword [ebp - 0x250]
sub eax, 5
neg eax
mov byte [ebp - 4], 0xd
sbb eax, eax
add edx, 0xfffffff0
and eax, 0x200
mov dword [ebp - 0x260], eax
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40478f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24c]
or eax, 0xffffffff
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4047b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 0x10
push eax
call fcn.00404bc0
mov edx, dword [ebp - 0x264]
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4047e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x268]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404806
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4048f1
push str.opera
lea ecx, [ebp - 0x24c]
call fcn.004027d0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x11
call fcn.00404b60
mov edi, dword [ebp - 0x258]
mov esi, dword [ebp - 0x25c]
cmp esi, edi
je 0x4048cf
mov ecx, esi
call fcn.00404b60
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x404871
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jl 0x404871
push eax
push ecx
call sub.msvcrt.dll_wcsstr
add esp, 8
test eax, eax
je 0x404871
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
jne 0x40487a
add esi, 4
cmp esi, edi
jne 0x404841
jmp 0x4048cf
push esi
lea eax, [ebp - 0x250]
mov bl, 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
call fcn.00403c10
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x12
push eax
push dword [0x44e178]
push dword [ebp - 0x250]
call fcn.00403fa0
mov edx, dword [ebp - 0x250]
add esp, 0x18
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4048cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24c]
or eax, 0xffffffff
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4048f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
jb 0x404906
mov eax, dword [ebp - 0x248]
push dword [ebp - 0x238]
lea ecx, [ebp - 0x230]
push eax
call fcn.00403680
mov esi, dword [ebp - 0x25c]
mov byte [ebp - 4], 0xa
test esi, esi
je 0x4049b3
mov edi, dword [ebp - 0x258]
cmp esi, edi
je 0x40495b
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40494e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x404934
mov esi, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x254]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x40498b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b41
push ecx
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4049f7
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4049ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b46
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
test bl, bl
je 0x404a1f
cmp dword [ebp - 0x220], 0
jne 0x404a1f
lea eax, [ebp - 0x230]
push eax
push dword [0x44e174]
push dword [0x44e14c]
call fcn.00403fa0
add esp, 0xc
xor bl, bl
cmp dword [ebp - 0x220], 0
je 0x404add
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
jb 0x404a43
mov eax, dword [ebp - 0x230]
push eax
push str.TS::Browser::IsOperaInstalled
push str._s_find_opera_install_folder___s_
call fcn.00401530
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
jb 0x404a6b
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x404abc
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
jb 0x404aa1
mov eax, dword [ebp - 0x230]
push str.launcher.exe
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
jmp 0x404ad1
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
jb 0x404ad1
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x404b19
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404b0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b4b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov al, bl
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.00427ee9
mov esp, ebp
pop ebp
ret
call fcn.004262c0
call fcn.004262c0
call fcn.004262c0
call fcn.004262c0
call fcn.004262c0
int3