Function at 0x41914a
Capabilities:
Check if file exists

Disassembly:
push 0x640
mov eax, 0x5bd915
call fcn.00580f0a
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58c], eax
mov edi, ecx
mov dword [ebp - 0x590], ebx
push eax
call fcn.004137bf
mov dword [ebp - 4], ebx
xor esi, esi
inc esi
mov dword [ebp - 0x590], esi
push 0x1c
lea eax, [ebp - 0x580]
push eax
call fcn.00471ff0
mov dword [ebp - 4], esi
push 0x670fe8
lea ecx, [ebp - 0x57c]
push ecx
mov ecx, eax
call fcn.0040fc53
mov byte [ebp - 4], 2
push edi
lea ecx, [ebp - 0x584]
push ecx
mov ecx, eax
call fcn.0040fc53
mov byte [ebp - 4], 3
push 0x676f20
lea ecx, [ebp - 0x588]
push ecx
mov ecx, eax
call fcn.0040fc53
add esp, 0x20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x584]
call fcn.004085a2
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x57c]
call fcn.004085a2
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x580]
call fcn.004085a2
push 0x676f38
lea eax, [ebp - 0x580]
push eax
lea ecx, [ebp - 0x588]
call fcn.0040fc53
pop ecx
pop ecx
mov byte [ebp - 4], 8
mov eax, dword [eax]
lea ecx, [ebp - 0x574]
push ecx
mov ecx, eax
call fcn.00472420
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x580]
call fcn.004085a2
lea eax, [ebp - 0x30c]
push eax
lea edi, [ebp - 0x574]
call fcn.00472680
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xbc]
cmp dword [eax - 0xc], ebx
je 0x41956d
cmp dword [ebp - 0x30c], 0xffffffff
je 0x419558
test byte [ebp - 0x30c], 0x10
je 0x419558
push 0x670fe8
lea eax, [ebp - 0x598]
push eax
lea ecx, [ebp - 0x588]
call fcn.0040fc53
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2e0]
push ecx
lea ecx, [ebp - 0x580]
push ecx
mov ecx, eax
call fcn.0040fc53
mov byte [ebp - 4], 0xd
push str.Preferences
lea ecx, [ebp - 0x57c]
push ecx
mov ecx, eax
call fcn.0040fc53
add esp, 0x18
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x580]
call fcn.004085a2
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x598]
call fcn.004085a2
push dword [ebp - 0x57c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419549
mov byte [ebp - 4], 0x11
push ebx
lea ecx, [ebp - 0x5e4]
call fcn.004a42f0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xb4]
call fcn.004a9280
mov byte [ebp - 4], 0x13
push dword [ebp - 0x57c]
lea eax, [ebp - 0x584]
push eax
call fcn.0046f3d0
pop ecx
pop ecx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x584]
cmp dword [eax - 0xc], 0xa00000
jge 0x4194d0
push eax
lea ecx, [ebp - 0x630]
call fcn.00407d1c
mov byte [ebp - 4], 0x15
push esi
lea eax, [ebp - 0x5e4]
push eax
lea eax, [ebp - 0x630]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004a9350
mov byte [ebp - 0x575], al
mov byte [ebp - 4], 0x14
push ebx
push esi
lea ecx, [ebp - 0x630]
call fcn.00409746
cmp byte [ebp - 0x575], bl
je 0x4194d0
push ebx
lea ecx, [ebp - 0x614]
call fcn.004a42f0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x614]
push eax
push str.download
lea eax, [ebp - 0x5cc]
push eax
lea ecx, [ebp - 0x5e4]
call fcn.004a5890
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x614]
call fcn.004a4860
lea ecx, [ebp - 0x5cc]
call fcn.004a5930
test al, al
jne 0x4194c1
lea ecx, [ebp - 0x5cc]
call fcn.004a5990
test al, al
je 0x4194c1
push ebx
lea ecx, [ebp - 0x5fc]
call fcn.004a42f0
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x5fc]
push eax
push str.default_directory
lea eax, [ebp - 0x5b4]
push eax
lea ecx, [ebp - 0x5cc]
call fcn.004a5890
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x5fc]
call fcn.004a4860
lea ecx, [ebp - 0x5b4]
call fcn.004a5930
test al, al
jne 0x4194b2
lea ecx, [ebp - 0x5b4]
call fcn.004a5950
test al, al
je 0x4194b2
lea eax, [ebp - 0x64c]
push eax
lea ecx, [ebp - 0x5b4]
call fcn.004a4c70
mov byte [ebp - 4], 0x1c
cmp dword [eax + 0x18], 0x10
jb 0x419470
mov eax, dword [eax + 4]
jmp 0x419473
add eax, 4
push eax
lea eax, [ebp - 0x594]
push eax
call fcn.00470690
pop ecx
pop ecx
mov byte [ebp - 4], 0x1d
push eax
mov eax, dword [ebp - 0x58c]
call fcn.0041395f
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x594]
call fcn.004085a2
mov byte [ebp - 4], 0x1b
push ebx
push esi
lea ecx, [ebp - 0x64c]
call fcn.00409746
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x5b4]
call fcn.004a4860
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x5cc]
call fcn.004a4860
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x584]
call fcn.00408461
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], 0x20
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00409746
mov byte [ebp - 4], 0x1f
push ebx
push esi
lea ecx, [ebp - 0x74]
call fcn.00409746
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x94]
push eax
call fcn.00419fab
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xb4]
push eax
call fcn.0041961e
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x5e4]
call fcn.004a4860
mov dword [ebp - 4], 0x10
jmp 0x419549
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x57c]
call fcn.004085a2
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x30c]
push eax
call fcn.004195a7
jmp 0x41923b
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x30c]
push eax
call fcn.004195a7
mov byte [ebp - 4], 7
lea eax, [ebp - 0x574]
push eax
call fcn.00472590
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x588]
call fcn.004085a2
mov eax, dword [ebp - 0x58c]
call fcn.00580f66
ret