Function at 0x5ae170
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60067c
mov eax, dword fs:[0]
push eax
sub esp, 0x60
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 eax, ecx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x68], ecx
mov ecx, eax
call fcn.005ad750
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp + 0x14]
push esi
mov dword [ecx + 0x1c], eax
call fcn.005ae3f0
mov ecx, dword [ebp - 0x68]
push 1
push edi
push ebx
call fcn.005d9070
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.005dc5e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
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
mov ebx, dword [ebp - 0x64]
xor esi, esi
mov byte [ebp - 4], 2
cmp dword [ebx + 0x74], esi
je 0x5ae256
lea ecx, [ebx + 0x78]
call fcn.005dbeb0
test al, al
je 0x5ae256
push str.Analyzing_the_requested_files...
lea ecx, [ebx + 0x78]
call fcn.005dc510
lea ecx, [ebx + 0x78]
call fcn.005dc190
push eax
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x60]
shr eax, 0xe
and eax, 0xffffff01
push 0x40
mov dword [ebp - 0x64], eax
call fcn.005ae7d0
push 0x11
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.005ae7d0
mov ecx, dword [ebp - 0x68]
xor edi, edi
mov byte [ebp - 4], 4
call fcn.005d9210
test eax, eax
je 0x5ae356
push edi
call fcn.005d9220
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc510
cmp byte [ebp - 0x64], 0
je 0x5ae2c0
push 0
push 1
push 1
push 0
push 0x629fdc
lea ecx, [ebp - 0x20]
call fcn.005daa70
test eax, eax
jne 0x5ae2d3
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5ae2fb
push 4
push 1
push 1
push 1
push 0x624390
lea ecx, [ebp - 0x20]
call fcn.005daa70
test eax, eax
je 0x5ae2f6
push 4
lea ecx, [ebp - 0x20]
call fcn.005dad50
lea eax, [ebp - 0x60]
jmp 0x5ae330
push 4
push 1
push 1
push 1
push str.http
lea ecx, [ebp - 0x20]
call fcn.005daa70
test eax, eax
jne 0x5ae32d
push 3
push 1
push 1
push 1
push 0x629fe4
lea ecx, [ebp - 0x20]
call fcn.005daa70
test eax, eax
je 0x5ae345
lea eax, [ebp - 0x4c]
push 0
push 0
push eax
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.005accd0
movzx eax, al
add esi, eax
mov ecx, dword [ebp - 0x68]
inc edi
call fcn.005d9210
cmp edi, eax
jb 0x5ae292
cmp dword [ebp - 0x60], 0
je 0x5ae36b
push 0
lea eax, [ebp - 0x60]
mov ecx, ebx
push eax
call fcn.005abdd0
add esi, eax
cmp dword [ebp - 0x4c], 0
je 0x5ae380
push 0
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
call fcn.005abdd0
add esi, eax
mov ecx, ebx
call fcn.005a9e40
add esi, eax
xor eax, eax
test esi, esi
setg al
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x5ae3a3
push eax
call fcn.0041e1c3
add esp, 4
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x5ae3b3
push eax
call fcn.0041e1c3
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.005dc430
lea ecx, [ebp - 0x38]
call fcn.005dc430
lea ecx, [ebp - 0x20]
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 - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0x14