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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x570400
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
mov eax, dword [eax + 0x14]
push edi
mov edi, dword [ebx + 0x40]
mov dword [ebx + 0x1bc], eax
mov ecx, dword [ebx + eax*4 + 0x1d8]
mov edx, eax
mov dword [ebx + 0x1d0], ecx
xor esi, esi
mov eax, dword [ebx + edx*4 + 0x2c8]
mov ecx, edi
mov dword [esp + 0x58], edi
mov dword [ebx + 0x1d4], eax
mov dword [esp + 0x14], esi
call fcn.004cc990
test eax, eax
jle 0x4edb26
push esi
mov ecx, edi
call fcn.004cc960
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x10]
cmp ecx, edx
jne 0x4edae7
cmp ecx, dword [ebx + 0xd4]
jne 0x4edae7
mov esi, dword [eax + 0x18]
mov dword [esp + 0x10], esi
mov esi, dword [eax + 4]
cmp esi, dword [eax + 0xc]
jne 0x4edafe
cmp esi, dword [ebx + 0xd0]
jne 0x4edafe
mov eax, dword [eax + 0x18]
mov dword [esp + 0x3c], eax
cmp ecx, edx
jne 0x4edb12
cmp esi, dword [ebx + 0x1d8]
jne 0x4edb12
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x14]
mov ecx, edi
inc esi
mov dword [esp + 0x14], esi
call fcn.004cc990
cmp esi, eax
jl 0x4edac6
mov ecx, dword [esp + 0x3c]
mov eax, 0xffffff
cmp ecx, eax
je 0x4edb3c
mov esi, dword [ebp + 8]
mov eax, ecx
mov edx, dword [esi]
jmp 0x4edb4f
mov ecx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
cmp ecx, eax
mov eax, ecx
mov edx, dword [esi]
jne 0x4edb4f
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
call dword [edx + 0x38]
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], 0x57f4b0
mov eax, dword [0x5c0274]
sub esp, 8
mov dword [esp + 0x1d8], edi
lea ecx, [eax + eax*4]
shl ecx, 1
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fild dword [ebx + 0xd0]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov dword [esp + 0xc], eax
push str.Arial
push 0x30
push edi
push 0x30
push edi
push 1
push edi
push edi
push edi
push 0x12c
push edi
push 0x384
push edi
push 0x1c
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0xb4]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esi]
lea eax, [esp + 0xb0]
push eax
mov ecx, esi
call dword [edx + 0x30]
fild dword [ebx + 0xd0]
sub esp, 8
mov dword [esp + 0x44], eax
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsub qword [0x57f530]
fiadd dword [esp + 0x14]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [ebx + 0x1d0]
mov edx, dword [ebx + 0x1c0]
sub ecx, edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], ecx
mov eax, dword [0x5c0278]
fild dword [esp + 0x14]
lea edx, [eax + eax*4]
shl edx, 1
fdiv qword [ebx + 0x1a8]
mov dword [esp + 0x14], edx
fild dword [ebx + 0x1d4]
fdiv qword [ebx + 0x1a8]
fsubp st(1)
fmul qword [0x57f530]
fadd qword [0x57f570]
fild dword [esp + 0x14]
fsubp st(1)
fadd qword [0x57f540]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x14]
push 4
push ecx
lea edi, [eax + 0x370]
mov byte [esp + 0x1d8], 1
mov ecx, edi
call sub.MFC42.DLL_CString::Left
push eax
lea edx, [esp + 0x10]
push 0x5c0338
push edx
mov byte [esp + 0x1dc], 2
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1d4], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0xc]
mov byte [esp + 0x1d0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d0], 1
call sub.MFC42.DLL_CString::CString
push 2
lea eax, [esp + 0x18]
push 4
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x10]
push 0x5b6368
push ecx
mov byte [esp + 0x1dc], 4
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1d4], 5
call fcn.0055727c
lea ecx, [esp + 0xc]
mov byte [esp + 0x1d0], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d0], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x5c]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x5c]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
lea ecx, [esp + 0xb0]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0
push esi
mov ecx, ebx
call fcn.004e2280
mov eax, dword [0x5c0274]
lea ecx, [eax + eax*4]
shl ecx, 1
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fild dword [ebx + 0xd0]
sub esp, 8
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
mov eax, dword [0x5c0278]
add esp, 8
lea eax, [eax + eax*4]
shl eax, 1
mov dword [esp + 0x38], eax
call fcn.004cc990
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x10], eax
je 0x4ef270
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
push eax
call fcn.004cc960
mov edi, eax
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
jne 0x4ee379
cmp eax, dword [ebx + 0x1d4]
jge 0x4edfdc
cmp eax, dword [ebx + 0x1d0]
jle 0x4edfdc
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0x57f4f8
fild dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
sub esp, 8
mov byte [esp + 0x1d8], 6
mov dword [esp + 0x14], ecx
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov edx, dword [esp + 0x14]
add esp, 8
push edx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x80]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
fild dword [esp + 0x38]
mov ecx, dword [ebx + 0x1d0]
mov edx, dword [ebx + 0x1c0]
sub ecx, edx
sub esp, 8
fstp qword [esp + 0x34]
fild dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
fstp qword [esp + 0x2c]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fild dword [edi + 8]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea edx, [esp + 0x164]
mov ecx, esi
push eax
push edx
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [ebx + 0x1d0]
mov ecx, dword [ebx + 0x1c0]
sub eax, ecx
sub esp, 8
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fild dword [edi + 0x10]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
fmul qword [0x57f530]
fadd qword [esp + 0x28]
sub esp, 8
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x80], 0x57f4d8
lea ecx, [esp + 0x80]
mov byte [esp + 0x1d0], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x1d0], 1
mov dword [esp + 0x80], 0x57f4c4
jmp 0x4ef25d
cmp eax, ecx
jne 0x4ee379
cmp eax, dword [ebx + 0x1d4]
jne 0x4ee379
mov eax, dword [edi + 0x14]
mov ecx, dword [ebx + 0x484]
cmp eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
jne 0x4ee1c2
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0x57f4f8
fild dword [esp + 0xc]
mov edx, dword [ebx + 0x488]
sub esp, 8
mov byte [esp + 0x1d8], 8
mov dword [esp + 0x1c], edx
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x1c]
add esp, 8
push ecx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x90]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
fild dword [esp + 0x38]
mov ecx, dword [ebx + 0x1c0]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1d0]
sub esp, 8
fstp qword [esp + 0x34]
fild dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x14], eax
fstp qword [esp + 0x2c]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fild dword [edi + 8]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea ecx, [esp + 0x154]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [ebx + 0x1d0]
mov ecx, dword [ebx + 0x1c0]
sub edx, ecx
sub esp, 8
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fild dword [edi + 0x10]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
fmul qword [0x57f530]
fadd qword [esp + 0x28]
sub esp, 8
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x90]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x90], 0x57f4d8
lea ecx, [esp + 0x90]
mov byte [esp + 0x1d0], 9
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x1d0], 1
mov dword [esp + 0x90], 0x57f4c4
jmp 0x4ef25d
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0x57f4f8
fild dword [esp + 0x14]
mov ecx, dword [ebx + 0x488]
sub esp, 8
mov byte [esp + 0x1d8], 0xa
mov dword [esp + 0x14], ecx
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov edx, dword [esp + 0x14]
add esp, 8
push edx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x88]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x18], eax
mov eax, dword [0x5c0274]
mov ecx, dword [ebx + 0xd8]
sub esp, 8
lea eax, [eax + eax*4]
shl eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xd0]
sub ecx, eax
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fiadd dword [esp + 0x1c]
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x40]
mov edx, dword [ebx + 0x1d0]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x1c0]
fstp qword [esp + 0x34]
sub edx, eax
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fild dword [edi + 8]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea ecx, [esp + 0x140]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [ebx + 0x1d0]
mov ecx, dword [ebx + 0x1c0]
sub edx, ecx
sub esp, 8
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fild dword [edi + 0x10]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
mov eax, dword [esp + 0x40]
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
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 byte [esp + 0x1d0], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x1d0], 1
mov dword [esp + 0x88], 0x57f4c4
jmp 0x4ef25d
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
cmp ecx, edx
jne 0x4eea86
mov edx, dword [edi + 0x10]
cmp edx, dword [ebx + 0x1d4]
jg 0x4ee70b
mov ecx, dword [ebx + 0x1d0]
cmp eax, ecx
jl 0x4ee55d
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0x57f4f8
fild dword [edi + 0x14]
mov edx, dword [edi + 0x18]
sub esp, 8
mov byte [esp + 0x1d8], 0xc
mov dword [esp + 0x14], edx
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x14]
add esp, 8
push ecx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0xa4]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0xa0]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
fild dword [esp + 0x38]
mov ecx, dword [ebx + 0x1c0]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1d0]
sub esp, 8
fstp qword [esp + 0x34]
fild dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x14], eax
fstp qword [esp + 0x2c]
fild dword [edi + 8]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea ecx, [esp + 0x18c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
fild dword [edi + 0x10]
mov edx, dword [ebx + 0x1d0]
mov ecx, dword [ebx + 0x1c0]
sub edx, ecx
sub esp, 8
fdiv qword [ebx + 0x1a8]
mov dword [esp + 0x14], edx
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
add esp, 8
push eax
fild dword [edi + 0xc]
sub esp, 8
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0xa0]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0xa0], 0x57f4d8
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1d0], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x1d0], 1
mov dword [esp + 0xa0], 0x57f4c4
jmp 0x4ef25d
cmp edx, ecx
jle 0x4ef25d
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0x57f4f8
fild dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
sub esp, 8
mov byte [esp + 0x1d8], 0xe
mov dword [esp + 0x14], ecx
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov edx, dword [esp + 0x14]
add esp, 8
push edx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x70]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
fild dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1d0]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x1c0]
fstp qword [esp + 0x2c]
fild dword [esp + 0x34]
sub eax, ecx
sub esp, 8
mov dword [esp + 0x14], eax
fstp qword [esp + 0x2c]
fild dword [esp + 0x24]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea ecx, [esp + 0x184]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
fild dword [edi + 0x10]
mov edx, dword [ebx + 0x1d0]
mov ecx, dword [ebx + 0x1c0]
sub edx, ecx
sub esp, 8
fdiv qword [ebx + 0x1a8]
mov dword [esp + 0x14], edx
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
add esp, 8
fild dword [edi + 0xc]
push eax
sub esp, 8
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
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 byte [esp + 0x1d0], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x1d0], 1
mov dword [esp + 0x70], 0x57f4c4
jmp 0x4ef25d
cmp ecx, dword [edi + 0xc]
jne 0x4eea86
mov ecx, dword [ebx + 0x1d4]
mov edx, dword [edi + 0x10]
cmp edx, ecx
jle 0x4eea86
cmp eax, dword [ebx + 0x1d0]
jg 0x4ee8da
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0x57f4f8
fild dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
sub esp, 8
mov byte [esp + 0x1d8], 0x10
mov dword [esp + 0x14], ecx
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov edx, dword [esp + 0x14]
add esp, 8
push edx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x78]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
fild dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1d0]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x1c0]
fstp qword [esp + 0x2c]
fild dword [esp + 0x34]
sub eax, ecx
sub esp, 8
mov dword [esp + 0x14], eax
fstp qword [esp + 0x2c]
fild dword [esp + 0x24]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea ecx, [esp + 0x174]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
fild dword [ebx + 0x1d4]
mov edx, dword [ebx + 0x1d0]
mov ecx, dword [ebx + 0x1c0]
sub edx, ecx
sub esp, 8
fdiv qword [ebx + 0x1a8]
mov dword [esp + 0x14], edx
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
add esp, 8
fild dword [edi + 0xc]
push eax
sub esp, 8
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
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 byte [esp + 0x1d0], 0x11
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x1d0], 1
mov dword [esp + 0x78], 0x57f4c4
jmp 0x4ef25d
cmp eax, ecx
jge 0x4ef25d
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0x57f4f8
fild dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
sub esp, 8
mov byte [esp + 0x1d8], 0x12
mov dword [esp + 0x14], ecx
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov edx, dword [esp + 0x14]
add esp, 8
push edx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
fild dword [esp + 0x38]
mov ecx, dword [ebx + 0x1d0]
mov edx, dword [ebx + 0x1c0]
sub ecx, edx
sub esp, 8
fstp qword [esp + 0x34]
fild dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
fstp qword [esp + 0x2c]
fild dword [edi + 8]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea edx, [esp + 0x15c]
mov ecx, esi
push eax
push edx
call sub.MFC42.DLL_CDC::MoveTo
fild dword [ebx + 0x1d4]
mov eax, dword [ebx + 0x1d0]
mov ecx, dword [ebx + 0x1c0]
sub eax, ecx
sub esp, 8
fdiv qword [ebx + 0x1a8]
mov dword [esp + 0x14], eax
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
add esp, 8
push eax
fild dword [edi + 0xc]
sub esp, 8
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
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 byte [esp + 0x1d0], 0x13
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x1d0], 1
mov dword [esp + 0x60], 0x57f4c4
jmp 0x4ef25d
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0xc]
cmp edx, ecx
je 0x4eee72
mov ecx, dword [edi + 0x10]
cmp eax, ecx
je 0x4eee72
cmp ecx, dword [ebx + 0x1d4]
jg 0x4eee72
mov edx, dword [ebx + 0x1d0]
cmp eax, edx
jl 0x4eec72
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0x57f4f8
fild dword [edi + 0x14]
mov edx, dword [edi + 0x18]
sub esp, 8
mov byte [esp + 0x1d8], 0x14
mov dword [esp + 0x14], edx
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x14]
add esp, 8
push ecx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0xac]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0xa8]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
fild dword [esp + 0x38]
mov ecx, dword [ebx + 0x1c0]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1d0]
sub esp, 8
fstp qword [esp + 0x34]
fild dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x14], eax
fstp qword [esp + 0x2c]
fild dword [edi + 8]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea ecx, [esp + 0x17c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
fild dword [edi + 0x10]
mov edx, dword [ebx + 0x1d0]
mov ecx, dword [ebx + 0x1c0]
sub edx, ecx
sub esp, 8
fdiv qword [ebx + 0x1a8]
mov dword [esp + 0x14], edx
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
add esp, 8
push eax
fild dword [edi + 0xc]
sub esp, 8
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0xa8]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0xa8], 0x57f4d8
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1d0], 0x15
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x1d0], 1
mov dword [esp + 0xa8], 0x57f4c4
jmp 0x4ef25d
cmp ecx, edx
jle 0x4ef25d
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0x57f4f8
fild dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
sub esp, 8
mov byte [esp + 0x1d8], 0x16
mov dword [esp + 0x14], ecx
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov edx, dword [esp + 0x14]
add esp, 8
push edx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x9c]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x98]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x10]
sub eax, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
je 0x4eed23
mov eax, edx
mov edx, dword [edi + 4]
sub eax, edx
mov edx, dword [ebx + 0x1d0]
sub edx, ecx
mov ecx, dword [edi + 4]
imul eax, edx
cdq
idiv dword [esp + 0xc]
add eax, ecx
mov dword [esp + 0x14], eax
fild dword [esp + 0x38]
mov eax, dword [ebx + 0x1d0]
mov ecx, dword [ebx + 0x1c0]
mov dword [esp + 0x1c], eax
sub eax, ecx
fstp qword [esp + 0x2c]
fild dword [esp + 0x34]
mov dword [esp + 0xc], eax
sub esp, 8
fstp qword [esp + 0x2c]
fild dword [esp + 0x24]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x1c]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
lea eax, [esp + 0x170]
push eax
call sub.MFC42.DLL_CDC::MoveTo
fild dword [edi + 0x10]
mov ecx, dword [ebx + 0x1d0]
mov edx, dword [ebx + 0x1c0]
sub ecx, edx
sub esp, 8
fdiv qword [ebx + 0x1a8]
mov dword [esp + 0x14], ecx
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x3c]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x98]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x98], 0x57f4d8
lea ecx, [esp + 0x98]
mov byte [esp + 0x1d0], 0x17
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x1d0], 1
mov dword [esp + 0x98], 0x57f4c4
jmp 0x4ef25d
cmp eax, dword [edi + 0x10]
je 0x4ef25d
cmp edx, dword [edi + 0xc]
je 0x4ef25d
mov ecx, dword [ebx + 0x1d4]
mov edx, dword [edi + 0x10]
cmp edx, ecx
jle 0x4ef25d
cmp eax, dword [ebx + 0x1d0]
jg 0x4ef07f
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0x57f4f8
fild dword [edi + 0x14]
mov eax, dword [edi + 0x18]
sub esp, 8
mov byte [esp + 0x1d8], 0x18
mov dword [esp + 0x14], eax
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x14]
add esp, 8
push ecx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x68]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x10]
sub eax, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
je 0x4eef39
mov eax, dword [ebx + 0x1d4]
sub eax, ecx
mov ecx, dword [edi + 4]
sub edx, ecx
imul eax, edx
cdq
idiv dword [esp + 0xc]
add eax, ecx
mov dword [esp + 0x14], eax
fild dword [esp + 0x38]
mov eax, dword [ebx + 0x1d0]
mov ecx, dword [ebx + 0x1c0]
mov dword [esp + 0x1c], eax
sub eax, ecx
fstp qword [esp + 0x2c]
fild dword [esp + 0x34]
mov dword [esp + 0xc], eax
sub esp, 8
fstp qword [esp + 0x2c]
fild dword [esp + 0x24]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
lea eax, [esp + 0x150]
push eax
call sub.MFC42.DLL_CDC::MoveTo
fild dword [ebx + 0x1d4]
mov ecx, dword [ebx + 0x1d0]
mov eax, dword [ebx + 0x1c0]
sub ecx, eax
sub esp, 8
fdiv qword [ebx + 0x1a8]
mov dword [esp + 0x14], ecx
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x1c]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x3c]
mov ecx, esi
push edx
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 byte [esp + 0x1d0], 0x19
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x1d0], 1
mov dword [esp + 0x68], 0x57f4c4
jmp 0x4ef25d
cmp eax, ecx
jge 0x4ef25d
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0x57f4f8
fild dword [edi + 0x14]
mov eax, dword [edi + 0x18]
sub esp, 8
mov byte [esp + 0x1d8], 0x1a
mov dword [esp + 0x14], eax
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x14]
add esp, 8
push ecx
push eax
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, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x10]
sub eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
je 0x4ef123
mov eax, dword [ebx + 0x1d4]
sub eax, ecx
mov ecx, dword [edi + 4]
sub edx, ecx
imul eax, edx
cdq
idiv dword [esp + 0xc]
add eax, ecx
mov dword [esp + 0x14], eax
fild dword [esp + 0x38]
mov eax, dword [ebx + 0x1d0]
mov ecx, dword [ebx + 0x1c0]
sub eax, ecx
sub esp, 8
fstp qword [esp + 0x34]
fild dword [esp + 0x3c]
mov dword [esp + 0x14], eax
fstp qword [esp + 0x2c]
fild dword [esp + 0x44]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
fild dword [ebx + 0x1d4]
mov edx, dword [ebx + 0x1d0]
mov eax, dword [ebx + 0x1c0]
sub edx, eax
sub esp, 8
fdiv qword [ebx + 0x1a8]
mov dword [esp + 0x14], edx
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsubp st(1)
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x1c]
add esp, 8
fdiv qword [ebx + 0x1a8]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x30]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x18]
mov ecx, esi
push eax
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 byte [esp + 0x1d0], 0x1b
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x1d0], 1
mov dword [esp + 0x50], 0x57f4c4
mov eax, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4eddf1
mov al, byte [0x5b62c8]
mov edx, dword [0x5b62c4]
xor esi, esi
mov byte [esp + 0xe8], al
mov ecx, 6
xor eax, eax
lea edi, [esp + 0xe9]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
mov byte [esp + 0xdc], 0
mov byte [esp + 0xdd], 1
mov byte [esp + 0xde], 0
mov byte [esp + 0xdf], 0x86
mov byte [esp + 0xe0], 0
mov byte [esp + 0xe1], 0
mov byte [esp + 0xe2], 0
mov byte [esp + 0xe3], 0
mov dword [esp + 0xe4], edx
mov dword [esp + 0x14], esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x58]
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004ccdc0
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x3c], eax
je 0x4efd58
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x58]
push edx
call fcn.004ccd90
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x54]
mov edi, 0x5b62b4
mov esi, eax
mov dl, byte [esi]
mov cl, dl
cmp dl, byte [edi]
jne 0x4ef361
test cl, cl
je 0x4ef35d
mov dl, byte [esi + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4ef361
add esi, 2
add edi, 2
test cl, cl
jne 0x4ef33d
xor ecx, ecx
jmp 0x4ef366
sbb ecx, ecx
sbb ecx, 0xffffffff
mov esi, dword [esp + 0x1c]
test ecx, ecx
jne 0x4ef372
mov dword [esp + 0xc], esi
mov ecx, dword [esi + 0x10]
mov edx, dword [ebx + 0x1d4]
add ecx, 3
cmp ecx, edx
mov dword [esp + 0x18], ecx
jg 0x4ef396
mov ecx, dword [esi + 8]
mov esi, dword [ebx + 0x1d0]
sub ecx, 3
cmp ecx, esi
jge 0x4ef402
mov edi, 0x5b62b4
mov esi, eax
mov al, byte [esi]
mov cl, al
cmp al, byte [edi]
jne 0x4ef3c1
test cl, cl
je 0x4ef3bd
mov al, byte [esi + 1]
mov cl, al
cmp al, byte [edi + 1]
jne 0x4ef3c1
add esi, 2
add edi, 2
test cl, cl
jne 0x4ef39d
xor ecx, ecx
jmp 0x4ef3c6
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x4ef402
cmp dword [esp + 0x18], edx
jle 0x4ef3de
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
sub eax, 3
cmp eax, edx
jl 0x4ef402
mov eax, dword [ebx + 0x1d0]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jle 0x4efd29
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
sub edx, 3
cmp edx, eax
jge 0x4efd29
mov eax, dword [esp + 0x1c]
sub esp, 0x3c
mov ecx, 0xf
mov edi, esp
lea esi, [eax + 0x14]
sub esp, 0x3c
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xf
lea esi, [esp + 0x140]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.004c29f0
add esp, 0x78
test eax, eax
jne 0x4ef4ee
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4ef454
mov ecx, dword [ebp + 8]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
lea ecx, [ebx + 0x194]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esp + 0x1c]
sub esp, 0x3c
mov ecx, 0xf
mov edi, esp
lea esi, [eax + 0x14]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x140]
push ecx
call fcn.004c2960
fild dword [esp + 0x144]
add esp, 0x38
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea edx, [esp + 0x104]
mov dword [esp + 0x104], eax
lea esi, [ebx + 0x194]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x1c]
sub esp, 0x3c
mov ecx, 0xf
mov edi, esp
lea esi, [eax + 0x14]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x104]
push ecx
call fcn.004c2960
mov ecx, dword [ebp + 8]
add esp, 0x40
lea eax, [ebx + 0x194]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x1d4]
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1c], eax
add eax, 3
cmp eax, ecx
mov dword [esp + 0x18], eax
jg 0x4ef51e
mov eax, dword [esi + 8]
mov ecx, dword [ebx + 0x1d0]
sub eax, 3
cmp eax, ecx
jge 0x4ef56b
mov edi, dword [esi + 0x54]
mov eax, 0x5b62b4
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x4ef54a
test cl, cl
je 0x4ef546
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x4ef54a
add edi, 2
add eax, 2
test cl, cl
jne 0x4ef526
xor eax, eax
jmp 0x4ef54f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4ef657
mov eax, dword [ebx + 0x1bc]
mov ecx, dword [ebx + 0x1b8]
cmp eax, ecx
jne 0x4ef657
fild dword [esp + 0x38]
mov ecx, dword [ebx + 0x1d0]
mov edx, dword [ebx + 0x1c0]
sub ecx, edx
sub esp, 8
fstp qword [esp + 0x34]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fild dword [esp + 0x24]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x3c]
mov edi, eax
fstp qword [esp + 0x2c]
fild dword [esi + 0xc]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x2c]
fstp qword [esp]
call fcn.004bd890
mov edx, dword [ebx + 0x1d0]
mov dword [esp + 0x20], eax
sub edx, dword [ebx + 0x1c0]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fild dword [esi + 8]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [esi + 4]
mov dword [esp + 0x18], eax
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x2c]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
jmp 0x4ef9b0
mov edi, dword [esi + 0x54]
mov eax, 0x5b62b4
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x4ef683
test cl, cl
je 0x4ef67f
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x4ef683
add edi, 2
add eax, 2
test cl, cl
jne 0x4ef65f
xor eax, eax
jmp 0x4ef688
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4ef7ba
mov eax, dword [ebx + 0x1bc]
mov ecx, dword [ebx + 0x1b8]
cmp eax, ecx
je 0x4ef7ba
mov edx, dword [esp + 0x10]
mov eax, dword [0x5c01a4]
fild dword [esp + 0x38]
mov ecx, 0xfffffffd
mov edi, dword [ebx + 0x1c0]
sub ecx, edx
mov edx, dword [ebx + 0x1d0]
fstp qword [esp + 0x2c]
sub ecx, eax
sub edx, edi
mov dword [esp + 0x10], ecx
sub esp, 8
fild dword [esp + 0x18]
mov dword [esp + 0x18], edx
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsub qword [esp + 0x34]
fild dword [esp + 0x18]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
faddp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x3c]
mov edi, eax
fstp qword [esp + 0x2c]
fild dword [esi + 0xc]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x2c]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [ebx + 0x1d4]
mov dword [esp + 0x20], eax
mov eax, 0xfffffffd
sub eax, ecx
mov ecx, dword [ebx + 0x1d0]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1c0]
fild dword [esp + 0x18]
sub ecx, eax
mov dword [esp + 0x18], ecx
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsub qword [esp + 0x34]
fild dword [esp + 0x18]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
faddp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [esi + 4]
mov dword [esp + 0x18], eax
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x2c]
fstp qword [esp]
call fcn.004bd890
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
jmp 0x4ef9b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jle 0x4ef8c2
mov ecx, dword [esi + 8]
sub ecx, 3
cmp ecx, eax
jge 0x4ef8c2
fild dword [esp + 0x38]
mov edx, dword [ebx + 0x1d0]
mov edi, dword [ebx + 0x1c0]
sub edx, edi
sub esp, 8
fstp qword [esp + 0x34]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fild dword [esp + 0x18]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x3c]
mov edi, eax
fstp qword [esp + 0x2c]
fild dword [esi + 0xc]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x2c]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [ebx + 0x1c0]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1d0]
sub eax, ecx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fild dword [esi + 8]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [esi + 4]
mov dword [esp + 0x18], eax
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x2c]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
jmp 0x4ef9ac
fild dword [esp + 0x38]
mov eax, dword [ebx + 0x1d0]
mov edi, dword [ebx + 0x1c0]
sub eax, edi
sub esp, 8
fstp qword [esp + 0x34]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fild dword [esp + 0x24]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x3c]
mov edi, eax
fstp qword [esp + 0x2c]
fild dword [esi + 0xc]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x2c]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [ebx + 0x1c0]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1d0]
mov dword [esp + 0x24], eax
sub eax, ecx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fild dword [esp + 0x24]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x34]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [esi + 4]
mov dword [esp + 0x18], eax
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x2c]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x190]
mov ecx, dword [edi + 8]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [esi + 0x50]
xor eax, eax
mov dword [esp + 0x1c], eax
mov edx, dword [ecx - 8]
dec edx
test edx, edx
mov dword [esp + 0x10], edx
jle 0x4efa05
cmp byte [eax + ecx], 0xd
jne 0x4ef9f8
cmp byte [eax + ecx + 1], 0xa
jne 0x4ef9f8
mov edx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
inc eax
cmp eax, edx
jl 0x4ef9de
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4efa0d
mov dword [esp + 0x1c], 1
mov eax, dword [esi + 0x64]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x190]
imul edx, ecx
lea eax, [ecx - 1]
mov dword [esp + 0x10], 0x5b62bc
imul eax, dword [esp + 0x1a0]
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x54]
mov cl, byte [eax]
mov edx, dword [esp + 0x10]
mov byte [esp + 0x23], cl
cmp cl, byte [edx]
jne 0x4efa72
test cl, cl
je 0x4efa6e
mov cl, byte [eax + 1]
mov byte [esp + 0x23], cl
cmp cl, byte [edx + 1]
jne 0x4efa72
add eax, 2
add edx, 2
test cl, cl
mov dword [esp + 0x10], edx
jne 0x4efa42
xor eax, eax
jmp 0x4efa77
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4eface
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4eface
cmp dword [esp + 0x1c], 1
jg 0x4eface
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
push esi
push edi
mov ecx, ebx
call fcn.004f2310
jmp 0x4efd29
mov eax, dword [esi + 0x54]
mov dword [esp + 0x10], 0x5b62bc
mov cl, byte [eax]
mov edx, dword [esp + 0x10]
mov byte [esp + 0x23], cl
cmp cl, byte [edx]
jne 0x4efb1d
test cl, cl
je 0x4efb14
mov cl, byte [eax + 1]
mov byte [esp + 0x23], cl
cmp cl, byte [edx + 1]
jne 0x4efb1d
mov ecx, dword [esp + 0x10]
mov edx, 2
add ecx, edx
add eax, edx
mov dword [esp + 0x10], ecx
mov cl, byte [esp + 0x23]
test cl, cl
jne 0x4efad9
xor eax, eax
jmp 0x4efb27
mov edx, 2
xor eax, eax
jmp 0x4efb27
sbb eax, eax
mov edx, 2
sbb eax, 0xffffffff
test eax, eax
je 0x4efb93
mov eax, dword [esi + 0x84]
test eax, eax
je 0x4efb93
mov eax, dword [esp + 0x1c]
mov ecx, 1
cmp eax, ecx
jg 0x4efb98
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x1c0]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x1d0]
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
push esi
push edi
call fcn.004c3cf0
add esp, 0x30
jmp 0x4efd29
mov ecx, 1
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4efbb3
cmp dword [esi + 0x7c], eax
jne 0x4efbb3
mov esi, dword [esi + 0x50]
mov edx, dword [edi]
push 0
mov eax, dword [esi - 8]
jmp 0x4efd1d
cmp eax, edx
jne 0x4efbc1
cmp dword [esi + 0x7c], 0
je 0x4efd13
cmp eax, ecx
jne 0x4efbda
cmp dword [esi + 0x7c], 0
jne 0x4efbda
mov esi, dword [esi + 0x50]
mov edx, dword [edi]
push 1
mov eax, dword [esi - 8]
jmp 0x4efd1d
test eax, eax
jne 0x4efc4e
cmp dword [esi + 0x7c], ecx
jne 0x4efc20
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
sub eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
sar ecx, 1
sar eax, 1
add edx, ecx
mov ecx, dword [esp + 0x44]
add eax, edx
cmp eax, ecx
jge 0x4efc3f
mov esi, dword [esi + 0x50]
mov edx, dword [edi]
mov dword [esp + 0x44], eax
push 0
mov eax, dword [esi - 8]
jmp 0x4efd1d
test eax, eax
jne 0x4efc4e
cmp dword [esi + 0x7c], edx
jne 0x4efc4e
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
add eax, edx
cmp ecx, eax
jle 0x4efc3f
mov dword [esp + 0x44], eax
mov esi, dword [esi + 0x50]
mov edx, dword [edi]
push 0
mov eax, dword [esi - 8]
jmp 0x4efd1d
cmp eax, ecx
jne 0x4efcbf
cmp dword [esi + 0x7c], ecx
jne 0x4efc94
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
sub eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
sar ecx, 1
sar eax, 1
add edx, ecx
mov ecx, dword [esp + 0x44]
add eax, edx
cmp eax, ecx
jge 0x4efcb3
mov esi, dword [esi + 0x50]
mov edx, dword [edi]
mov dword [esp + 0x44], eax
push 1
mov eax, dword [esi - 8]
jmp 0x4efd1d
cmp eax, ecx
jne 0x4efcbf
cmp dword [esi + 0x7c], edx
jne 0x4efcbf
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
add eax, edx
cmp ecx, eax
jle 0x4efcb3
mov dword [esp + 0x44], eax
mov esi, dword [esi + 0x50]
mov edx, dword [edi]
push 1
mov eax, dword [esi - 8]
jmp 0x4efd1d
cmp eax, edx
jne 0x4efd29
cmp dword [esi + 0x7c], ecx
jne 0x4efcf4
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
sub eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
sar ecx, 1
sar eax, 1
add edx, ecx
mov ecx, dword [esp + 0x44]
add eax, edx
cmp eax, ecx
jge 0x4efd13
jmp 0x4efd0f
cmp eax, edx
jne 0x4efd29
cmp dword [esi + 0x7c], edx
jne 0x4efd29
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
add eax, edx
cmp ecx, eax
jle 0x4efd13
mov dword [esp + 0x44], eax
mov esi, dword [esi + 0x50]
mov edx, dword [edi]
push 2
mov eax, dword [esi - 8]
lea ecx, [esp + 0x44]
push ecx
push eax
push esi
mov ecx, edi
call dword [edx + 0x70]
mov eax, dword [esp + 0x3c]
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x3c], eax
jne 0x4ef321
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4efd58
mov ecx, dword [ebp + 8]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
lea ecx, [ebx + 0x194]
call sub.MFC42.DLL_CGdiObject::DeleteObject
fild dword [esp + 0x34]
sub esp, 8
fstp qword [esp + 0x2c]
fild dword [ebx + 0xd8]
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fsub qword [0x57f538]
fadd qword [esp + 0x2c]
fstp qword [esp]
call fcn.004bd890
mov esi, dword [ebx + 0x1c0]
mov edx, dword [0x5c01a4]
mov dword [esp + 0xc0], eax
mov eax, dword [ebx + 0x1d0]
sub eax, esi
mov ecx, 0xffffffe7
mov dword [esp + 0x1c], eax
sub ecx, edx
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [0x5c0278]
fdiv qword [ebx + 0x1a8]
lea edx, [eax + eax*4]
shl edx, 1
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fdiv qword [ebx + 0x1a8]
faddp st(1)
fild dword [ebx + 0x1d4]
fdiv qword [ebx + 0x1a8]
fsubp st(1)
fmul qword [0x57f530]
fild dword [esp + 0x1c]
fsubp st(1)
fadd qword [0x57f540]
fstp qword [esp]
call fcn.004bd890
fild dword [ebx + 0xd8]
mov dword [esp + 0xc4], eax
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fadd qword [esp + 0x2c]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [ebx + 0x1c0]
mov edi, dword [0x5c01a4]
mov dword [esp + 0xc8], eax
mov eax, dword [ebx + 0x1d0]
sub eax, ecx
mov ecx, 0xffffffd3
mov dword [esp + 0x1c], eax
sub ecx, edi
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [0x5c0278]
fdiv qword [ebx + 0x1a8]
lea edx, [eax + eax*4]
shl edx, 1
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fdiv qword [ebx + 0x1a8]
faddp st(1)
fild dword [ebx + 0x1d4]
fdiv qword [ebx + 0x1a8]
fsubp st(1)
fmul qword [0x57f530]
fild dword [esp + 0x1c]
fsubp st(1)
fadd qword [0x57f540]
fstp qword [esp]
call fcn.004bd890
mov dword [esp + 0xcc], eax
mov eax, dword [0x5c0288]
add esp, 8
cmp eax, 1
jne 0x4f002e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
push 0x5b6364
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d4], 0x1c
call sub.MFC42.DLL_CString::operator_1
push 0xa
call sub.MFC42.DLL_operatornew
mov edi, dword [sym.imp.MSVCRT.dll__itoa]
mov esi, eax
mov eax, dword [ebx + 0x1b8]
push 0xa
push esi
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x18]
push esi
call fcn.00557276
push 0x5b635c
lea ecx, [esp + 0x1c]
call fcn.00557276
mov ecx, dword [ebx + 0x1bc]
push 0xa
push esi
push ecx
call edi
add esp, 0xc
lea ecx, [esp + 0x18]
push esi
call fcn.00557276
push 0x5b6358
lea ecx, [esp + 0x1c]
call fcn.00557276
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0x57f4b0
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov byte [esp + 0x1d0], 0x1d
mov eax, dword [esi + 0x64]
mov edx, dword [ecx]
push eax
call dword [edx + 0x38]
sub esp, 0x3c
add esi, 0x14
mov ecx, 0xf
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x140]
mov dword [esp + 0x48], eax
push ecx
call fcn.004c2960
fild dword [esp + 0x144]
add esp, 0x38
fdiv qword [ebx + 0x1a8]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea edx, [esp + 0x104]
mov dword [esp + 0x104], eax
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x30]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [esp + 0x18]
lea ebx, [esp + 0xb8]
push 0x25
push ebx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [esp + 0xc]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x50], 0x57f4d8
lea ecx, [esp + 0x50]
mov byte [esp + 0x1d0], 0x1e
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0x57f4c4
mov byte [esp + 0x1d0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1d0], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb0], 0x57f4d8
lea ecx, [esp + 0xb0]
mov dword [esp + 0x1d0], 0x1f
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x1c8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8