Function at 0x1000abc5
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x1050]
mov eax, 0x1050
call fcn.10146c50
push 0xffffffffffffffff
push 0x101792ed
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x104c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1058]
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.10007b11
mov eax, dword [0x101f3028]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 0x50
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], ebx
jne 0x1000ac71
xor esi, esi
lea ecx, [ebp - 0x24]
call fcn.10003b75
lea ecx, [ebp - 0x10]
call fcn.10003b75
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 + 0x104c]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x1050
leave
ret 4
mov esi, 0x101f7c20
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.10007ade
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10004076
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_CharLowerW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
mov edi, 0x101f7c14
push eax
mov ecx, edi
call fcn.1000763b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push edi
push dword [0x101f7c18]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.1000644b
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
call fcn.10005501
test al, al
jne 0x1000ad23
lea ecx, [ebp - 0x38]
call fcn.10005fd7
cmp dword [eax + 4], 0x14
jne 0x1000ad01
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x14]
call fcn.10003b75
xor esi, esi
inc esi
jmp 0x1000ac3a
lea ecx, [ebp - 0x38]
call fcn.10005fd7
cmp dword [eax + 4], 0x28
jne 0x1000ad23
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x14]
call fcn.10003b75
jmp 0x1000ac38
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call ebx
and word [ebp], 0
push 0x1048
lea eax, [ebp + 2]
push 0
push eax
call fcn.10146c80
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x48], 0x824
call dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1000adef
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
je 0x1000adef
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000425b
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoW]
jmp 0x1000adef
push dword [ebp - 0x18]
call fcn.10145563
push dword [ebp - 0x1c]
call fcn.10144fc2
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
je 0x1000adfa
push dword [ebp - 0x1c]
push 0
push eax
call fcn.10146c80
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [eax], ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoW]
test eax, eax
je 0x1000adef
mov eax, dword [ebp - 0x18]
cmp dword [eax + 8], 0
jne 0x1000ae83
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1000ada1
push 0
lea ecx, [ebp - 0x10]
call fcn.1000401e
push eax
call fcn.1011c944
test eax, eax
pop ecx
je 0x1000ae16
mov dword [ebp - 0x20], 1
lea ecx, [ebp - 0x10]
call fcn.10004076
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_CharLowerW]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.1000a2a0
push esi
mov dword [eax], 0x28
call ebx
cmp dword [ebp - 0x20], 0
je 0x1000ad16
push 0
lea ecx, [ebp - 0x24]
call fcn.1000401e
push eax
lea ecx, [ebp - 0x44]
call fcn.100056a4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.10004b30
test eax, eax
mov dword [ebp - 0x2c], eax
ja 0x1000ae93
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.10004b77
jmp 0x1000ad16
push dword [eax + 8]
lea ecx, [ebp - 0x24]
call fcn.1000425b
jmp 0x1000ae0f
xor ecx, ecx
push 0x10
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10144fc2
pop ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
test eax, eax
mov byte [ebp - 4], 4
jne 0x1000aebf
push eax
call fcn.10145084
pop ecx
jmp 0x1000ae72
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push eax
call fcn.10004b51
test eax, eax
jne 0x1000aed4
push dword [ebp - 0x18]
jmp 0x1000aeb7
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x2c], 0
jbe 0x1000aecf
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x44]
call fcn.10004b0b
cmp eax, 1
ja 0x1000af05
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x20], 0x10
cmp eax, dword [ebp - 0x2c]
jb 0x1000aee4
jmp 0x1000aecf
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.1000a2a0
push esi
mov dword [eax], 0x14
call ebx
push dword [ebp - 0x18]
call fcn.10145084
pop ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.10004b77
jmp 0x1000acf1