Function at 0x100295f5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10097521
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10112038]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x10112038]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push dword [ebx + 0x18]
mov esi, ecx
mov dword [esp + 0x40], ebx
call sub.mfc90u.dll_CDC::FromHandle
mov edi, eax
lea eax, [ebx + 0x1c]
push eax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebx + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esp + 0x18]
call fcn.1008e1be
and dword [esp + 0xd8], 0
lea eax, [esp + 0x18]
push eax
mov eax, edi
call fcn.1001651b
lea eax, [esi + 0x80]
test eax, eax
je 0x10029690
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x20]
call sub.mfc90u.dll_CDC::SelectGdiObject
mov ecx, esi
mov dword [esp + 0x14], eax
call sub.mfc90u.dll_CWnd::IsWindowEnabled
xor edx, edx
cmp eax, edx
jne 0x100296d3
mov ecx, dword [esi + 0x78]
mov ebx, dword [esi + 0x7c]
mov eax, ecx
imul eax, eax, 3
push 0xcc0020
push edx
push eax
push dword [esp + 0x28]
push ebx
push ecx
push edx
push edx
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x10029851
test byte [ebx + 0x10], 1
jne 0x100297d4
cmp byte [esi + 0x15d], dl
jne 0x100297d4
mov al, byte [esi + 0x55]
test al, al
jne 0x100297c9
test byte [ebx + 0x10], 0x10
jne 0x100297c9
mov ebx, 0xcc0020
push ebx
cmp byte [esi + 0x54], dl
je 0x1002976d
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
push 0
lea ecx, [eax + eax]
push ecx
push dword [esp + 0x28]
push edx
push eax
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esi + 0x150], 0
je 0x10029851
lea eax, [esi + 0x14c]
test eax, eax
je 0x10029742
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x20]
call sub.mfc90u.dll_CDC::SelectGdiObject
mov edx, dword [esi + 0x158]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x154]
push 0
lea ecx, [eax + eax]
push ecx
push dword [esp + 0x28]
push edx
jmp 0x1002982e
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
xor edx, edx
push edx
push edx
push dword [esp + 0x28]
push eax
push ecx
push edx
push edx
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esi + 0x150], 0
je 0x10029851
lea eax, [esi + 0x14c]
test eax, eax
je 0x100297a2
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x20]
call sub.mfc90u.dll_CDC::SelectGdiObject
mov ecx, dword [esi + 0x154]
push ebx
push 0
push 0
push dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x158]
push eax
push ecx
jmp 0x1002982f
mov ebx, 0xcc0020
push ebx
jmp 0x10029709
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
xor edx, edx
mov ebx, 0xcc0020
push ebx
push edx
push eax
push dword [esp + 0x28]
push ecx
push eax
push edx
push edx
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esi + 0x150], 0
je 0x10029851
lea eax, [esi + 0x14c]
test eax, eax
je 0x1002980b
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x20]
call sub.mfc90u.dll_CDC::SelectGdiObject
mov ecx, dword [esi + 0x158]
push ebx
push 0
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x154]
push eax
push dword [esp + 0x28]
push ecx
push eax
push 3
push 0x26
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10029847
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x20]
call sub.mfc90u.dll_CDC::SelectGdiObject
push 1
mov ecx, edi
call sub.mfc90u.dll_CDC::SetBkMode
and dword [esp + 0x2c], 0
mov ebx, vtable.CFont.0
mov dword [esp + 0x28], ebx
and dword [esp + 0x38], 0
mov dword [esp + 0x34], ebx
push 0x5c
lea eax, [esp + 0x68]
push 0
push eax
mov byte [esp + 0xe4], 2
call sub.MSVCR90.dll_memset
add esp, 0xc
push str.arial
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x6c], 0xfffffff4
mov dword [esp + 0x7c], 0x2bc
mov byte [esp + 0x81], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x82], 5
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 0x2b
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x2c]
call sub.mfc90u.dll_CGdiObject::Attach
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x30]
cmp dword [esi + 0x150], 0
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov ecx, edi
je 0x1002992f
push 0x483f36
call dword [eax + 0x38]
mov eax, dword [esp + 0x3c]
test byte [eax + 0x10], 1
jne 0x1002991a
cmp byte [esi + 0x15d], 0
je 0x10029926
mov eax, dword [edi]
push 0xffffff
mov ecx, edi
call dword [eax + 0x38]
lea ecx, [esp + 0x54]
jmp 0x100299f8
push 0x31113c
call dword [eax + 0x38]
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x68], 0xffffffeb
mov dword [esp + 0x78], 0x2bc
call sym.ASOHelper.dll_public:_static_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_CSystweakApp::ReturnAppFont_void_
pop ecx
mov ecx, dword [eax]
lea edx, [esp + 0x80]
movzx eax, word [ecx]
inc ecx
mov word [edx], ax
inc ecx
inc edx
inc edx
test ax, ax
jne 0x1002995b
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x82], 5
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x38]
call sub.mfc90u.dll_CGdiObject::Attach
mov eax, dword [edi]
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
test byte [eax + 0x10], 1
jne 0x100299b4
cmp byte [esi + 0x15d], 0
je 0x100299bc
inc dword [esp + 0x40]
inc dword [esp + 0x44]
mov eax, dword [edi]
push 0x2d6f2d
mov ecx, edi
call dword [eax + 0x38]
mov eax, dword [esi + 0x140]
mov edx, dword [edi]
push 0x25
lea ecx, [esp + 0x44]
push ecx
push dword [eax - 0xc]
mov ecx, edi
push eax
call dword [edx + 0x70]
mov eax, dword [edi]
push 0xf5f5f5
mov ecx, edi
call dword [eax + 0x38]
dec dword [esp + 0x44]
dec dword [esp + 0x40]
lea ecx, [esp + 0x40]
mov esi, dword [esi + 0x140]
mov eax, dword [esi - 0xc]
mov edx, dword [edi]
push 0x25
push ecx
push eax
push esi
mov ecx, edi
call dword [edx + 0x70]
push dword [esp + 0x30]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
lea ecx, [esp + 0x28]
call sub.mfc90u.dll_CGdiObject::DeleteObject
mov byte [esp + 0xd8], 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
call fcn.1001037b
mov byte [esp + 0xd8], 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
call fcn.1001037b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10029a56
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x20]
call sub.mfc90u.dll_CDC::SelectGdiObject
or dword [esp + 0xd8], 0xffffffff
lea ecx, [esp + 0x18]
call sub.mfc90u.dll_CDC::CDC
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1008e7ae
mov esp, ebp
pop ebp
ret 4