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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10056b72
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x10086038]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push dword [edi + 0x18]
call sub.mfc90u.dll_CDC::FromHandle
mov ebx, eax
add edi, 0x1c
push edi
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
xor edi, edi
push edi
push 0xffffff
lea eax, [esp + 0x50]
push eax
push ebx
lea ecx, [esp + 0x68]
call sym.PCBRhelper.dll_Ordinal_81
lea eax, [esi + 0x88]
push eax
mov ecx, esi
mov dword [esp + 0x9c], edi
call sub.mfc90u.dll_CWnd::GetWindowTextW
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call sym.PCBRhelper.dll_Ordinal_878
push 1
lea ecx, [esp + 0x5c]
call sub.mfc90u.dll_CDC::SetBkMode
mov al, byte [esi + 0x55]
xor ecx, ecx
test al, al
sete cl
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], vtable.CFont.0
dec ecx
and ecx, 0x12c
add ecx, 0x190
mov dword [esi + 0x9c], ecx
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x9c], 1
call sym.PCBRhelper.dll_Ordinal_954
mov eax, dword [eax]
pop ecx
lea ecx, [esi + 0xa8]
movzx edx, word [eax]
inc eax
mov word [ecx], dx
inc eax
inc ecx
inc ecx
cmp dx, di
jne 0x1001d32c
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ebx, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 0x9c], edi
lea edi, [esi + 0x8c]
push edi
mov dword [edi], 0xfffffff0
call ebx
push eax
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CGdiObject::Attach
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x5c]
call dword [eax + 0x30]
mov cl, byte [esi + 0x55]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
xor edx, edx
add eax, 0x38
test cl, cl
sete dl
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], 0x55
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x30], 0x226
mov dword [esp + 0x34], 0x26
mov dword [esi + 0xe8], 0x24
dec edx
and edx, 0xffdec70c
add edx, 0x3a9600
push edx
call dword [eax]
push dword [esi + 0xe8]
mov eax, dword [esi + 0x88]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x68]
call dword [eax + 0x70]
push dword [esi + 0xe8]
mov eax, dword [esi + 0x88]
dec dword [esp + 0x30]
dec dword [esp + 0x2c]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x68]
call dword [eax + 0x70]
push dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x5c]
call dword [eax + 0x30]
and dword [esp + 0x1c], 0
mov dword [esp + 0x18], vtable.CFont.0
mov byte [esp + 0x98], 2
and dword [esi + 0x9c], 0
push edi
mov dword [edi], 0xfffffff3
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc90u.dll_CGdiObject::Attach
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x5c]
call dword [eax + 0x30]
mov edi, eax
mov dword [esp + 0x38], 0x55
mov dword [esp + 0x3c], 0x23
mov dword [esp + 0x40], 0x226
mov dword [esp + 0x44], 0x3c
mov cl, byte [esi + 0x55]
mov eax, dword [esp + 0x58]
xor edx, edx
add eax, 0x38
test cl, cl
sete dl
lea ecx, [esp + 0x58]
mov dword [esi + 0xe8], 0x24
dec edx
and edx, 0xfff6f6f7
add edx, 0xd8cfc6
push edx
call dword [eax]
push dword [esi + 0xe8]
mov eax, dword [esi + 0x100]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x68]
call dword [eax + 0x70]
dec dword [esp + 0x2c]
mov al, byte [esi + 0x55]
dec dword [esp + 0x28]
test al, al
jne 0x1001d4f0
cmp byte [esi + 0x54], al
jne 0x1001d4f0
mov eax, dword [esi + 0x78]
jmp 0x1001d4f3
mov eax, dword [esi + 0x7c]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x5c]
call dword [eax + 0x38]
push dword [esi + 0xe8]
mov eax, dword [esi + 0x100]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x68]
call dword [eax + 0x70]
mov eax, dword [esp + 0x58]
push edi
lea ecx, [esp + 0x5c]
call dword [eax + 0x30]
mov byte [esp + 0x98], 1
mov esi, vtable.CFont.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.1000b470
mov byte [esp + 0x98], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.1000b470
or dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x58]
call sym.PCBRhelper.dll_Ordinal_135
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4