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

Disassembly:
push 0xffffffffffffffff
push 0x429490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x43ba70]
push ebx
push ebp
push esi
push edi
push 0xffffffffffffffff
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x14]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x28], ebx
call fcn.00412b20
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x10]
push ebx
push 0x80
push 3
push ebx
push 7
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41118e
mov eax, dword [0x43ba70]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x411213
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4111ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x411206
mov eax, 0xe91ed8f5
mov dword [esp + 0x18], ebx
mul ebp
mov esi, edx
shr esi, 0xb
lea eax, [esi + esi*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*8]
shl edx, 1
sub edx, esi
push edx
call sub.MFC42u.DLL_operatornew
add esp, 4
mov ebx, eax
lea eax, [esp + 0x18]
push 0
push eax
push ebp
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
je 0x41122b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [0x43ba70]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, esi
jmp 0x4112e6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push esi
call fcn.0041a2b0
add esp, 8
xor edi, edi
test esi, esi
jbe 0x4112bd
lea ebp, [ebx + 0x451]
mov edx, dword [esp + 0x2c]
push edx
push ebp
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x411268
inc edi
add ebp, 0x8c9
cmp edi, esi
jb 0x411248
jmp 0x4112bd
lea eax, [edi + edi*4]
mov ecx, 0x232
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x30]
shl esi, 1
sub esi, edi
mov edi, eax
add esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
movsb byte es:[edi], byte [esi]
mov cx, word [ecx]
cmp word [eax + 0x491], cx
je 0x41129f
mov word [eax + 0x491], cx
mov ecx, dword [eax + 0x8b9]
test ecx, ecx
jne 0x4112bd
mov ecx, dword [eax + 0x8c1]
test ecx, ecx
je 0x4112bd
mov dword [eax + 0x8c1], 0
push ebx
call sub.MFC42u.DLL_operatordelete
mov edx, dword [0x43ba70]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8