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

Disassembly:
push 0xffffffffffffffff
push 0x4f2242
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x70]
call fcn.00456e50
xor ebx, ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x108], ebx
call fcn.00456e50
mov eax, 0x4f5178
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x114]
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
push esi
push ebx
push ebx
mov byte [esp + 0x114], 3
call edi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::Attach
push esi
push ebx
push 2
call edi
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [esp + 0x120]
mov ecx, edi
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
call fcn.0042e960
sub esp, 0x30
cmp eax, ebx
mov dword [esp + 0x60], esp
mov ecx, esp
je 0x4c91cf
lea edx, [eax + 4]
jmp 0x4c91d1
xor edx, edx
mov esi, dword [edx]
mov dword [ecx + 4], esi
mov edx, dword [edx + 4]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov dx, word [eax + 0x10]
mov word [ecx + 0x10], dx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov dx, word [eax + 0x18]
mov word [ecx + 0x18], dx
mov dx, word [eax + 0x1a]
mov word [ecx + 0x1a], dx
mov dx, word [eax + 0x1c]
mov word [ecx + 0x1c], dx
mov dx, word [eax + 0x1e]
mov word [ecx + 0x1e], dx
mov edx, dword [eax + 0x20]
mov dword [ecx + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ecx + 0x24], edx
mov dx, word [eax + 0x28]
mov word [ecx + 0x28], dx
mov eax, dword [eax + 0x2c]
mov dword [ecx + 0x2c], eax
mov dword [ecx], 0x4f5588
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0xa4]
call fcn.00456e90
lea ecx, [esp + 0xa0]
call fcn.00456e80
cmp dword [esp + 0x7c], ebx
jne 0x4c925d
lea edx, [esp + 0x14]
push edx
jmp 0x4c9262
lea eax, [esp + 0x1c]
push eax
mov esi, dword [esp + 0x114]
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
push 0xa
mov ecx, esi
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_CDC::SetROP2
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x9c]
cmp eax, ebx
je 0x4c92ae
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
add edx, ecx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x11c]
add eax, edx
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
lea ecx, [esp + 0x74]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x34]
push ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.00434610
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
add esp, 4
lea ecx, [esp + 0x28]
push edx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
cmp dword [esp + 0x10], ebx
je 0x4c94ec
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.0042e960
sub esp, 0x30
cmp eax, ebx
mov dword [esp + 0x9c], esp
mov ecx, esp
je 0x4c9317
lea edx, [eax + 4]
jmp 0x4c9319
xor edx, edx
mov ebp, dword [edx]
mov dword [ecx + 4], ebp
mov edx, dword [edx + 4]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov dx, word [eax + 0x10]
mov word [ecx + 0x10], dx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov dx, word [eax + 0x18]
mov word [ecx + 0x18], dx
mov dx, word [eax + 0x1a]
mov word [ecx + 0x1a], dx
mov dx, word [eax + 0x1c]
mov word [ecx + 0x1c], dx
mov dx, word [eax + 0x1e]
mov word [ecx + 0x1e], dx
mov edx, dword [eax + 0x20]
mov dword [ecx + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ecx + 0x24], edx
mov dx, word [eax + 0x28]
mov word [ecx + 0x28], dx
mov eax, dword [eax + 0x2c]
mov dword [ecx + 0x2c], eax
mov dword [ecx], 0x4f5588
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x70]
call fcn.00456e90
lea ecx, [esp + 0xa0]
call fcn.00456e80
cmp dword [esp + 0x68], ebx
je 0x4c93bd
mov edx, dword [esp + 0x118]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x44]
add ebp, edx
add ecx, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x7c]
cmp eax, 1
jne 0x4c93d3
cmp dword [esp + 0x48], ebx
jne 0x4c93ea
lea ecx, [esp + 0x14]
push ecx
jmp 0x4c93e3
cmp eax, ebx
jne 0x4c93ea
cmp dword [esp + 0x48], 1
jne 0x4c93ea
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x40]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x28]
push ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00434610
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 4
mov ecx, esi
push edx
push eax
call sub.MFC42.DLL_CDC::LineTo
lea ecx, [esp + 0x3c]
sub esp, 0x30
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x70]
and ecx, edx
mov eax, esp
mov dword [esp + 0x9c], esp
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
mov cx, word [esp + 0x7c]
mov word [eax + 0x10], cx
mov edx, dword [esp + 0x80]
mov dword [eax + 0x14], edx
mov cx, word [esp + 0x84]
mov word [eax + 0x18], cx
mov dx, word [esp + 0x86]
mov word [eax + 0x1a], dx
mov cx, word [esp + 0x88]
mov word [eax + 0x1c], cx
mov dx, word [esp + 0x8a]
mov word [eax + 0x1e], dx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x90]
mov dword [eax + 0x24], edx
mov cx, word [esp + 0x94]
mov word [eax + 0x28], cx
mov edx, dword [esp + 0x98]
mov dword [eax + 0x2c], edx
mov dword [eax], 0x4f5588
lea eax, [esp + 0x100]
lea ecx, [esp + 0xa0]
push eax
call fcn.00456e90
lea ecx, [esp + 0xd0]
call fcn.00456e80
cmp dword [esp + 0x10], ebx
jne 0x4c92f6
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SetROP2
mov edx, dword [esp + 0x24]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x4f4f14
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x108], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x4f4f00
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x108], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], esi
mov byte [esp + 0x108], bl
call fcn.00456e80
lea ecx, [esp + 0x70]
mov dword [esp + 0x108], 0xffffffff
call fcn.00456e80
mov ecx, dword [esp + 0x100]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xfc
ret 0x14