Function at 0x100060e0
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1003b031
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x1004c258]
xor eax, esp
mov dword [esp + 0x168], eax
push esi
push edi
mov eax, dword [0x1004c258]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov edi, ecx
push 0xff
lea eax, [esp + 0x79]
push 0
push eax
mov byte [esp + 0x80], 0
call fcn.10010030
add edi, 0x414c
xor eax, eax
add esp, 0xc
mov byte [edi], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
cmp word [0x1006c688], ax
jne 0x1000616c
xor ecx, ecx
jmp 0x10006183
mov ecx, 0x1006c688
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006174
sub ecx, edx
sar ecx, 1
push ecx
push 0x1006c688
lea ecx, [esp + 0x14]
call fcn.100096f0
push str.Databasedaily.cld
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x18c], 0
call fcn.100013b0
add esp, 0xc
cmp dword [esp + 0x20], 8
mov byte [esp + 0x180], 2
jb 0x100061cf
push dword [esp + 0xc]
call fcn.1000cef3
add esp, 4
xor eax, eax
cmp dword [esp + 0x6c], 8
mov word [esp + 0xc], ax
lea eax, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
push eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100062e8
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
cmp word [0x1006c688], ax
jne 0x10006221
xor ecx, ecx
jmp 0x1000623f
mov ecx, 0x1006c688
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006230
sub ecx, edx
sar ecx, 1
push ecx
push 0x1006c688
lea ecx, [esp + 0x2c]
call fcn.100096f0
push str.Databasedaily.cvd
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x18c], 3
call fcn.100013b0
mov esi, eax
lea eax, [esp + 0x64]
add esp, 0xc
cmp eax, esi
je 0x100062ab
cmp dword [esp + 0x6c], 8
jb 0x1000628a
push dword [esp + 0x58]
call fcn.1000cef3
add esp, 4
xor eax, eax
push esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
call fcn.10008420
cmp dword [esp + 0x50], 8
jb 0x100062be
push dword [esp + 0x3c]
call fcn.1000cef3
add esp, 4
xor eax, eax
cmp dword [esp + 0x38], 8
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
jb 0x100062e8
push dword [esp + 0x24]
call fcn.1000cef3
add esp, 4
cmp dword [esp + 0x6c], 8
push 0
push 0x80
push 3
push 0
push 1
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10006364
push 0
lea eax, [esp + 0x74]
push eax
push pe_nt_image_headers32
lea eax, [esp + 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x9b]
push 0x1003eaac
push eax
call fcn.1000db9c
add esp, 0xc
test eax, eax
je 0x10006364
push 0xffffffffffffffff
push eax
push 0x10
push edi
call fcn.1000daf8
add esp, 0x10
cmp dword [esp + 0x6c], 8
jb 0x10006377
push dword [esp + 0x58]
call fcn.1000cef3
add esp, 4
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.1000f4a5
add esp, 0x178
ret