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

Disassembly:
push 0xffffffffffffffff
push 0x55fdce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x160]
lea eax, [esp + 0x64]
mov esi, ecx
push eax
push edi
mov dword [esp + 0x38], esi
call fcn.004c56f0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x160]
mov dword [esi + 0x9c], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0xa4], edx
mov edx, dword [esp + 0x74]
add esp, 8
cmp eax, 1
mov dword [esi + 0xa0], edx
mov dword [esi + 0x98], ecx
jne 0x44607a
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 [esi + 0x88]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
cdq
sub eax, edx
mov ebx, eax
lea eax, [ecx*8]
sub eax, ecx
sar ebx, 1
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
mov ecx, dword [esp + 0x15c]
sar edx, 5
mov eax, edx
mov dword [esp + 0x14], ecx
shr eax, 0x1f
add edx, eax
sub ebx, edx
jmp 0x4460b7
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
mov eax, dword [0x5c0274]
lea ebx, [eax + eax*4]
mov eax, dword [0x5c0278]
shl ebx, 1
lea eax, [eax + eax*4]
sub ebx, edx
shl eax, 1
mov dword [esp + 0x14], eax
xor esi, esi
mov ecx, edi
mov dword [esp + 0x34], esi
call fcn.004ccdc0
mov ecx, dword [0x5b62c4]
mov edx, eax
mov al, byte [0x5b62c8]
mov dword [esp + 0x90], ecx
mov byte [esp + 0x94], al
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x95]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov byte [esp + 0x88], 0
mov byte [esp + 0x89], 1
mov byte [esp + 0x8a], 0
mov byte [esp + 0x8b], 0x86
mov byte [esp + 0x8c], 0
mov byte [esp + 0x8d], 0
mov byte [esp + 0x8e], 0
mov byte [esp + 0x8f], 0
mov ebp, dword [esp + 0x154]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp edx, esi
mov dword [esp + 0x10], edx
stosb byte es:[edi], al
mov dword [esp + 0x38], esi
jle 0x446677
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x164]
call fcn.004ccd90
mov esi, dword [eax + 0x54]
mov dword [esp + 0x18], eax
mov edi, 0x5b630c
mov dl, byte [esi]
mov cl, dl
cmp dl, byte [edi]
jne 0x4461a4
test cl, cl
je 0x4461a0
mov dl, byte [esi + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4461a4
add esi, 2
add edi, 2
test cl, cl
jne 0x446180
xor ecx, ecx
jmp 0x4461a9
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x446642
mov eax, dword [eax + 0x64]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x38]
mov ecx, dword [esp + 0x18]
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 + 0xec]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.004c29f0
add esp, 0x78
test eax, eax
jne 0x4462c0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x446213
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x2b8]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edx, dword [esp + 0x18]
sub esp, 0x3c
mov ecx, 0xf
mov edi, esp
lea esi, [edx + 0x14]
lea eax, [esp + 0x10c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004c2960
mov ecx, dword [esp + 0x110]
add esp, 0x40
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 ecx, dword [esp + 0x30]
mov eax, edx
shr eax, 0x1f
add edx, eax
lea esi, [ecx + 0x2b8]
mov dword [esp + 0xd0], edx
lea edx, [esp + 0xd0]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x18]
sub esp, 0x3c
mov ecx, 0xf
mov edi, esp
lea esi, [eax + 0x14]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xb0]
push ecx
call fcn.004c2960
mov eax, dword [esp + 0x70]
mov edx, dword [ebp]
add esp, 0x40
add eax, 0x2b8
mov ecx, ebp
push eax
call dword [edx + 0x30]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
mov ecx, dword [ecx + 0x9c]
mov edi, dword [esi + 0x10]
mov eax, ecx
sub eax, edi
sub eax, 3
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 edi, edx
mov edx, dword [esp + 0x14]
sub edi, edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x2c], edi
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, ebx
mov dword [esp + 0x18], edx
mov edx, dword [esi + 8]
sub ecx, edx
sub ecx, 3
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
mov ecx, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
lea eax, [edx*8]
mov dword [esp + 0x28], 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
mov eax, dword [ebp + 8]
add edx, ebx
mov dword [esp + 0x20], edx
lea edx, [esp + 0x10c]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esi + 0x50]
xor edx, edx
xor edi, edi
mov ecx, dword [eax - 8]
dec ecx
test ecx, ecx
jle 0x4463d6
cmp byte [edx + eax], 0xd
jne 0x4463cd
cmp byte [edx + eax + 1], 0xa
jne 0x4463cd
inc edi
inc edx
cmp edx, ecx
jl 0x4463bf
test edi, edi
jne 0x4463df
mov edx, 1
mov edi, edx
jmp 0x4463e4
mov edx, 1
mov eax, dword [esp + 0x10c]
lea ecx, [edi - 1]
imul ecx, dword [esp + 0x11c]
imul eax, edi
add ecx, eax
mov eax, dword [esi + 0x80]
test eax, eax
je 0x446441
cmp edi, edx
jg 0x446441
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x24]
push edx
push ebx
push ecx
mov ecx, dword [esp + 0x4c]
push edi
push esi
push ebp
call fcn.0044d470
jmp 0x446642
mov eax, dword [esi + 0x84]
test eax, eax
je 0x446497
cmp edi, edx
jg 0x446497
mov edx, dword [esp + 0x20]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0xb4]
push edx
mov edx, dword [eax + 0x94]
push edx
mov edx, dword [esp + 0x2c]
push edx
push ebx
push ecx
push edi
push esi
push ebp
mov ecx, eax
call fcn.0044d940
jmp 0x446642
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4464b5
mov edi, dword [esi + 0x7c]
test edi, edi
jne 0x4464b5
mov esi, dword [esi + 0x50]
mov edx, dword [ebp]
push 0
mov eax, dword [esi - 8]
jmp 0x446636
mov edi, 2
cmp eax, edi
jne 0x4464c8
cmp dword [esi + 0x7c], 0
je 0x44662c
cmp eax, edx
jne 0x4464ed
cmp dword [esi + 0x7c], 0
jne 0x4464ed
mov esi, dword [esi + 0x50]
mov edi, dword [ebp]
push edx
lea edx, [esp + 0x24]
mov eax, dword [esi - 8]
push edx
push eax
push esi
mov ecx, ebp
call dword [edi + 0x70]
jmp 0x446642
test eax, eax
jne 0x44655f
cmp dword [esi + 0x7c], edx
jne 0x446534
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
sub eax, edi
cdq
sub eax, edx
mov edx, eax
mov eax, ecx
sar edx, 1
mov dword [esp + 0x18], edx
mov ecx, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add ecx, edx
add eax, ecx
cmp eax, edi
jge 0x446524
mov dword [esp + 0x24], eax
mov esi, dword [esi + 0x50]
mov edx, dword [ebp]
push 0
mov eax, dword [esi - 8]
jmp 0x446636
test eax, eax
jne 0x44655f
cmp dword [esi + 0x7c], edi
jne 0x44655f
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add ecx, edx
cmp eax, ecx
jle 0x44654f
mov dword [esp + 0x24], ecx
mov esi, dword [esi + 0x50]
mov edx, dword [ebp]
push 0
mov eax, dword [esi - 8]
jmp 0x446636
cmp eax, edx
jne 0x4465d3
cmp dword [esi + 0x7c], edx
jne 0x4465a0
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
sub eax, edi
cdq
sub eax, edx
mov edx, eax
mov eax, ecx
sar edx, 1
mov ecx, edx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add edx, ecx
add eax, edx
cmp eax, edi
jge 0x446590
mov dword [esp + 0x24], eax
mov esi, dword [esi + 0x50]
mov edx, dword [ebp]
push 1
mov eax, dword [esi - 8]
jmp 0x446636
cmp eax, edx
jne 0x4465d3
cmp dword [esi + 0x7c], edi
jne 0x4465d3
mov eax, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x24]
cmp eax, ecx
jle 0x4465bb
mov dword [esp + 0x24], ecx
mov esi, dword [esi + 0x50]
mov edi, dword [ebp]
lea ecx, [esp + 0x20]
push edx
mov eax, dword [esi - 8]
push ecx
push eax
push esi
mov ecx, ebp
call dword [edi + 0x70]
jmp 0x446642
cmp eax, edi
jne 0x446642
cmp dword [esi + 0x7c], edx
jne 0x446611
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
sub eax, edi
cdq
sub eax, edx
mov edx, eax
mov eax, ecx
sar edx, 1
mov ecx, edx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add edx, ecx
add eax, edx
cmp eax, edi
jge 0x446604
mov dword [esp + 0x24], eax
mov esi, dword [esi + 0x50]
mov edx, dword [ebp]
push 2
mov eax, dword [esi - 8]
jmp 0x446636
cmp eax, edi
jne 0x446642
cmp dword [esi + 0x7c], edi
jne 0x446642
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add ecx, edx
cmp eax, ecx
jle 0x44662c
mov dword [esp + 0x24], ecx
mov esi, dword [esi + 0x50]
mov edx, dword [ebp]
push edi
mov eax, dword [esi - 8]
lea ecx, [esp + 0x24]
push ecx
push eax
push esi
mov ecx, ebp
call dword [edx + 0x70]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x446163
mov eax, dword [esp + 0x38]
test eax, eax
je 0x446677
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x2b8]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x160]
call fcn.004cc990
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x38], eax
je 0x446e1e
jmp 0x446698
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x160]
push eax
call fcn.004cc960
mov edi, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jne 0x446813
cmp eax, dword [edi + 0xbc]
jg 0x446813
xor ecx, ecx
mov dword [esp + 0x18], 0x57f4f8
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14c], ecx
push eax
push 2
push ecx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x9c]
sub eax, ecx
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
mov ecx, dword [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
sub edx, ecx
mov ecx, dword [esi + 4]
push edx
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 + 0xbc]
shr eax, 0x1f
add edx, eax
add edx, ebx
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov edi, dword [edi + 0x9c]
mov edx, dword [esi + 8]
sub edi, edx
mov esi, dword [esi + 0xc]
lea eax, [edi*8]
sub eax, edi
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [edi + edx*2]
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
sub edx, ecx
push edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [esi + ecx*2]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ecx, ebp
add edx, ebx
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x18], 0x57f4d8
lea ecx, [esp + 0x18]
mov dword [esp + 0x14c], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x14c], 0xffffffff
mov dword [esp + 0x18], 0x57f4c4
jmp 0x446e0b
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jne 0x446aee
mov ecx, dword [edi + 0xbc]
cmp eax, ecx
jge 0x446ae5
cmp dword [esi + 0x10], ecx
jge 0x44698d
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0x57f4f8
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14c], 2
push eax
push 2
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x44]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x9c]
sub eax, ecx
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
mov ecx, dword [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
sub edx, ecx
mov ecx, dword [esi + 4]
push edx
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 + 0xcc]
shr eax, 0x1f
add edx, eax
add edx, ebx
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov edi, dword [edi + 0x9c]
mov edx, dword [esi + 0x10]
sub edi, edx
mov esi, dword [esi + 0xc]
lea eax, [edi*8]
sub eax, edi
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [edi + edx*2]
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
sub edx, ecx
push edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [esi + ecx*2]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ebx
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x44], 0x57f4d8
lea ecx, [esp + 0x44]
mov dword [esp + 0x14c], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x14c], 0xffffffff
mov dword [esp + 0x44], 0x57f4c4
jmp 0x446e0b
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0x57f4f8
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14c], 4
push eax
push 2
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x4c]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x9c]
sub eax, ecx
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
mov ecx, dword [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
sub edx, ecx
mov ecx, dword [esi + 4]
push edx
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 + 0xb4]
shr eax, 0x1f
add edx, eax
add edx, ebx
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [edi + 0x9c]
mov ecx, dword [edi + 0xbc]
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
sub edx, ecx
push edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [esi + ecx*2]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ebx
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x4c], 0x57f4d8
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14c], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x14c], 0xffffffff
mov dword [esp + 0x4c], 0x57f4c4
jmp 0x446e0b
cmp edx, dword [esi + 0xc]
je 0x446e0b
mov edx, dword [esi + 0x10]
cmp eax, edx
je 0x446e0b
mov ecx, dword [edi + 0xbc]
cmp eax, ecx
jge 0x446e0b
cmp edx, ecx
jg 0x446c83
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0x57f4f8
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14c], 6
push eax
push 2
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x54]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov edi, dword [edi + 0x9c]
mov dword [esp + 0x34], eax
sub edi, dword [esi + 8]
lea eax, [edi*8]
sub eax, edi
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*2]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov ecx, edx
mov edi, dword [esp + 0x14]
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esi + 4]
sub edx, edi
lea eax, [ecx*8]
push edx
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 + 0x24]
shr eax, 0x1f
add edx, eax
add edx, ebx
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esi + 8]
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 [esi + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [ecx*8]
sub eax, ecx
mov dword [esp + 0x10], edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov eax, 0x66666667
imul ecx
mov eax, dword [esp + 0x10]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
sub eax, edx
sub eax, edi
push eax
mov esi, dword [esi + 0xc]
lea eax, [esi*8]
sub eax, esi
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [esi + ecx*2]
imul ecx
sar edx, 5
mov eax, edx
mov ecx, ebp
shr eax, 0x1f
add edx, eax
add edx, ebx
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x54], 0x57f4d8
lea ecx, [esp + 0x54]
mov dword [esp + 0x14c], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x14c], 0xffffffff
mov dword [esp + 0x54], 0x57f4c4
jmp 0x446e0b
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0x57f4f8
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14c], 8
push eax
push 2
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x3c]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], eax
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x5c], 0
fild dword [esp + 0x10]
fild dword [esi + 0xc]
fild dword [esi + 0x10]
mov dword [esp + 0x60], 0
fsub st(2)
fcom qword [0x57f4f0]
fnstsw ax
test ah, 0x40
jne 0x446d1b
fild dword [edi + 0xbc]
fsub st(3)
fxch st(2)
fsub st(4)
fmulp st(2)
fxch st(1)
fdiv st(1)
fadd st(3)
fstp qword [esp + 0x5c]
jmp 0x446d1d
fstp st(0)
mov eax, dword [edi + 0x9c]
mov esi, dword [esp + 0x14]
sub eax, edx
fstp st(0)
lea edx, [eax*8]
sub edx, eax
fstp st(0)
lea edx, [edx + edx*2]
fstp st(0)
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
lea eax, [ecx*8]
sub eax, ecx
sub edx, esi
push edx
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 + 0xc4]
shr eax, 0x1f
add edx, eax
add edx, ebx
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov edi, dword [edi + 0x78]
fld qword [esp + 0x5c]
lea eax, [edi*8]
sub eax, edi
fmul qword [0x582240]
lea eax, [eax + eax*2]
neg esi
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [edi + edx*2]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
sub esi, edx
push esi
call sub.MSVCRT.dll__ftol
mov ecx, ebx
sub ecx, eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x34]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x3c], 0x57f4d8
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14c], 9
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x14c], 0xffffffff
mov dword [esp + 0x3c], 0x57f4c4
mov eax, dword [esp + 0x38]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x38], eax
jne 0x446694
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x140
ret 0x10