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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b1b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x49770c]
lea ecx, [ebp - 0x20]
push eax
push str._sCTL10BIN10_EX3TABLE.BIN
push ecx
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
push str.SanDisk
push edx
mov byte [ebp - 0x14], 0
call esi
mov bl, byte [ebp + 0xc]
add esp, 0x14
cmp eax, edi
jne 0x43e916
cmp bl, 7
jne 0x43e916
mov byte [ebp - 0x14], 0
jmp 0x43e96b
mov eax, dword [ebp + 8]
push str.SanDisk
push eax
call esi
add esp, 8
cmp eax, edi
jne 0x43e933
cmp bl, 6
jne 0x43e933
mov byte [ebp - 0x14], 1
jmp 0x43e96b
mov ecx, dword [ebp + 8]
push str.Toshiba
push ecx
call esi
add esp, 8
cmp eax, edi
jne 0x43e950
cmp bl, 7
jne 0x43e950
mov byte [ebp - 0x14], 2
jmp 0x43e96b
mov edx, dword [ebp + 8]
push str.Toshiba
push edx
call esi
add esp, 8
cmp eax, edi
jne 0x43e96b
cmp bl, 6
jne 0x43e96b
mov byte [ebp - 0x14], 3
mov eax, dword [ebp - 0x20]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x24], ebx
jne 0x43e9a8
lea ecx, [ebp - 0x28]
push 0x48d780
push ecx
mov dword [ebp - 0x28], 0x40100
call sub.MSVCRT.dll__CxxThrowException
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea edi, [eax + 0x200]
mov dword [ebp + 0xc], eax
push edi
call sub.MFC42.DLL_operatornew
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
mov dword [ebp - 0x1c], esi
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43ea06
lea edx, [ebp - 0x2c]
push 0x48d780
push edx
mov dword [ebp - 0x2c], 0x40100
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 2]
mov eax, 0xf0f0f0f1
mul ecx
shr edx, 5
mov eax, edx
shl eax, 4
mov dword [ebp - 0x30], eax
lea edi, [eax + 0x200]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp - 0x18], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
xor ebx, ebx
rep stosb byte es:[edi], al
mov edi, dword [sym.imp.MSVCRT.dll_sscanf]
cmp ebx, dword [ebp - 0x30]
jae 0x43ea73
mov eax, dword [ebp - 0x18]
lea ecx, [ebx + eax]
push ecx
push str._2hx
push esi
call edi
add esp, 0xc
inc ebx
add esi, 2
test bl, 0xf
jne 0x43ea4e
add esi, 2
jmp 0x43ea4e
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x24]
and esi, 0xff
mov ecx, 0x80
shl esi, 9
add esi, ebx
push edx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43eaa8
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
test ebx, ebx
je 0x43eab5
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc