Function at 0x10017dd0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10111da1
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x1060f098]
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, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.100eb400
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
call fcn.10018080
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push str..cfg
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x2e0], esi
cmp esi, 0xffffffff
jne 0x10017e7b
xor eax, eax
jmp 0x10018060
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
mov dword [ebp - 0x2d8], edi
call fcn.100d232c
add esp, 4
mov dword [ebp - 0x258], 0
mov ebx, eax
lea eax, [ebp - 0x258]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
movups xmm0, xmmword [str.TWljcm9zb2Z0IUAjJCVeJiooKQ]
mov eax, dword [0x105fa044]
lea edi, [ebp - 0x34]
mov dword [ebp - 0x1c], eax
lea ecx, [edi + 1]
mov al, byte [0x105fa048]
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x18], al
movq xmm0, qword [0x105fa03c]
movq qword [ebp - 0x24], xmm0
mov al, byte [edi]
inc edi
test al, al
jne 0x10017ee1
push 0x104040
sub edi, ecx
call fcn.100d232c
add esp, 4
mov esi, eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x25c], esi
push edi
push eax
push esi
call fcn.1003e260
push dword [ebp - 0x2d8]
mov dword [ebp - 4], 0
push ebx
push esi
call fcn.1003e300
mov dword [ebp - 0x240], 0xf
mov dword [ebp - 0x244], 0
mov byte [ebp - 0x254], 0
cmp byte [ebx], 0
jne 0x10017f42
xor eax, eax
jmp 0x10017f50
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10017f47
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x254]
call fcn.10011cf0
push 0x74
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.100eb400
add esp, 0xc
lea ecx, [ebp - 0x2d4]
call fcn.1001dec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
cmp dword [ebp - 0x240], 0x10
mov eax, dword [ebp - 0x244]
cmovae ecx, dword [ebp - 0x254]
add eax, ecx
cmp dword [ebp - 0x240], 0x10
lea ecx, [ebp - 0x254]
cmovae ecx, dword [ebp - 0x254]
push eax
push ecx
lea ecx, [ebp - 0x2ac]
call fcn.10024910
cmp dword [ebp - 0x298], 0x10
lea ecx, [ebp - 0x2ac]
mov eax, dword [ebp - 0x29c]
cmovae ecx, dword [ebp - 0x2ac]
push ecx
push dword [ebp - 0x2dc]
add eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x2d4]
call fcn.1001dff0
xor ecx, ecx
mov edi, 1
test al, al
push ebx
cmove edi, ecx
call fcn.100d2327
add esp, 4
push dword [ebp - 0x2e0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2d4]
call fcn.10012f60
mov eax, dword [ebp - 0x240]
cmp eax, 0x10
jb 0x1001803a
inc eax
lea ecx, [ebp - 0x254]
push eax
push dword [ebp - 0x254]
call fcn.10011bd0
push esi
mov dword [ebp - 0x240], 0xf
mov dword [ebp - 0x244], 0
mov byte [ebp - 0x254], 0
call fcn.100d2327
add esp, 4
mov eax, edi
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.100d22d5
mov esp, ebp
pop ebp
ret 4