Function at 0x5add80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600625
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x70f200]
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 edi, ecx
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
call fcn.005ad750
mov eax, dword [ebp + 0x18]
mov ecx, edi
push esi
mov dword [edi + 0x1c], eax
call fcn.005ae3f0
push 0
push 0
push 0x1004
push ebx
mov dword [ebp - 0x80], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x5ae14b
push 0x40
lea ecx, [ebp - 0x78]
call fcn.005ae7d0
push 0x11
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0
call fcn.005ae7d0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x50]
movq qword [ebp - 0x50], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x44]
movq qword [ebp - 0x44], xmm0
call fcn.005dc5e0
xor esi, esi
mov byte [ebp - 4], 6
lea ecx, [edi + 0xa8]
cmp dword [ebp - 0x7c], esi
jle 0x5ae0b2
nop dword [eax + eax]
cmp byte [ecx], 0
jne 0x5ae0fe
mov eax, dword [edi + 0x1c]
and eax, 0x8020
cmp eax, 0x8020
jne 0x5adedc
push 0x14
push 0
push 0
push 0x14
lea ecx, [ebp - 0x20]
call fcn.005db9a0
push eax
push dword [ebp + 0x10]
mov edx, esi
mov ecx, ebx
call fcn.005ca570
cmp eax, 5
jle 0x5adedc
push 0
lea ecx, [ebp - 0x20]
call fcn.005dba50
test al, al
jne 0x5ae09a
push 0x1000
push 0
push 0
push 0x1000
lea ecx, [ebp - 0x20]
call fcn.005db9a0
push eax
push dword [ebp + 0xc]
mov edx, esi
mov ecx, ebx
call fcn.005ca570
cmp eax, 4
jl 0x5ae09a
push 4
push 1
push 1
push 1
push 0x624390
lea ecx, [ebp - 0x20]
call fcn.005daa70
test eax, eax
je 0x5adf2b
push 4
lea ecx, [ebp - 0x20]
call fcn.005dad50
lea ecx, [ebp - 0x20]
call fcn.005dc3a0
cmp eax, 4
jl 0x5ae09a
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5adf88
cmp dword [ebp + 0x20], 0
jl 0x5adf78
push 0x1000
push 0
push 0
push 0x1000
lea ecx, [ebp - 0x2c]
call fcn.005db9a0
push eax
push dword [ebp + 0x20]
mov edx, esi
mov ecx, ebx
call fcn.005ca570
push 0
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea eax, [ebp - 0x78]
jmp 0x5adffd
push 4
push 1
push 1
push 1
push str.http
lea ecx, [ebp - 0x20]
call fcn.005daa70
test eax, eax
jne 0x5adfba
push 3
push 1
push 1
push 1
push 0x629fe4
lea ecx, [ebp - 0x20]
call fcn.005daa70
test eax, eax
je 0x5ae014
push 0
push 1
push 1
push 0
push 0x6278ec
lea ecx, [ebp - 0x20]
call fcn.005daa70
test eax, eax
je 0x5adff6
push 0
push 1
push 1
push 0
push 0x624a00
lea ecx, [ebp - 0x20]
call fcn.005daa70
test eax, eax
je 0x5adff6
dec eax
lea ecx, [ebp - 0x20]
push eax
call fcn.005dae00
push 0
push 0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.005accd0
xor cl, cl
cmp cl, al
sbb eax, eax
neg eax
add dword [ebp - 0x80], eax
push 0
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
mov ecx, edi
call fcn.005aa730
cmp eax, 1
jl 0x5ae09a
test byte [edi + 0x1c], 0x20
jne 0x5ae064
mov eax, dword [ebp + 0x1c]
cmp dword [ebp - 0x84], eax
jg 0x5ae064
push 0
push esi
push 0x1008
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
mov eax, dword [ebp - 0x7c]
je 0x5ae09d
dec eax
dec esi
mov dword [ebp - 0x7c], eax
jmp 0x5ae09d
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push dword [ebp + 0x10]
mov edx, esi
mov ecx, ebx
call fcn.005ca650
mov eax, dword [ebp + 0x1c]
cmp dword [ebp - 0x84], eax
jle 0x5ae09a
sub esp, 8
mov edx, esi
mov ecx, ebx
push 0xffffffffffffffff
push 0x30ff
push dword [ebp + 0x10]
call fcn.005c6ce0
mov eax, dword [ebp - 0x7c]
inc esi
lea ecx, [edi + 0xa8]
cmp esi, eax
jl 0x5ade90
lea ecx, [edi + 0xa8]
cmp byte [ecx], 0
jne 0x5ae0fe
cmp dword [ebp - 0x78], 0
je 0x5ae0d1
push 0
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.005abdd0
mov ebx, dword [ebp - 0x80]
add ebx, eax
jmp 0x5ae0d4
mov ebx, dword [ebp - 0x80]
cmp dword [ebp - 0x64], 0
je 0x5ae0e9
push 0
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
call fcn.005abdd0
add ebx, eax
mov ecx, edi
call fcn.005a9e40
add ebx, eax
xor eax, eax
test ebx, ebx
setg al
mov dword [edi + 0x18], eax
jmp 0x5ae101
mov ebx, dword [ebp - 0x80]
lea ecx, [ebp - 0x44]
call fcn.005dc430
lea ecx, [ebp - 0x50]
call fcn.005dc430
lea ecx, [ebp - 0x2c]
call fcn.005dc430
lea ecx, [ebp - 0x38]
call fcn.005dc430
lea ecx, [ebp - 0x20]
call fcn.005dc430
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x5ae139
push eax
call fcn.0041e1c3
add esp, 4
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x5ae149
push ecx
call fcn.0041e1c3
add esp, 4
mov eax, ebx
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.0041e1b5
mov esp, ebp
pop ebp
ret 0x1c