Function at 0x423360
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x480d99
mov eax, dword fs:[0]
push eax
sub esp, 0x698
mov eax, dword [0x49eb88]
xor eax, esp
mov dword [esp + 0x694], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49eb88]
xor eax, esp
push eax
lea eax, [esp + 0x6ac]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x6bc]
mov ecx, dword [esp + 0x6cc]
mov esi, dword [esp + 0x6c0]
mov edi, dword [esp + 0x6c4]
mov ebp, dword [esp + 0x6c8]
push eax
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x24], ecx
mov byte [esp + 0x1f], 0
call fcn.00430350
add esp, 8
push 4
xor eax, eax
mov ebx, 7
push str._url
lea ecx, [esp + 0x60]
mov dword [esp + 0x6bc], 0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
call fcn.00422f20
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x6c0], 1
call fcn.0042eeb0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c0], 2
call fcn.00422e20
cmp dword [esp + 0x8c], 8
jb 0x423458
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0044f90c
add esp, 4
xor edx, edx
cmp dword [esp + 0x70], 8
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], 0
mov word [esp + 0x78], dx
mov byte [esp + 0x6b4], dl
jb 0x42348c
mov eax, dword [esp + 0x5c]
push eax
call fcn.0044f90c
add esp, 4
cmp dword [esp + 0x50], 0
je 0x423a4e
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x4234a6
lea eax, [esp + 0x40]
push str._softmgr_id:
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x423675
xor ecx, ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], cx
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x6b8], 3
call fcn.0042fea0
add esp, 4
test al, al
je 0x42364f
cmp dword [esp + 0x50], 0
je 0x42364f
push str._softmgr_id:
lea ecx, [esp + 0x24]
call fcn.004230d0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x6c0], 4
call fcn.00423260
add esp, 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x6b4], 6
call fcn.00422d20
cmp dword [esp + 0x88], 0
jne 0x42355f
lea ecx, [esp + 0x74]
call fcn.00422d20
lea ecx, [esp + 0x58]
call fcn.00422d20
lea ecx, [esp + 0x3c]
call fcn.00422d20
xor al, al
jmp 0x423a66
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x2a2]
push ecx
mov word [esp + 0x2a4], ax
call fcn.00450880
mov eax, dword [esp + 0x68]
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x70], esi
jae 0x423592
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4235d5
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], esi
jae 0x4235ae
lea ecx, [esp + 0x78]
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], esi
jae 0x4235bc
lea eax, [esp + 0x5c]
push ecx
push eax
push str.__s___DOWNLOAD_s
lea edx, [esp + 0x2a4]
push 0xffffffffffffffff
push edx
call fcn.00422430
add esp, 0x14
cmp word [esp + 0x298], 0
je 0x423644
push 0
push 0
lea eax, [esp + 0x2a0]
push 0
push eax
call fcn.0042dc40
add esp, 0x10
test eax, eax
je 0x423644
cmp dword [ebp + 0x18], esi
jb 0x423604
mov eax, dword [ebp + 4]
jmp 0x423607
lea eax, [ebp + 4]
push eax
call fcn.0045221c
add esp, 4
mov edi, eax
call fcn.0042cba0
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x18], esi
jb 0x423627
mov edx, ecx
mov esi, dword [edx + 4]
jmp 0x42362c
mov esi, ecx
add esi, 4
call fcn.0042cba0
mov eax, dword [eax + 8]
push esi
push eax
push edi
call fcn.0042bf60
add esp, 0xc
mov esi, 8
lea ecx, [esp + 0x74]
call fcn.00422d20
jmp 0x423654
mov esi, 8
mov byte [esp + 0x17], 0
cmp dword [esp + 0x70], esi
jb 0x423a4e
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0044f90c
add esp, 4
jmp 0x423a4e
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x423684
lea eax, [esp + 0x40]
push 4
push str._URL
push eax
call fcn.004528a3
add esp, 0xc
test eax, eax
jne 0x423745
lea ebx, [eax + 8]
cmp dword [esi + 0x14], eax
je 0x4236d6
cmp dword [edi + 0x18], ebx
jb 0x4236ae
mov edi, dword [edi + 4]
jmp 0x4236b1
add edi, 4
cmp dword [esi + 0x18], ebx
jb 0x4236bb
mov esi, dword [esi + 4]
jmp 0x4236be
add esi, 4
mov ecx, dword [esp + 0x18]
push edi
push esi
call fcn.00422090
test eax, eax
setne al
mov byte [esp + 0x17], al
test al, al
jne 0x4236ff
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], ebx
jae 0x4236e4
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
push eax
call fcn.00422220
test eax, eax
setne al
mov byte [esp + 0x17], al
test al, al
je 0x423a4e
cmp dword [ebp + 0x18], ebx
jb 0x423709
mov eax, dword [ebp + 4]
jmp 0x42370c
lea eax, [ebp + 4]
push eax
call fcn.0045221c
add esp, 4
mov edi, eax
call fcn.0042cba0
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x18], ebx
jb 0x42372a
mov esi, dword [esi + 4]
jmp 0x42372d
add esi, 4
call fcn.0042cba0
mov edx, dword [eax + 8]
push esi
push edx
push edi
call fcn.0042bf60
add esp, 0xc
jmp 0x423a4e
mov eax, dword [esp + 0x40]
mov edi, 8
cmp dword [esp + 0x54], edi
jae 0x423758
lea eax, [esp + 0x40]
push 0xa
push str._setdefbro
push eax
call fcn.004528a3
add esp, 0xc
test eax, eax
jne 0x4239a5
push 0x206
push eax
lea ecx, [esp + 0x9a]
push ecx
mov word [esp + 0x9c], ax
call fcn.00450880
add esp, 0xc
push str.__make_default_browser
lea ecx, [esp + 0x78]
call fcn.004230d0
mov eax, dword [esp + 0x40]
mov byte [esp + 0x6b4], bl
cmp dword [esp + 0x54], edi
jae 0x4237b1
lea eax, [esp + 0x40]
push 0xc
push str._setdefbro:5
push eax
call fcn.004528a3
add esp, 0xc
test eax, eax
jne 0x4237ee
lea edx, [esp + 0x90]
push 0x103
push edx
call fcn.0042cba0
mov ecx, eax
call fcn.0042cbd0
push str._tp:2__v:1
lea ecx, [esp + 0x78]
call fcn.00423130
jmp 0x423866
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], edi
jae 0x4237fc
lea eax, [esp + 0x40]
push 0xc
push str._setdefbro:6
push eax
call fcn.004528a3
add esp, 0xc
test eax, eax
jne 0x42382b
lea eax, [esp + 0x90]
push 0x103
push eax
call fcn.0042cba0
mov ecx, eax
call fcn.0042b6d0
jmp 0x423866
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], edi
jae 0x423839
lea eax, [esp + 0x40]
push 0xc
push str._setdefbro:c
push eax
call fcn.004528a3
add esp, 0xc
test eax, eax
jne 0x423866
lea ecx, [esp + 0x90]
push 0x103
push ecx
call fcn.0042cba0
mov ecx, eax
call fcn.0042c740
lea edx, [esp + 0x90]
push edx
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4238f9
lea eax, [esp + 0x90]
push eax
call fcn.0042e110
add esp, 4
test eax, eax
je 0x4238f9
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2a2]
push edx
mov word [esp + 0x2a4], cx
call fcn.00450880
mov eax, dword [esp + 0x84]
add esp, 0xc
cmp dword [esp + 0x8c], edi
jae 0x4238c2
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x94]
push eax
push str.__s___s
lea ecx, [esp + 0x2a4]
push 0x104
push ecx
call fcn.0044fdd8
lea edx, [esp + 0x2ac]
push 0xea60
push edx
call fcn.0042dcf0
add esp, 0x1c
mov esi, eax
push 9
push 0
push str._openurl:
lea ecx, [esp + 0x48]
call fcn.00422570
cmp eax, 0xffffffff
je 0x423a45
mov ecx, dword [esp + 0x50]
sub ecx, eax
cmp ecx, 1
jbe 0x423a45
push 0xffffffffffffffff
add eax, 9
push eax
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x48]
call fcn.00423160
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x6b4], 8
test esi, esi
je 0x423965
cmp dword [esp + 0x70], edi
jae 0x423951
lea eax, [esp + 0x5c]
push eax
push 0
call fcn.00430800
add esp, 8
lea ecx, [esp + 0x58]
jmp 0x423a40
cmp dword [esp + 0x70], edi
jae 0x42396f
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
call fcn.004230d0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x6b8], 9
call fcn.00422890
lea ecx, [esp + 0x20]
mov byte [esp + 0x17], al
call fcn.00422d20
lea ecx, [esp + 0x58]
jmp 0x423a40
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], edi
jae 0x4239b3
lea eax, [esp + 0x40]
push 1
push str._openurl:
push eax
call fcn.004528a3
add esp, 0xc
test eax, eax
jne 0x423a4e
push eax
push str._openurl:
lea ecx, [esp + 0x44]
call fcn.00422a90
cmp eax, 0xffffffff
je 0x423a4e
mov ecx, dword [esp + 0x50]
sub ecx, eax
cmp ecx, 1
jbe 0x423a4e
push 0xffffffffffffffff
add eax, 9
push eax
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x48]
call fcn.00423160
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
mov byte [esp + 0x6b4], 0xa
jae 0x423a18
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x24]
call fcn.004230d0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x6b8], 0xb
call fcn.00422890
mov byte [esp + 0x17], al
lea ecx, [esp + 0x20]
call fcn.00422d20
lea ecx, [esp + 0x74]
call fcn.00422d20
cmp dword [esp + 0x54], 8
jb 0x423a62
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0044f90c
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x6ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x694]
xor ecx, esp
call fcn.0044f9f3
add esp, 0x6a4
ret 0x14
jmp 0x423360