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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10055a21
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10086038]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x10086038]
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.10050194
and dword [esp + 0xd8], 0
lea eax, [esp + 0x18]
push eax
mov eax, edi
call fcn.10010c51
lea eax, [esi + 0x74]
test eax, eax
je 0x1001e2c0
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 0x1001e303
mov ecx, dword [esi + 0x6c]
mov ebx, dword [esi + 0x70]
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 0x1001e481
test byte [ebx + 0x10], 1
jne 0x1001e404
cmp byte [esi + 0xd1], dl
jne 0x1001e404
mov al, byte [esi + 0x55]
test al, al
jne 0x1001e3f9
test byte [ebx + 0x10], 0x10
jne 0x1001e3f9
mov ebx, 0xcc0020
push ebx
cmp byte [esi + 0x54], dl
je 0x1001e39d
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x70]
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 + 0xc4], 0
je 0x1001e481
lea eax, [esi + 0xc0]
test eax, eax
je 0x1001e372
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x20]
call sub.mfc90u.dll_CDC::SelectGdiObject
mov edx, dword [esi + 0xcc]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc8]
push 0
lea ecx, [eax + eax]
push ecx
push dword [esp + 0x28]
push edx
jmp 0x1001e45e
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x6c]
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 + 0xc4], 0
je 0x1001e481
lea eax, [esi + 0xc0]
test eax, eax
je 0x1001e3d2
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x20]
call sub.mfc90u.dll_CDC::SelectGdiObject
mov ecx, dword [esi + 0xc8]
push ebx
push 0
push 0
push dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xcc]
push eax
push ecx
jmp 0x1001e45f
mov ebx, 0xcc0020
push ebx
jmp 0x1001e339
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x70]
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 + 0xc4], 0
je 0x1001e481
lea eax, [esi + 0xc0]
test eax, eax
je 0x1001e43b
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x20]
call sub.mfc90u.dll_CDC::SelectGdiObject
mov ecx, dword [esi + 0xcc]
push ebx
push 0
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc8]
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 0x1001e477
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 + 0xc4], 0
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov ecx, edi
je 0x1001e55f
push 0x483f36
call dword [eax + 0x38]
mov eax, dword [esp + 0x3c]
test byte [eax + 0x10], 1
jne 0x1001e54a
cmp byte [esi + 0xd1], 0
je 0x1001e556
mov eax, dword [edi]
push 0xffffff
mov ecx, edi
call dword [eax + 0x38]
lea ecx, [esp + 0x54]
jmp 0x1001e628
push 0x31113c
call dword [eax + 0x38]
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x68], 0xffffffeb
mov dword [esp + 0x78], 0x2bc
call sym.PCBRhelper.dll_Ordinal_954
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 0x1001e58b
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 0x1001e5e4
cmp byte [esi + 0xd1], 0
je 0x1001e5ec
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 + 0xb4]
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 + 0xb4]
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.1000b470
mov byte [esp + 0xd8], 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
call fcn.1000b470
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1001e686
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.10050724
mov esp, ebp
pop ebp
ret 4