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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a3ae
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x56617c]
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 dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0xc0], edi
xorps xmm0, xmm0
mov dword [ebp - 0xc8], edi
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], vtable.CFile.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea esi, [edi + 0xd8]
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0x28], esi
call dword [eax + 4]
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
mov ecx, eax
mov dword [ebp - 0xbc], eax
call fcn.0041ad80
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x6c], vtable.CStringUTF8.0
je 0x41fcbc
lea ecx, [ebp - 0x38]
call fcn.0041a760
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
push edi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.0041a900
push 0
push 0
push 3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
push 0
push 1
push SysReAllocStringLen
mov eax, dword [eax + 0x7c]
call eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x6c]
cmp eax, 0xffffffff
jne 0x41fd3f
mov dword [ebp - 0x20], 0
call fcn.0041c2a0
mov byte [ebp - 4], 4
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.CFile.0
call fcn.0041c890
xor eax, eax
jmp 0x420039
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
call fcn.0041c2a0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call edi
inc eax
push eax
call fcn.004fe6cf
add esp, 4
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call edi
push 0
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp - 0xbc]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call edi
mov edi, dword [ebp - 0xbc]
lea ecx, [ebp - 0x24]
mov byte [eax + edi], 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
call dword [eax + 0xc]
push 0x4c
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea ecx, [ebp - 0xe4]
mov edx, edi
call fcn.004e76f0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 6
call fcn.0041ad80
cmp dword [ebp - 0x78], 0
mov dword [ebp - 0xb0], vtable.CStringUTF8.0
je 0x41fe04
lea ecx, [ebp - 0x7c]
call fcn.0041a760
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x70], 0xffffffff
mov byte [ebp - 4], 7
lea eax, [ebp - 0xe4]
cmp dword [ebp - 0xd0], 0x10
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0xb4], 0
cmovae eax, dword [ebp - 0xe4]
push eax
mov dword [ebp - 0xb8], 1
call fcn.0041a9d0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xb0]
call fcn.0041a900
lea ecx, [ebp - 0x6c]
call fcn.0041c2a0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xd0]
cmp edx, 0x10
jb 0x41fea0
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41fe96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420055
push edx
push ecx
call fcn.004fe28b
add esp, 8
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], 0
push 0xe0
mov byte [ebp - 4], 9
call fcn.004fe2bc
mov edi, eax
mov dword [ebp - 0xc4], edi
push 0xe0
push 0
push edi
mov byte [ebp - 4], 0xa
call fcn.005001b0
add esp, 0x10
mov ecx, edi
push 0
push 0x53e7d2
call fcn.00423320
mov edi, dword [ebp - 0xc0]
mov ecx, edi
mov byte [ebp - 4], 0xb
mov dword [edi + 0xcc], eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00421190
push dword [edi + 0xcc]
lea eax, [ebp - 0xb8]
mov ecx, edi
push eax
call fcn.00421d00
mov dword [ebp - 4], 9
jmp 0x41fff5
push dword [ebp - 0xbc]
call fcn.004fe6d8
add esp, 4
lea ecx, [ebp - 0xb0]
call fcn.0041c2a0
mov byte [ebp - 4], 0xe
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.CFile.0
call fcn.0041c890
mov eax, dword [ebp - 0xcc]
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.004fe27d
mov esp, ebp
pop ebp
ret
call fcn.00501acf
int3