Function at 0x42dc90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61532d
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x711ab8]
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.00443eb0
mov dword [ebp - 4], ebx
mov ebx, 1
mov dword [ebp - 0x588], ebx
push 0x1c
lea eax, [ebp - 0x574]
push eax
call fcn.004c26c0
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x578]
push ecx
mov ebx, 0x6ca140
call fcn.0041e2b0
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x57c]
push edx
mov ebx, esi
call fcn.0041e2b0
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x580]
push eax
mov ebx, 0x6d0630
call fcn.0041e2b0
add esp, 0x20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x57c]
call fcn.0040ba40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x578]
call fcn.0040ba40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x574]
call fcn.0040ba40
lea ecx, [ebp - 0x580]
push ecx
lea edx, [ebp - 0x574]
push edx
mov ebx, 0x6d0648
call fcn.0041e2b0
add esp, 8
mov byte [ebp - 4], 8
mov eax, dword [eax]
lea ecx, [ebp - 0x570]
push ecx
mov ecx, eax
call fcn.004c2920
mov bl, 0xa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x574]
call fcn.0040ba40
jmp 0x42ddb0
lea edx, [ebp - 0x308]
push edx
lea eax, [ebp - 0x570]
push eax
call fcn.004c2a90
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xb8]
cmp dword [ecx - 0xc], 0
je 0x42e116
mov eax, dword [ebp - 0x308]
cmp eax, 0xffffffff
je 0x42e0d9
test al, 0x10
je 0x42e0d9
lea edx, [ebp - 0x580]
push edx
lea eax, [ebp - 0x584]
push eax
mov ebx, 0x6ca140
call fcn.0041e2b0
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x574]
push ecx
lea ebx, [ebp - 0x2dc]
call fcn.0041e2b0
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x578]
push edx
mov ebx, str.Preferences
call fcn.0041e2b0
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 0x42de5c
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 0x42de82
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 0x42e0b1
mov byte [ebp - 4], 0x13
push 0
lea ecx, [ebp - 0x5e0]
call fcn.004e9550
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xb0]
call fcn.004f0280
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x578]
push edx
lea eax, [ebp - 0x57c]
push eax
call fcn.004c0fa0
add esp, 8
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x57c]
cmp dword [eax - 0xc], 0xa00000
jge 0x42e067
push eax
lea ecx, [ebp - 0x62c]
call fcn.0040abb0
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.004f0350
mov bl, al
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x62c]
call fcn.0040ac20
test bl, bl
je 0x42e067
push 0
lea ecx, [ebp - 0x610]
call fcn.004e9550
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.004eb010
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x610]
call fcn.004e9ac0
lea ecx, [ebp - 0x5c8]
call fcn.004eb340
test al, al
jne 0x42e058
lea ecx, [ebp - 0x5c8]
call fcn.004eb4d0
test al, al
je 0x42e058
push 0
lea ecx, [ebp - 0x5f8]
call fcn.004e9550
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.004eb010
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x5f8]
call fcn.004e9ac0
lea ecx, [ebp - 0x5b0]
call fcn.004eb340
test al, al
jne 0x42e049
lea ecx, [ebp - 0x5b0]
call fcn.004eb490
test al, al
je 0x42e049
lea ecx, [ebp - 0x648]
push ecx
lea ecx, [ebp - 0x5b0]
call fcn.004e9ed0
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x18], 0x10
jb 0x42e00d
mov eax, dword [eax + 4]
jmp 0x42e010
add eax, 4
push eax
lea edx, [ebp - 0x58c]
push edx
call fcn.004c1530
add esp, 8
mov byte [ebp - 4], 0x1f
mov ebx, eax
call fcn.00424a30
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x58c]
call fcn.0040ba40
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x648]
call fcn.0040ac20
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x5b0]
call fcn.004e9ac0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x5c8]
call fcn.004e9ac0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x57c]
call fcn.0040b810
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xb0]
push eax
call fcn.0042e200
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5e0]
call fcn.004e9ac0
mov dword [ebp - 4], 0x11
jmp 0x42e0b1
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 0x42e0d7
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 0x42ddb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42ddb0
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 0x42e14a
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.004c2a00
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 0x42e183
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.005c397a
mov esp, ebp
pop ebp
ret