Function at 0x100a131
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0x42c
mov eax, 0x1027552
call fcn.01026d58
mov edi, ecx
lea ecx, [ebp - 0x424]
call sub.MFC42u.dll_CString::CString
xor ebx, ebx
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], ebx
call sub.MFC42u.dll_CString::CString
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push eax
push 0xd1
mov ecx, edi
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CWnd::GetDlgItemTextW
push 0x1001f0c
push esi
lea eax, [ebp - 0x420]
push eax
call fcn.01008286
cmp eax, ebx
jge 0x100a1b5
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], bl
call fcn.01025fd6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.01025fd6
xor eax, eax
call fcn.01026dac
ret
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x42c], eax
cmp eax, 0xffffffff
jne 0x100a239
push 0xef63
lea ecx, [ebp - 0x428]
call sub.MFC42u.dll_CString::LoadStringW
push 0xef55
lea ecx, [ebp - 0x424]
call sub.MFC42u.dll_CString::LoadStringW
push 0x42010
push dword [ebp - 0x428]
mov ecx, edi
push dword [ebp - 0x424]
call sub.MFC42u.dll_CWnd::MessageBoxW
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0
call fcn.01025fd6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.01025fd6
mov eax, ebx
jmp 0x100a1af
push ebx
push ebx
push ebx
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x434], eax
cmp eax, ebx
jne 0x100a28d
push 0xef63
lea ecx, [ebp - 0x428]
call sub.MFC42u.dll_CString::LoadStringW
push 0xef55
lea ecx, [ebp - 0x424]
call sub.MFC42u.dll_CString::LoadStringW
push 0x42010
push dword [ebp - 0x428]
mov ecx, edi
push dword [ebp - 0x424]
call sub.MFC42u.dll_CWnd::MessageBoxW
jmp 0x100a42d
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x430], eax
cmp eax, ebx
jne 0x100a2e0
push 0xef63
lea ecx, [ebp - 0x428]
call sub.MFC42u.dll_CString::LoadStringW
push 0xef55
lea ecx, [ebp - 0x424]
call sub.MFC42u.dll_CString::LoadStringW
push 0x42010
push dword [ebp - 0x428]
mov ecx, edi
push dword [ebp - 0x424]
call sub.MFC42u.dll_CWnd::MessageBoxW
jmp 0x100a421
cmp byte [eax + 0xa], 1
je 0x100a302
cmp edi, ebx
jne 0x100a2ee
xor edi, edi
jmp 0x100a2f1
mov edi, dword [edi + 0x20]
push 1
push 0xef7e
push 0xef7d
jmp 0x100a3d1
movzx esi, word [eax + 0x10]
add esi, 4
imul esi, dword [eax + 0xc]
push 0
push dword [ebp - 0x42c]
mov ebx, 0x100
add esi, ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x438], eax
cmp esi, eax
je 0x100a346
xor ebx, ebx
test edi, edi
je 0x100a335
mov edi, dword [edi + 0x20]
push 1
push 0xef4b
push 0xef4a
jmp 0x100a3d1
mov esi, dword [ebp - 0x430]
cmp word [esi], bx
je 0x100a368
xor ebx, ebx
test edi, edi
je 0x100a35a
mov edi, dword [edi + 0x20]
push 1
push 0xef49
push 0xef48
jmp 0x100a3d1
cmp word [esi + 0x40], 0xd
je 0x100a386
xor ebx, ebx
test edi, edi
je 0x100a378
mov edi, dword [edi + 0x20]
push 1
push 0xef4d
push 0xef4c
jmp 0x100a3d1
movzx eax, word [esi + 0x45]
push eax
call fcn.0100751f
xor ebx, ebx
cmp eax, 0xffffffff
jne 0x100a3ac
test edi, edi
je 0x100a39e
mov edi, dword [edi + 0x20]
push 1
push 0xef51
push 0xef50
jmp 0x100a3d1
cmp dword [esi + 2], 0x4e495743
jne 0x100a3be
cmp dword [esi + 6], 0x4c42545f
je 0x100a3d9
test edi, edi
je 0x100a3c5
mov edi, dword [edi + 0x20]
push 1
push 0xef53
push 0xef52
push edi
call fcn.0102447f
jmp 0x100a415
inc ebx
test edi, edi
jne 0x100a3e2
xor eax, eax
jmp 0x100a3e5
mov eax, dword [edi + 0x20]
movzx ecx, word [esi + 0x45]
push ecx
push dword [ebp - 0x438]
push esi
push eax
call fcn.010061c8
test eax, eax
jne 0x100a415
test edi, edi
je 0x100a402
mov edi, dword [edi + 0x20]
push ebx
push 0xef65
push 0xef64
push edi
call fcn.0102447f
xor ebx, ebx
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x434]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100a214