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

Disassembly:
mov eax, 0x1024e60
call fcn.01024a78
sub esp, 0x42c
mov eax, dword [0x1029fe8]
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x10], eax
call sub.MFC42u.DLL_CString::CString
xor esi, esi
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], esi
call sub.MFC42u.DLL_CString::CString
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0xd1
mov ecx, edi
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CWnd::GetDlgItemTextW
push 0x1001e54
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
push 0x80
push 3
push esi
push esi
push 0x80000000
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x42c], eax
jne 0x100939d
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 0x1009593
push ebx
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, esi
mov dword [ebp - 0x434], eax
jne 0x10093f4
push 0xef63
lea ecx, [ebp - 0x428]
xor ebx, ebx
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 0x1009584
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [ebp - 0x430], eax
jne 0x1009449
push 0xef63
lea ecx, [ebp - 0x428]
xor ebx, ebx
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 0x1009578
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]
cmp esi, eax
mov dword [ebp - 0x438], eax
je 0x1009499
xor ebx, ebx
test edi, edi
je 0x100947c
mov edi, dword [edi + 0x20]
push 1
push 0xef4b
push 0xef4a
push edi
call fcn.010225fa
mov esi, dword [ebp - 0x430]
jmp 0x1009571
mov esi, dword [ebp - 0x430]
cmp word [esi], bx
je 0x10094c4
xor ebx, ebx
test edi, edi
je 0x10094ad
mov edi, dword [edi + 0x20]
push 1
push 0xef49
push 0xef48
push edi
call fcn.010225fa
jmp 0x1009571
cmp word [esi + 0x40], 0xd
je 0x10094e2
xor ebx, ebx
test edi, edi
je 0x10094d4
mov edi, dword [edi + 0x20]
push 1
push 0xef4d
push 0xef4c
jmp 0x10094b9
movzx eax, word [esi + 0x45]
push eax
call fcn.01006aba
xor ebx, ebx
cmp eax, 0xffffffff
jne 0x1009508
test edi, edi
je 0x10094fa
mov edi, dword [edi + 0x20]
push 1
push 0xef51
push 0xef50
jmp 0x10094b9
cmp dword [esi + 2], 0x4e495743
je 0x1009517
test edi, edi
jne 0x1009529
jmp 0x100952c
cmp dword [esi + 6], 0x4c42545f
jne 0x1009511
inc ebx
test edi, edi
jne 0x100953d
xor eax, eax
jmp 0x1009540
mov edi, dword [edi + 0x20]
push 1
push 0xef53
push 0xef52
jmp 0x10094b9
mov eax, dword [edi + 0x20]
movzx ecx, word [esi + 0x45]
push ecx
push dword [ebp - 0x438]
push esi
push eax
call fcn.01005858
test eax, eax
jne 0x1009571
test edi, edi
je 0x100955d
mov edi, dword [edi + 0x20]
push 1
push 0xef65
push 0xef64
push edi
call fcn.010225fa
xor ebx, ebx
push esi
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]
mov esi, ebx
pop ebx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0
call fcn.01023e20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.01023e20
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
call fcn.01023881
leave
ret