Function at 0x5a2b20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x98
push 0xffffffffffffffff
push 0x664568
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x94], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x2c], esi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [esi + 0x20]
cmp ecx, edi
je 0x5a2b72
call fcn.0056ae10
lea ecx, [ebp - 0x14]
call fcn.004024f0
mov byte [ebp - 4], 1
mov dword [ebp], 0x94
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x5a2bb7
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 4]
push edx
push str.Windows__d._d_n
lea eax, [ebp - 0x14]
push eax
call fcn.00402f60
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.005b42c0
lea edx, [ebp - 0x28]
push edx
call fcn.006246b1
lea eax, [ebp - 0x28]
push eax
call fcn.006271ca
mov ecx, dword [ebp - 0x28]
push ecx
lea edx, [eax + 0x14]
push edx
movzx ecx, word [ebp - 0x24]
push ecx
push eax
mov edx, dword [0x75dda0]
push edx
push str._s_Time:__.19s._hu__.4s___ld_sec__nUrl
lea eax, [ebp - 0x14]
push eax
call fcn.00402f60
add esp, 0x24
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.005b42c0
cmp dword [esi + 0x104], edi
je 0x5a2cb2
push 0x678fe8
mov ecx, esi
call fcn.005b42c0
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
push eax
mov ecx, esi
call fcn.005b42c0
push 0x678e14
mov ecx, esi
call fcn.005b42c0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 4]
cmp eax, edi
jne 0x5a2c3a
mov eax, 0x67997c
push eax
mov ecx, esi
call fcn.005b42c0
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 8]
push eax
mov ecx, esi
call fcn.005b42c0
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0xc]
push edx
push str._nUser_:__s__password_:_xxx_n
lea eax, [ebp - 0x14]
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.005b42c0
mov edx, dword [esi + 0x158]
cmp dword [edx], edi
je 0x5a2cb2
push str.Downloading_via_proxy_server
mov ecx, esi
call fcn.005b42c0
mov eax, dword [esi + 0x158]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
push str._s:_ld_n
lea eax, [ebp - 0x14]
push eax
call fcn.00402f60
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.005b42c0
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x30]
push eax
mov ecx, esi
call fcn.00577630
mov ecx, dword [esi + 0x24c]
mov ebx, 1
mov dword [ecx + 0x9c], ebx
mov dword [esi + 0x1c8], edi
mov dword [esi + 0x1cc], edi
fldz
fstp qword [esi + 0x190]
push ebx
mov edx, dword [0x75ebb8]
push edx
mov ecx, esi
call fcn.005b5400
mov ecx, dword [esi + 0x24c]
mov eax, dword [ecx]
lea edx, [ecx + 0x3240]
push edx
mov eax, dword [eax + 0x18]
call eax
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x5a2d4e
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp edi, 0x2afa
jne 0x5a2d43
cmp ebx, 0x1e
jge 0x5a2f1f
mov ecx, dword [esi + 0x24c]
mov edx, dword [ecx]
lea eax, [ecx + 0x3240]
push eax
mov edx, dword [edx + 0x18]
call edx
mov edi, eax
mov dword [ebp - 0x18], edi
inc ebx
jmp 0x5a2d13
test edi, edi
jne 0x5a2f1f
lea ebx, [edi + 1]
mov ecx, dword [esi + 0x24c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esi + 0x1b8], ebx
mov ecx, esi
call fcn.005b42d0
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1b8], ebx
mov ecx, esi
call fcn.005a24a0
mov edi, eax
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x1c], 0
jne 0x5a2ea9
test edi, edi
jne 0x5a2ea9
mov eax, dword [esi + 0xb0]
cmp dword [eax + 0x58], edi
je 0x5a2dac
push ebx
mov ecx, dword [0x75eab4]
push ecx
mov ecx, esi
call fcn.005b5400
mov ecx, dword [esi + 0x86c]
xor edx, edx
cmp ecx, edx
jbe 0x5a2dc0
cmp dword [esi + 0xb0], edx
jne 0x5a2dd2
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x322d], dl
je 0x5a2e7c
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x322d], dl
jne 0x5a2df7
mov eax, dword [eax + 0x31fc]
imul eax, ecx
sub dword [esi + 0x1c0], eax
sbb dword [esi + 0x1c4], edx
jmp 0x5a2e26
mov edi, dword [eax + 0x3204]
imul edi, dword [eax + 0x31fc]
mov ecx, dword [eax + 0x3218]
mov ebx, ecx
shl ebx, 5
sub ebx, ecx
lea ecx, [edi + ebx*2]
add ecx, dword [eax + 0x3208]
mov dword [esi + 0x1c0], ecx
mov dword [esi + 0x1c4], edx
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x5a2e7c
mov eax, dword [esi + 0x24c]
mov ecx, dword [eax + 0x31fc]
push ecx
mov edx, dword [eax + 0x3200]
sub edx, dword [esi + 0x86c]
push edx
mov ecx, dword [esi + 0x1c4]
push ecx
mov edx, dword [esi + 0x1c0]
push edx
mov eax, dword [eax + 0x3208]
push eax
mov ecx, dword [esi + 0xb0]
mov edx, dword [ecx + 0x10]
push edx
call fcn.005a2200
add esp, 0x18
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x34], 0
je 0x5a2e8a
mov ecx, dword [eax + 0x34]
jmp 0x5a2e8d
lea ecx, [eax + 0x38]
push ecx
lea ecx, [eax + 0xac]
push ecx
mov edx, dword [eax + 0x374]
push edx
lea ecx, [esi + 0x28]
call fcn.0055c620
mov edi, eax
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x28]
push eax
call fcn.006246b1
mov ecx, dword [ebp - 0x28]
push ecx
push str.time__ld_n
lea edx, [ebp - 0x14]
push edx
call fcn.00402f60
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
mov ecx, esi
call fcn.005b42c0
cmp edi, 0x7574
jne 0x5a2f08
mov ecx, dword [esi + 0x24c]
mov eax, dword [ecx + 0x3208]
xor ecx, ecx
cmp eax, dword [esi + 0x1c8]
jne 0x5a2f04
cmp ecx, dword [esi + 0x1cc]
jne 0x5a2f04
mov dword [esi + 0x1c8], ecx
mov dword [esi + 0x1cc], ecx
xor edi, edi
jmp 0x5a2f1c
lea edx, [edi + 0x7ff8d8ef]
cmp edx, 0x3eb
ja 0x5a2f1f
and edi, 0xffff
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402560
mov eax, edi
jmp 0x5a2f4c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00620b8d
add ebp, 0x98
mov esp, ebp
pop ebp
ret