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

Disassembly:
push 0xffffffffffffffff
push 0x55fef7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push ebp
mov ebx, ecx
push esi
mov ecx, dword [esp + 0x1c8]
lea eax, [esp + 0xa0]
push edi
push eax
push ecx
call fcn.004c56f0
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
mov dword [ebx + 0x9c], edx
mov edx, dword [esp + 0xac]
mov dword [ebx + 0xa4], eax
mov eax, dword [esp + 0x1d0]
mov dword [ebx + 0xa0], ecx
mov dword [ebx + 0x98], edx
add esp, 8
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x90], eax
mov edx, eax
mov ecx, dword [ebx + eax*4 + 0xc4]
mov dword [ebx + 0xb4], ecx
mov eax, dword [ebx + edx*4 + 0x1b4]
xor edx, edx
cmp ecx, eax
mov dword [ebx + 0xb8], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], edx
jge 0x449c0e
mov ebp, dword [esp + 0x1c4]
mov esi, edx
mov ecx, dword [esp + 0x1cc]
mov dword [esp + 0x28], 0
call fcn.004ccdc0
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x44], eax
je 0x4480d4
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x1cc]
push edx
call fcn.004ccd90
mov edx, dword [eax + 0x54]
mov dword [esp + 0x10], eax
mov esi, 0x5b6304
mov edi, edx
mov al, byte [edi]
mov cl, al
cmp al, byte [esi]
jne 0x44805e
test cl, cl
je 0x44805a
mov al, byte [edi + 1]
mov cl, al
cmp al, byte [esi + 1]
jne 0x44805e
add edi, 2
add esi, 2
test cl, cl
jne 0x44803a
xor ecx, ecx
jmp 0x448063
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x44809f
mov edi, 0x5b6224
mov esi, edx
mov dl, byte [esi]
mov al, byte [edi]
mov cl, dl
cmp dl, al
jne 0x448096
test cl, cl
je 0x448092
mov al, byte [esi + 1]
mov dl, byte [edi + 1]
mov cl, al
cmp al, dl
jne 0x448096
add esi, 2
add edi, 2
test cl, cl
jne 0x44806e
xor ecx, ecx
jmp 0x44809b
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4480b1
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax + 8]
sub ecx, 3
cmp ecx, edx
je 0x4480c6
mov eax, dword [esp + 0x44]
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x44], eax
jne 0x44801b
jmp 0x4480d0
mov eax, dword [eax + 0x10]
add eax, 3
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0xb4]
cmp eax, ecx
jne 0x448126
mov ecx, dword [ebx + 0x78]
mov esi, dword [esp + 0x4c]
add esi, 0x3a
lea eax, [ecx*8]
mov dword [esp + 0x4c], esi
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
sar edx, 5
mov ecx, dword [esp + 0x1cc]
mov eax, edx
shr eax, 0x1f
add edx, eax
push ecx
add edx, esi
push esi
mov edi, edx
mov dword [esp + 0x4c], edi
jmp 0x44818e
mov ecx, dword [ebx + 0x78]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [esi*8]
sub eax, esi
mov edi, edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
lea esi, [esi + ecx*2]
mov ecx, dword [esp + 0x4c]
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, edi
lea eax, [ecx + edx + 0x1f]
mov edx, dword [esp + 0x1cc]
add edi, eax
push edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], edi
push eax
push 1
push ebp
mov ecx, ebx
call fcn.00445fa0
mov ecx, dword [esp + 0x1cc]
call fcn.004cc990
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x2c], eax
je 0x4494ee
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1cc]
push edx
call fcn.004cc960
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jne 0x44853a
cmp eax, dword [esp + 0x28]
jne 0x448395
xor ecx, ecx
mov dword [esp + 0x94], 0x57f4f8
mov dword [esp + 0x98], ecx
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1bc], ecx
push eax
push 2
push ecx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x98]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x94]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0xa0]
mov dword [esp + 0x20], eax
mov eax, ecx
sub eax, edx
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x88]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x24]
sub ecx, edx
mov edx, dword [esp + 0x28]
sub eax, edx
mov dword [esp + 0x1c], ecx
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
sub edx, edi
mov dword [esp + 0x10], edx
push edx
mov edx, dword [esi + 4]
lea eax, [edx*8]
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [edx + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ecx
lea ecx, [esp + 0x11c]
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov esi, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
push edx
lea eax, [esi*8]
sub eax, esi
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*2]
mov eax, 0x66666667
imul ecx
mov esi, dword [esp + 0x20]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, ebp
add edx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x20]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x94], 0x57f4d8
lea ecx, [esp + 0x94]
mov dword [esp + 0x1bc], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1bc], 0xffffffff
mov dword [esp + 0x94], 0x57f4c4
jmp 0x4494db
cmp eax, ecx
jne 0x44853a
cmp eax, dword [esp + 0x24]
jne 0x44853a
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0x57f4f8
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1bc], 2
push eax
push 2
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0xa0]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x9c]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0xa0]
mov dword [esp + 0x1c], eax
mov eax, ecx
sub eax, edx
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x88]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edi
sub ecx, edx
mov edx, dword [esi + 4]
neg eax
mov dword [esp + 0x14], eax
push eax
lea eax, [edx*8]
mov dword [esp + 0x14], ecx
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [edx + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ecx
lea ecx, [esp + 0x10c]
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov esi, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
push edx
lea eax, [esi*8]
sub eax, esi
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*2]
mov eax, 0x66666667
imul ecx
mov esi, dword [esp + 0x14]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, ebp
add edx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x1c]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x9c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x9c], 0x57f4d8
lea ecx, [esp + 0x9c]
mov dword [esp + 0x1bc], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1bc], 0xffffffff
mov dword [esp + 0x9c], 0x57f4c4
jmp 0x4494db
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
cmp ecx, edx
jne 0x448c71
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jle 0x448c71
cmp eax, dword [esp + 0x28]
jge 0x448c71
cmp eax, ecx
jg 0x448900
cmp edx, dword [esp + 0x28]
jl 0x44871d
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0x57f4f8
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1bc], 4
push eax
push 2
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x68]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0xa0]
mov dword [esp + 0x1c], eax
mov eax, ecx
sub eax, edx
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x88]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edi
sub ecx, edx
mov edx, dword [esi + 4]
neg eax
mov dword [esp + 0x14], eax
push eax
lea eax, [edx*8]
mov dword [esp + 0x14], ecx
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [edx + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ecx
lea ecx, [esp + 0xf4]
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub eax, ecx
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ecx + ecx*4]
mov esi, dword [esi + 0xc]
lea ecx, [eax + edx*2]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
mov ecx, dword [esp + 0x14]
shr eax, 0x1f
add edx, eax
lea eax, [esi*8]
sub eax, esi
add edx, ecx
push edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [esi + ecx*2]
mov esi, dword [esp + 0x14]
imul ecx
sar edx, 5
mov eax, edx
mov ecx, ebp
shr eax, 0x1f
add edx, eax
add edx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x68], 0x57f4d8
lea ecx, [esp + 0x68]
mov dword [esp + 0x1bc], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1bc], 0xffffffff
mov dword [esp + 0x68], 0x57f4c4
jmp 0x4494db
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jg 0x448900
cmp edx, dword [esp + 0x28]
jge 0x4488f4
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0x57f4f8
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1bc], 6
push eax
push 2
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x88]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0xa0]
mov dword [esp + 0x1c], eax
mov eax, ecx
sub eax, edx
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x88]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edi
sub ecx, edx
mov edx, dword [esi + 4]
neg eax
mov dword [esp + 0x14], eax
push eax
lea eax, [edx*8]
mov dword [esp + 0x14], ecx
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [edx + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ecx
lea ecx, [esp + 0x13c]
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x10]
sub eax, ecx
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ecx + ecx*4]
mov esi, dword [esi + 0xc]
lea ecx, [eax + edx*2]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
mov ecx, dword [esp + 0x14]
shr eax, 0x1f
add edx, eax
lea eax, [esi*8]
sub eax, esi
add edx, ecx
push edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [esi + ecx*2]
mov esi, dword [esp + 0x14]
imul ecx
sar edx, 5
mov eax, edx
mov ecx, ebp
shr eax, 0x1f
add edx, eax
add edx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x88], 0x57f4d8
lea ecx, [esp + 0x88]
mov dword [esp + 0x1bc], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1bc], 0xffffffff
mov dword [esp + 0x88], 0x57f4c4
jmp 0x4494db
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x4494db
cmp edx, dword [esp + 0x28]
jge 0x448ab2
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0x57f4f8
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1bc], 8
push eax
push 2
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x78]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0xa0]
mov dword [esp + 0x1c], eax
mov eax, ecx
sub eax, edx
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x88]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edi
sub ecx, edx
mov edx, dword [esi + 4]
neg eax
mov dword [esp + 0x14], eax
push eax
lea eax, [edx*8]
mov dword [esp + 0x14], ecx
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [edx + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ecx
lea ecx, [esp + 0x104]
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
sub eax, ecx
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ecx + ecx*4]
mov esi, dword [esi + 0xc]
lea ecx, [eax + edx*2]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
mov ecx, dword [esp + 0x14]
shr eax, 0x1f
add edx, eax
lea eax, [esi*8]
sub eax, esi
add edx, ecx
push edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [esi + ecx*2]
mov esi, dword [esp + 0x14]
imul ecx
sar edx, 5
mov eax, edx
mov ecx, ebp
shr eax, 0x1f
add edx, eax
add edx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x78], 0x57f4d8
lea ecx, [esp + 0x78]
mov dword [esp + 0x1bc], 9
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1bc], 0xffffffff
mov dword [esp + 0x78], 0x57f4c4
jmp 0x4494db
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x4494db
cmp edx, dword [esp + 0x28]
jl 0x4494db
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0x57f4f8
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1bc], 0xa
push eax
push 2
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x50]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0xa0]
mov dword [esp + 0x1c], eax
mov eax, ecx
sub eax, edx
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x88]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edi
sub ecx, edx
mov edx, dword [esi + 4]
neg eax
mov dword [esp + 0x14], eax
push eax
lea eax, [edx*8]
mov dword [esp + 0x14], ecx
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [edx + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ecx
lea ecx, [esp + 0x12c]
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x28]
sub eax, ecx
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ecx + ecx*4]
mov esi, dword [esi + 0xc]
lea ecx, [eax + edx*2]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
mov ecx, dword [esp + 0x14]
shr eax, 0x1f
add edx, eax
lea eax, [esi*8]
sub eax, esi
add edx, ecx
push edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [esi + ecx*2]
mov esi, dword [esp + 0x14]
imul ecx
sar edx, 5
mov eax, edx
mov ecx, ebp
shr eax, 0x1f
add edx, eax
add edx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x50], 0x57f4d8
lea ecx, [esp + 0x50]
mov dword [esp + 0x1bc], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1bc], 0xffffffff
mov dword [esp + 0x50], 0x57f4c4
jmp 0x4494db
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
cmp ecx, edx
je 0x449051
mov ecx, dword [esi + 0x10]
cmp eax, ecx
je 0x449051
cmp ecx, dword [esp + 0x28]
jg 0x449051
mov edx, dword [esp + 0x24]
cmp eax, edx
jl 0x448e6a
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0x57f4f8
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1bc], 0xc
push eax
push 2
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x58]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0xa0]
mov dword [esp + 0x1c], eax
mov eax, ecx
sub eax, edx
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x88]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x24]
sub ecx, edx
mov edx, dword [esi + 8]
sub eax, edx
mov dword [esp + 0x10], ecx
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
sub edx, edi
push edx
mov edx, dword [esi + 4]
lea eax, [edx*8]
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [edx + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ecx
lea ecx, [esp + 0x114]
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov esi, dword [esi + 0xc]
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*2]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [esi*8]
sub eax, esi
sub edx, edi
push edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [esi + ecx*2]
mov esi, dword [esp + 0x14]
imul ecx
sar edx, 5
mov eax, edx
mov ecx, ebp
shr eax, 0x1f
add edx, eax
add edx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x58], 0x57f4d8
lea ecx, [esp + 0x58]
mov dword [esp + 0x1bc], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1bc], 0xffffffff
mov dword [esp + 0x58], 0x57f4c4
jmp 0x4494db
cmp ecx, edx
jle 0x4494db
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0x57f4f8
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1bc], 0xe
push eax
push 2
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x60]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0xa0]
mov dword [esp + 0x48], eax
mov eax, ecx
sub eax, edx
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x88]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
sub ecx, edx
mov edx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0xc]
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
je 0x448f5f
mov ecx, dword [esi + 4]
mov eax, edx
mov edx, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x24]
sub ecx, edx
imul eax, ecx
cdq
idiv dword [esp + 0x20]
add eax, dword [esi + 4]
mov ecx, edi
neg ecx
mov dword [esp + 0x14], ecx
push ecx
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*2]
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x20]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ecx
lea ecx, [esp + 0x134]
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov esi, dword [esi + 0xc]
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*2]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
mov ecx, dword [esp + 0x14]
shr eax, 0x1f
add edx, eax
lea eax, [esi*8]
sub eax, esi
add edx, ecx
push edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [esi + ecx*2]
mov esi, dword [esp + 0x20]
imul ecx
sar edx, 5
mov eax, edx
mov ecx, ebp
shr eax, 0x1f
add edx, eax
add edx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x60], 0x57f4d8
lea ecx, [esp + 0x60]
mov dword [esp + 0x1bc], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1bc], 0xffffffff
mov dword [esp + 0x60], 0x57f4c4
jmp 0x4494db
cmp eax, dword [esi + 0x10]
je 0x4494db
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
cmp ecx, edx
je 0x4494db
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jle 0x4494db
cmp eax, dword [esp + 0x24]
jg 0x449280
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0x57f4f8
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
push ecx
mov dword [esp + 0x1c0], 0x10
lea eax, [edx*8]
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [edx + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0xa0]
mov dword [esp + 0x20], eax
mov eax, ecx
sub eax, edx
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x88]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x48], eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [esp + 0x48]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0xc]
sub ecx, edx
mov edx, dword [esi + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x10]
xor esi, esi
sub eax, edx
mov dword [esp + 0x1c], eax
je 0x449190
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x28]
sub eax, ecx
sub esi, edx
imul eax, esi
cdq
idiv dword [esp + 0x1c]
mov esi, eax
add esi, ecx
mov eax, edi
neg eax
mov dword [esp + 0x14], eax
push eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ecx
lea ecx, [esp + 0x124]
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub eax, ecx
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*2]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
mov ecx, dword [esp + 0x14]
shr eax, 0x1f
add edx, eax
lea eax, [esi*8]
sub eax, esi
add edx, ecx
push edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
lea esi, [esi + ecx*2]
mov ecx, ebp
imul esi
mov esi, dword [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x70], 0x57f4d8
lea ecx, [esp + 0x70]
mov dword [esp + 0x1bc], 0x11
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1bc], 0xffffffff
mov dword [esp + 0x70], 0x57f4c4
jmp 0x4494db
cmp eax, edx
jge 0x4494db
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0x57f4f8
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
push ecx
mov dword [esp + 0x1c0], 0x12
lea eax, [edx*8]
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [edx + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x80]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0xa0]
mov dword [esp + 0x90], eax
mov eax, ecx
sub eax, edx
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x88]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x48], eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [esp + 0x48]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0xc]
sub ecx, edx
mov edx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x10]
xor esi, esi
sub eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
je 0x4493ae
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
sub eax, ecx
sub edx, esi
imul eax, edx
cdq
idiv dword [esp + 0x20]
mov esi, eax
add esi, ecx
mov edx, dword [esp + 0x10]
mov eax, edi
neg eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
sub eax, edx
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x14]
add edx, eax
lea eax, [ecx*8]
sub eax, ecx
push edx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [esp + 0x20]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ecx
lea ecx, [esp + 0xfc]
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub eax, ecx
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*2]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
mov ecx, dword [esp + 0x14]
shr eax, 0x1f
add edx, eax
lea eax, [esi*8]
sub eax, esi
add edx, ecx
push edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
lea esi, [esi + ecx*2]
mov ecx, ebp
imul esi
mov esi, dword [esp + 0x20]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x90]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x80], 0x57f4d8
mov dword [esp + 0x1bc], 0x13
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1bc], 0xffffffff
mov dword [esp + 0x80], 0x57f4c4
mov eax, dword [esp + 0x2c]
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x2c], eax
jne 0x4481b3
mov eax, dword [0x5b62c4]
mov cl, byte [0x5b62c8]
xor edx, edx
mov dword [esp + 0xd0], eax
mov byte [esp + 0xd4], cl
mov ecx, 6
xor eax, eax
lea edi, [esp + 0xd5]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], edx
mov byte [esp + 0xc8], dl
mov byte [esp + 0xc9], 1
mov byte [esp + 0xca], dl
mov byte [esp + 0xcb], 0x86
mov byte [esp + 0xcc], dl
mov byte [esp + 0xcd], dl
mov byte [esp + 0xce], dl
mov byte [esp + 0xcf], dl
mov dword [esp + 0x10], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x40]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x1cc]
mov dword [esp + 0x1bc], 0x14
call fcn.004ccdc0
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x1c], eax
je 0x449bda
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1cc]
push eax
call fcn.004ccd90
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
add ecx, 3
cmp ecx, eax
jg 0x449bab
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, dword [edx + 8]
sub eax, 3
cmp eax, ecx
jl 0x449bab
mov ecx, edx
sub esp, 0x3c
mov edi, esp
sub esp, 0x3c
lea esi, [ecx + 0x14]
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xf
lea esi, [esp + 0x12c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.004c29f0
add esp, 0x78
test eax, eax
jne 0x4496df
mov eax, dword [esp + 0x10]
test eax, eax
je 0x449639
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
lea ecx, [ebx + 0x2b8]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esp + 0x20]
sub esp, 0x3c
mov ecx, 0xf
mov edi, esp
lea esi, [eax + 0x14]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x17c]
push ecx
call fcn.004c2960
mov ecx, dword [esp + 0x180]
add esp, 0x40
lea esi, [ebx + 0x2b8]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
sar edx, 5
mov eax, edx
lea ecx, [esp + 0x140]
shr eax, 0x1f
add edx, eax
push ecx
mov dword [esp + 0x144], edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x20]
sub esp, 0x3c
mov ecx, 0xf
mov edi, esp
lea esi, [edx + 0x14]
lea eax, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004c2960
mov edx, dword [ebp]
add esp, 0x40
lea eax, [ebx + 0x2b8]
mov ecx, ebp
push eax
call dword [edx + 0x30]
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 0x98]
mov edi, dword [ebx + 0xa0]
mov eax, ecx
sub eax, edi
mov edi, dword [esp + 0x20]
lea edx, [eax*8]
sub edx, eax
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [eax + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x88]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
cdq
sub eax, edx
mov esi, eax
lea eax, [ecx*8]
sub eax, ecx
sar esi, 1
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [edi + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [edi + 8]
sub eax, ecx
sub esi, edx
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*2]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ecx, edx
mov edx, dword [esp + 0x44]
sub ecx, edx
mov edx, dword [edi + 0xc]
lea eax, [edx*8]
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [edx + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, esi
mov dword [esp + 0x90], edx
mov edx, dword [edi + 4]
lea eax, [edx*8]
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [edx + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x44]
add edx, esi
neg eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x17c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x90]
push eax
push ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [edi + 0x50]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov ecx, dword [eax - 8]
dec ecx
test ecx, ecx
jle 0x44984c
mov edx, dword [esp + 0x14]
cmp byte [eax + edx], 0xd
jne 0x449837
cmp byte [eax + edx + 1], 0xa
jne 0x449837
inc dword [esp + 0x20]
mov edx, dword [esp + 0x14]
inc edx
cmp edx, ecx
mov dword [esp + 0x14], edx
jl 0x449822
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x449854
mov dword [esp + 0x20], 1
mov eax, dword [edi + 0x64]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x17c]
imul edx, ecx
lea eax, [ecx - 1]
lea ecx, [esp + 0x40]
imul eax, dword [esp + 0x18c]
add eax, edx
mov dword [esp + 0x14], eax
lea eax, [edi + 0x50]
push eax
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [edi + 0x54]
mov dword [esp + 0x2c], 0x5b62bc
mov cl, byte [eax]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x1b], cl
cmp cl, byte [edx]
jne 0x4498c7
test cl, cl
je 0x4498c3
mov cl, byte [eax + 1]
mov byte [esp + 0x1b], cl
cmp cl, byte [edx + 1]
jne 0x4498c7
add eax, 2
add edx, 2
test cl, cl
mov dword [esp + 0x2c], edx
jne 0x449897
xor eax, eax
jmp 0x4498cc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44991f
mov eax, dword [edi + 0x80]
test eax, eax
je 0x44991f
cmp dword [esp + 0x20], 1
jg 0x44991f
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
push eax
push esi
push ecx
push edx
push edi
push ebp
mov ecx, ebx
call fcn.0044d470
jmp 0x449bab
mov eax, dword [edi + 0x54]
mov dword [esp + 0x2c], 0x5b62bc
mov cl, byte [eax]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x1b], cl
cmp cl, byte [edx]
jne 0x44995a
test cl, cl
je 0x449956
mov cl, byte [eax + 1]
mov byte [esp + 0x1b], cl
cmp cl, byte [edx + 1]
jne 0x44995a
add eax, 2
add edx, 2
test cl, cl
mov dword [esp + 0x2c], edx
jne 0x44992a
xor eax, eax
jmp 0x44995f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4499c0
mov eax, dword [edi + 0x84]
test eax, eax
je 0x4499c0
cmp dword [esp + 0x20], 1
jg 0x4499c0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x94]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0xb4]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push esi
push eax
push ecx
push edi
push ebp
mov ecx, ebx
call fcn.0044d940
jmp 0x449bab
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x4499f1
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x4499f1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
sub eax, 7
mov edx, dword [ebp]
mov dword [esp + 0x34], eax
sub eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
push 0
mov ecx, dword [eax - 8]
jmp 0x449a4d
cmp eax, 2
jne 0x449a20
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x449a20
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
sub eax, 7
mov edx, dword [ebp]
mov dword [esp + 0x34], eax
sub eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
push 2
mov ecx, dword [eax - 8]
jmp 0x449a4d
cmp eax, 1
jne 0x449a59
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x449a59
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
sub eax, 7
mov edx, dword [ebp]
mov dword [esp + 0x34], eax
sub eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
push 1
mov ecx, dword [eax - 8]
lea esi, [esp + 0x34]
push esi
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x70]
mov eax, dword [edi + 0x78]
mov edx, 1
test eax, eax
jne 0x449a97
cmp dword [edi + 0x7c], edx
jne 0x449a97
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, 7
mov dword [esp + 0x3c], eax
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, ecx
sar esi, 1
sar eax, 1
add edx, esi
add eax, edx
cmp eax, ecx
jge 0x449ac0
jmp 0x449abc
test eax, eax
mov ecx, 2
jne 0x449ad1
cmp dword [edi + 0x7c], ecx
jne 0x449ad1
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
sub eax, 7
mov dword [esp + 0x3c], eax
add eax, ecx
cmp dword [esp + 0x34], eax
jle 0x449ac0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov edx, dword [ebp]
push 0
mov ecx, dword [eax - 8]
jmp 0x449b9f
cmp eax, edx
jne 0x449b39
cmp dword [edi + 0x7c], edx
jne 0x449b07
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, 7
mov dword [esp + 0x3c], eax
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, ecx
sar esi, 1
sar eax, 1
add edx, esi
add eax, edx
cmp eax, ecx
jge 0x449b2b
jmp 0x449b27
cmp eax, edx
jne 0x449b39
cmp dword [edi + 0x7c], ecx
jne 0x449b39
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
sub eax, 7
mov dword [esp + 0x3c], eax
add eax, ecx
cmp dword [esp + 0x34], eax
jle 0x449b2b
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov edx, dword [ebp]
push 1
mov ecx, dword [eax - 8]
jmp 0x449b9f
cmp eax, ecx
jne 0x449bab
cmp dword [edi + 0x7c], edx
jne 0x449b6f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, 7
mov dword [esp + 0x3c], eax
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, ecx
sar esi, 1
sar eax, 1
add edx, esi
add eax, edx
cmp eax, ecx
jge 0x449b93
jmp 0x449b8f
cmp eax, ecx
jne 0x449bab
cmp dword [edi + 0x7c], ecx
jne 0x449bab
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
sub eax, 7
mov dword [esp + 0x3c], eax
add eax, ecx
cmp dword [esp + 0x34], eax
jle 0x449b93
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov edx, dword [ebp]
push 2
mov ecx, dword [eax - 8]
lea esi, [esp + 0x34]
push esi
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x70]
mov eax, dword [esp + 0x1c]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x1c], eax
jne 0x4495ac
mov eax, dword [esp + 0x10]
test eax, eax
je 0x449bda
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
lea ecx, [ebx + 0x2b8]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov esi, edi
mov dword [esp + 0x24], edi
sub esi, ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1bc], 0xffffffff
call sub.MFC42.DLL_CString::CString
cmp edi, dword [ebx + 0xb8]
jl 0x447ff8
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1b0
ret 0xc