Function at 0x5aa300
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6001e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xc4], ebx
mov edi, dword [ebp + 8]
push 0
push 0
push 0x1004
push edi
mov dword [ebp - 0xbc], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [ebp - 0xcc], esi
test esi, esi
je 0x5aa706
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x40], xmm0
call fcn.005dc5e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x34], xmm0
call fcn.005dc5e0
push 0x78
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea ecx, [ebp - 0xb8]
call fcn.005af000
push 0
push 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.005db9a0
push 0
push 0
push 0x1000
lea ecx, [ebp - 0x34]
call fcn.005db9a0
mov edx, dword [ebp - 0xcc]
mov esi, 0
mov ecx, dword [ebx + 0x1c]
and ecx, 0x20
mov dword [ebp - 0xc8], ecx
lea eax, [edx - 1]
cmovbe esi, eax
test ecx, ecx
je 0x5aa430
xor eax, eax
cmp esi, edx
setl al
jmp 0x5aa437
mov eax, esi
not eax
shr eax, 0x1f
test eax, eax
je 0x5aa6aa
lea ecx, [ebp - 0x28]
call fcn.005dc380
push 0x1000
lea ecx, [ebp - 0x34]
call fcn.005dc190
push eax
push dword [ebp + 0x10]
mov edx, esi
mov ecx, edi
call fcn.005ca570
cmp eax, 5
jle 0x5aa4a2
push 0
lea ecx, [ebp - 0x34]
call fcn.005dba50
test al, al
je 0x5aa4a2
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
jne 0x5aa69e
lea ecx, [ebp - 0x34]
call fcn.005dafb0
cmp eax, dword [ebp + 0x14]
jg 0x5aa698
push 0
push esi
push 0x1008
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1c]
call fcn.005dc380
push 0x1000
call fcn.005dc190
push eax
push dword [ebp + 0xc]
mov edx, esi
mov ecx, edi
call fcn.005ca570
mov dword [ebp - 0xc0], eax
cmp eax, 4
jl 0x5aa68e
push 4
push 1
push 1
push 0
push str.http
lea ecx, [ebp - 0x1c]
call fcn.005daa70
test eax, eax
jne 0x5aa5ce
push 4
push 1
push 1
push eax
push str.www.
lea ecx, [ebp - 0x1c]
call fcn.005daa70
test eax, eax
jne 0x5aa5ce
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push 0
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, ebx
call fcn.005aa730
mov edi, eax
mov dword [ebp - 0xd0], edi
mov ebx, edi
test edi, edi
jne 0x5aa58f
mov eax, dword [ebp - 0xc4]
test dword [eax + 0x1c], 0x800
je 0x5aa58f
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5aa58f
lea ecx, [ebp - 0x1c]
call fcn.005dc190
mov ecx, dword [ebp - 0xc4]
mov edi, eax
lea ecx, [ecx + 0xc]
call fcn.005dc190
mov edx, edi
mov ecx, eax
call fcn.005d3780
test al, al
je 0x5aa58f
lea ecx, [ebp - 0x1c]
call fcn.005dc190
mov ecx, dword [ebp - 0xc4]
push eax
call fcn.005acb20
mov edi, dword [ebp - 0xbc]
cmp dword [ebp - 0xc8], 0
ja 0x5aa652
cmp ebx, 1
mov ebx, dword [ebp + 0x14]
jne 0x5aa655
cmp dword [ebp - 0xc0], ebx
jg 0x5aa655
push 0
push esi
push 0x1008
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x5aa66a
push 0
push 1
push 1
push 0
push 0x6278ec
lea ecx, [ebp - 0x1c]
call fcn.005daa70
test eax, eax
je 0x5aa62e
push 0
push 1
push 1
push 0
push 0x624a00
lea ecx, [ebp - 0x1c]
call fcn.005daa70
test eax, eax
je 0x5aa62e
dec eax
lea ecx, [ebp - 0x1c]
push eax
call fcn.005dae00
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push 0
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, ebx
call fcn.005aa730
mov ebx, eax
jmp 0x5aa595
push 0
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
mov ecx, ebx
call fcn.005aa730
mov ebx, eax
jmp 0x5aa595
mov ebx, dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
call fcn.005dc190
push eax
push dword [ebp + 0x10]
mov edx, esi
mov ecx, edi
call fcn.005ca650
cmp dword [ebp - 0xc0], ebx
jle 0x5aa688
sub esp, 8
mov edx, esi
mov ecx, edi
push 0xffffffffffffffff
push 0x30ff
push dword [ebp + 0x10]
call fcn.005c6ce0
mov ebx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
jne 0x5aa69e
dec esi
jmp 0x5aa430
mov edx, dword [ebp - 0xcc]
inc esi
jmp 0x5aa423
mov ecx, ebx
call fcn.005acaa0
cmp dword [ebp - 0xc8], 0
jbe 0x5aa6c1
mov esi, 1
jmp 0x5aa6d9
push 0
push 0
push 0x1004
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0xcc]
sub esi, eax
lea ecx, [ebp - 0xb8]
call fcn.004020d0
lea ecx, [ebp - 0x34]
call fcn.005dc430
lea ecx, [ebp - 0x28]
call fcn.005dc430
lea ecx, [ebp - 0x1c]
call fcn.005dc430
lea ecx, [ebp - 0x40]
call fcn.005dc430
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0x10