Function at 0x10005bf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ea7ab
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x1012931c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x71]
mov byte [ebp - 4], 1
call fcn.10004070
mov ecx, esi
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005c70
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10003260
cmp dword [ebp - 0x18], 0
jbe 0x10005e97
lea eax, [ebp - 0x70]
push eax
call fcn.10005780
mov ecx, eax
call fcn.1003eb66
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x10005cd7
mov ecx, eax
call fcn.10001ee0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x70]
call fcn.10001ee0
push 5
push str.scach
lea ecx, [ebp - 0x40]
call fcn.10006070
push 1
push 0x100f58d0
lea ecx, [ebp - 0x40]
call fcn.10006070
mov edi, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmp edi, 8
mov dword [ebp - 0x88], 0xffffffff
cmovae edx, dword [ebp - 0x28]
test esi, esi
je 0x10005d49
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
mov dword [ebp - 0x8c], eax
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2f
lea eax, [edx + ecx*2]
je 0x10005d43
cmp eax, edx
je 0x10005d49
sub eax, 2
cmp word [eax], 0x2f
jne 0x10005d36
sub eax, edx
sar eax, 1
jmp 0x10005d4c
or eax, 0xffffffff
lea ecx, [eax + 1]
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp esi, ecx
jb 0x10005f3c
mov eax, esi
mov dword [ebp - 0x90], esi
sub eax, ecx
cmp eax, esi
mov dword [ebp - 0x94], eax
cmovb esi, eax
cmp edi, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push esi
lea eax, [eax + ecx*2]
push eax
lea ecx, [ebp - 0x58]
call fcn.10003260
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 3
call fcn.10006070
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.10001ee0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10005e83
cmp dword [ebp - 0x2c], 8
lea edi, [ebp - 0x40]
mov esi, dword [0x1012eb68]
lea eax, [ebp - 0x28]
cmovae edi, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x78], eax
test esi, esi
jne 0x10005e78
push 0x1012eb6c
mov dword [ebp - 0x98], 0x1012eb6c
call fcn.1006798d
add esp, 4
test eax, eax
je 0x10005e1f
push eax
call fcn.10067d1c
add esp, 4
mov esi, dword [0x1012eb68]
mov byte [ebp - 4], 4
test esi, esi
jne 0x10005e53
push 4
call fcn.10081411
mov esi, eax
add esp, 4
mov dword [ebp - 0x9c], esi
test esi, esi
je 0x10005e4b
mov dword [esi], vtable.HttpDownloadImpl.0
jmp 0x10005e4d
xor esi, esi
mov dword [0x1012eb68], esi
push 0x1012eb6c
mov byte [ebp - 4], 5
call fcn.10067a02
add esp, 4
test eax, eax
je 0x10005e71
push eax
call fcn.10067d1c
add esp, 4
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 2
push 0
push edi
push eax
mov ecx, esi
call fcn.1003fba1
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x71]
push dword [ebp - 0x80]
push dword [ebp - 0x84]
call fcn.1003cb58
lea ecx, [ebp - 0x71]
call fcn.10003de0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10005ed5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005ecb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f41
push edx
push ecx
call fcn.10081441
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x10005f1f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005f15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f46
push edx
push ecx
call fcn.10081441
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10081454
mov esp, ebp
pop ebp
ret 0xc
call fcn.10006060
call fcn.100ad050
call fcn.100ad050
int3