Function at 0x425010
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5df2ad
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x6d26f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov dword [ebp - 0x594], edi
mov esi, edx
mov dword [ebp - 0x588], ebx
push edi
call fcn.0041d3b0
mov dword [ebp - 4], ebx
mov ebx, 1
mov dword [ebp - 0x588], ebx
push 0x1c
lea eax, [ebp - 0x574]
push eax
call fcn.0049a8e0
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x578]
push ecx
mov ebx, 0x692fe8
call fcn.004176f0
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x57c]
push edx
mov ebx, esi
call fcn.004176f0
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x580]
push eax
mov ebx, 0x698f28
call fcn.004176f0
add esp, 0x20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x57c]
call fcn.0040b950
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x578]
call fcn.0040b950
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x574]
call fcn.0040b950
lea ecx, [ebp - 0x580]
push ecx
lea edx, [ebp - 0x574]
push edx
mov ebx, 0x698f40
call fcn.004176f0
add esp, 8
mov byte [ebp - 4], 8
mov eax, dword [eax]
lea ecx, [ebp - 0x570]
push ecx
mov ecx, eax
call fcn.0049abd0
mov bl, 0xa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x574]
call fcn.0040b950
jmp 0x425130
lea edx, [ebp - 0x308]
push edx
lea eax, [ebp - 0x570]
push eax
call fcn.0049ad40
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xb8]
cmp dword [ecx - 0xc], 0
je 0x425496
mov eax, dword [ebp - 0x308]
cmp eax, 0xffffffff
je 0x425459
test al, 0x10
je 0x425459
lea edx, [ebp - 0x580]
push edx
lea eax, [ebp - 0x584]
push eax
mov ebx, 0x692fe8
call fcn.004176f0
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x574]
push ecx
lea ebx, [ebp - 0x2dc]
call fcn.004176f0
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x578]
push edx
mov ebx, str.Preferences
call fcn.004176f0
add esp, 0x18
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x574]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4251dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x584]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425202
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x578]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425431
mov byte [ebp - 4], 0x13
push 0
lea ecx, [ebp - 0x5e0]
call fcn.004c4540
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xb0]
call fcn.004c9500
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x578]
push edx
lea eax, [ebp - 0x57c]
push eax
call fcn.00498e70
add esp, 8
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x57c]
cmp dword [eax - 0xc], 0xa00000
jge 0x4253e7
push eax
lea ecx, [ebp - 0x62c]
call fcn.0040abf0
mov byte [ebp - 4], 0x17
push 1
lea ecx, [ebp - 0x5e0]
push ecx
lea edx, [ebp - 0x62c]
push edx
lea ecx, [ebp - 0xb0]
call fcn.004c95d0
mov bl, al
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x62c]
call fcn.0040ac60
test bl, bl
je 0x4253e7
push 0
lea ecx, [ebp - 0x610]
call fcn.004c4540
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x610]
push eax
push str.download
lea ecx, [ebp - 0x5c8]
push ecx
lea ecx, [ebp - 0x5e0]
call fcn.004c5af0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x610]
call fcn.004c4ab0
lea ecx, [ebp - 0x5c8]
call fcn.004c5b90
test al, al
jne 0x4253d8
lea ecx, [ebp - 0x5c8]
call fcn.004c5bf0
test al, al
je 0x4253d8
push 0
lea ecx, [ebp - 0x5f8]
call fcn.004c4540
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0x5f8]
push edx
push str.default_directory
lea eax, [ebp - 0x5b0]
push eax
lea ecx, [ebp - 0x5c8]
call fcn.004c5af0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x5f8]
call fcn.004c4ab0
lea ecx, [ebp - 0x5b0]
call fcn.004c5b90
test al, al
jne 0x4253c9
lea ecx, [ebp - 0x5b0]
call fcn.004c5bb0
test al, al
je 0x4253c9
lea ecx, [ebp - 0x648]
push ecx
lea ecx, [ebp - 0x5b0]
call fcn.004c4ed0
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x18], 0x10
jb 0x42538d
mov eax, dword [eax + 4]
jmp 0x425390
add eax, 4
push eax
lea edx, [ebp - 0x58c]
push edx
call fcn.00499810
add esp, 8
mov byte [ebp - 4], 0x1f
mov ebx, eax
call fcn.0041ce00
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x58c]
call fcn.0040b950
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x648]
call fcn.0040ac60
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x5b0]
call fcn.004c4ab0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x5c8]
call fcn.004c4ab0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x57c]
call fcn.0040b720
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xb0]
push eax
call fcn.00425580
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5e0]
call fcn.004c4ab0
mov dword [ebp - 4], 0x11
jmp 0x425431
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x578]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425457
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 0xa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x590], ecx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425130
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x425130
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x590], ecx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4254ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x570]
push ecx
call fcn.0049acb0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x580]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425503
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059393a
mov esp, ebp
pop ebp
ret