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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005da1f
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x100a8050]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x100a8050]
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.100582a8
and dword [esp + 0xd8], 0
lea eax, [esp + 0x18]
push eax
mov eax, edi
call fcn.10010df0
lea eax, [esi + 0x74]
test eax, eax
je 0x1001e2b7
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 0x1001e2fa
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 0x1001e478
test byte [ebx + 0x10], 1
jne 0x1001e3fb
cmp byte [esi + 0xd1], dl
jne 0x1001e3fb
mov al, byte [esi + 0x55]
test al, al
jne 0x1001e3f0
test byte [ebx + 0x10], 0x10
jne 0x1001e3f0
mov ebx, 0xcc0020
push ebx
cmp byte [esi + 0x54], dl
je 0x1001e394
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 0x1001e478
lea eax, [esi + 0xc0]
test eax, eax
je 0x1001e369
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 0x1001e455
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 0x1001e478
lea eax, [esi + 0xc0]
test eax, eax
je 0x1001e3c9
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 0x1001e456
mov ebx, 0xcc0020
push ebx
jmp 0x1001e330
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 0x1001e478
lea eax, [esi + 0xc0]
test eax, eax
je 0x1001e432
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 0x1001e46e
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 0x1001e556
push 0x483f36
call dword [eax + 0x38]
mov eax, dword [esp + 0x3c]
test byte [eax + 0x10], 1
jne 0x1001e541
cmp byte [esi + 0xd1], 0
je 0x1001e54d
mov eax, dword [edi]
push 0xffffff
mov ecx, edi
call dword [eax + 0x38]
lea ecx, [esp + 0x54]
jmp 0x1001e61f
push 0x31113c
call dword [eax + 0x38]
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x68], 0xffffffeb
mov dword [esp + 0x78], 0x2bc
call sym.SACOhelper.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 0x1001e582
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 0x1001e5db
cmp byte [esi + 0xd1], 0
je 0x1001e5e3
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.1000b5cb
mov byte [esp + 0xd8], 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
call fcn.1000b5cb
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1001e67d
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.1005883e
mov esp, ebp
pop ebp
ret 4