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

Disassembly:
mov eax, 0x101b74e
call fcn.0101a4c8
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [eax - 8], edi
mov dword [ebp - 4], edi
jne 0x100e43d
lea eax, [esi + 0xcc]
push eax
lea ecx, [ebp + 8]
call sub.MFC42u.DLL_CString::operator
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x100e6fc
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_1
push edi
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea edi, [eax + 1]
push edi
mov dword [ebp - 0x1c], eax
call sub.MFC42u.DLL_operatornew
pop ecx
mov ebx, eax
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
push 0
rep stosb byte es:[edi], al
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100e4b0
mov byte [ebx], al
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x100e4c1
xor eax, eax
jmp 0x100e4e3
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and eax, 0xfffffffc
call fcn.0101a510
mov eax, esp
push edi
push ebx
push eax
call fcn.0100df85
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator_1
push ebx
call sub.MFC42u.DLL_operatordelete
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
pop ecx
jne 0x100e6ee
mov eax, dword [ebp - 0x10]
xor edi, edi
cmp dword [eax - 8], edi
je 0x100e6ee
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0xc8]
call sub.MFC42u.DLL_CString::operator
push 0xffffffffffffffff
lea ebx, [esi + 0x9c]
push edi
mov ecx, ebx
call sub.MFC42u.DLL_CStringArray::SetSize
push 0xa
push 0xa
mov ecx, ebx
call sub.MFC42u.DLL_CStringArray::SetSize
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], edi
je 0x100e5d4
mov edi, 0x1002c8c
push edi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::SpanExcluding
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], 0
je 0x100e597
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
mov ecx, ebx
call sub.MFC42u.DLL_CStringArray::SetAtGrow
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push dword [eax - 8]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::Mid
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::TrimLeft_1
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x100e557
or eax, 0xffffffff
mov dword [esi + 0xbc], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb0], eax
mov eax, dword [esi + 0xa4]
xor edi, edi
dec eax
js 0x100e6c3
mov eax, dword [esi + 0xa0]
lea eax, [eax + edi*4]
push eax
lea ecx, [ebp - 0x14]
call fcn.01019c28
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CString::MakeLower
push 0x1001b2c
push 0x1003094
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::Replace
push 0x1003080
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::Find_2
or ebx, 0xffffffff
cmp eax, ebx
je 0x100e64a
mov dword [esi + 0xb0], edi
jmp 0x100e661
push 0x100306c
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::Find_2
cmp eax, ebx
je 0x100e661
mov dword [esi + 0xb4], edi
cmp dword [esi + 0xb8], ebx
je 0x100e68b
cmp dword [esi + 0xbc], ebx
jne 0x100e68b
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x100e680
cmp word [eax], 0x5b
jne 0x100e68b
lea eax, [edi - 1]
mov dword [esi + 0xbc], eax
jmp 0x100e6a5
push 0x1003044
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::Find_2
cmp eax, ebx
je 0x100e6a5
lea eax, [edi + 1]
mov dword [esi + 0xb8], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 0xa4]
inc edi
dec eax
cmp edi, eax
jle 0x100e5fe
jmp 0x100e6c6
or ebx, 0xffffffff
cmp dword [esi + 0xb8], ebx
je 0x100e6dd
cmp dword [esi + 0xbc], ebx
jne 0x100e6dd
dec edi
mov dword [esi + 0xbc], edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
xor edi, edi
inc edi
jmp 0x100e6f0
xor edi, edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42u.DLL_CString::CString
mov eax, edi
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4