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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x559432
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push esi
lea eax, [esp + 0xb4]
push edi
push eax
push ecx
call fcn.004c56f0
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc8]
mov dword [ebx + 0x74], edx
mov edx, dword [esp + 0xc0]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x70], edx
add esp, 8
mov eax, dword [eax + 0x14]
mov dword [ebx + 0xec], eax
mov edx, eax
mov ecx, dword [ebx + eax*4 + 0x108]
mov dword [ebx + 0x100], ecx
mov eax, dword [ebx + edx*4 + 0x1f8]
xor edx, edx
cmp ecx, eax
mov dword [ebx + 0x104], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x3c], edx
jge 0x411dc1
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x34], 0
call fcn.004ccdc0
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x41018c
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
push edx
call fcn.004ccd90
mov dword [esp + 0xc], eax
mov eax, dword [eax + 0x54]
mov ecx, 0x5b6304
mov edi, eax
mov dl, byte [edi]
mov al, dl
cmp dl, byte [ecx]
jne 0x410115
test al, al
je 0x410111
mov dl, byte [edi + 1]
mov al, dl
cmp dl, byte [ecx + 1]
jne 0x410115
add edi, 2
add ecx, 2
test al, al
jne 0x4100f1
xor eax, eax
jmp 0x41011a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410157
mov ecx, dword [esp + 0xc]
mov eax, 0x5b6224
mov edi, dword [ecx + 0x54]
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x41014e
test cl, cl
je 0x41014a
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x41014e
add edi, 2
add eax, 2
test cl, cl
jne 0x41012a
xor eax, eax
jmp 0x410153
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x410169
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
sub ecx, 3
cmp ecx, edx
je 0x41017e
mov eax, dword [esp + 0x18]
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x18], eax
jne 0x4100d6
jmp 0x410188
mov eax, dword [eax + 0x10]
add eax, 3
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x100]
cmp eax, ecx
jne 0x4101e6
fld qword [0x57f588]
fdiv qword [ebx + 0xd0]
sub esp, 8
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
fild dword [ebx + 0x318]
add edi, eax
mov dword [esp + 0x68], edi
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [ebp + 0x10]
add esp, 8
add eax, edi
mov dword [esp + 0x20], eax
push ecx
jmp 0x41024a
fild dword [esp + 0x3c]
sub esp, 8
fdiv qword [ebx + 0xd0]
fild dword [ebx + 0x318]
fdiv qword [ebx + 0xd0]
faddp st(1)
fld qword [0x57f580]
fdiv qword [ebx + 0xd0]
faddp st(1)
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
fild dword [ebx + 0x318]
add edi, eax
mov dword [esp + 0x68], edi
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov edx, dword [ebp + 0x10]
add esp, 8
add eax, edi
mov dword [esp + 0x20], eax
push edx
push edi
push 1
push esi
mov ecx, ebx
call fcn.00413cd0
mov ecx, dword [ebp + 0x10]
call fcn.004cc990
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x5c], eax
je 0x411519
mov edx, dword [esp + 0x5c]
mov ecx, dword [ebp + 0x10]
push edx
call fcn.004cc960
mov edi, eax
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
jne 0x4105f9
cmp eax, dword [esp + 0x34]
jne 0x410466
xor eax, eax
mov dword [esp + 0xac], 0x57f4f8
mov dword [esp + 0xb0], eax
mov dword [esp + 0x1d0], eax
mov eax, dword [ebx + 0x350]
cdq
idiv dword [ebx + 0x354]
mov ecx, dword [edi + 0x18]
push ecx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0xb0]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0xac]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xcc]
mov dword [esp + 0x24], ecx
sub esp, 8
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x78]
shl edx, 1
mov dword [esp + 0x14], edx
sub eax, ecx
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
neg ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x24]
fild dword [esp + 0x14]
sub edx, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], edx
fstp qword [esp + 0x4c]
fild dword [esp + 0x14]
fstp qword [esp + 0x34]
fild dword [esp + 0x44]
fstp qword [esp + 0x14]
fld qword [esp + 0x34]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubr qword [esp + 0x4c]
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0xd0]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x18]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
lea eax, [esp + 0x134]
push eax
call sub.MFC42.DLL_CDC::MoveTo
fld qword [esp + 0x2c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
sub esp, 8
fsubr qword [esp + 0x4c]
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0xd0]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x18]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
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 + 0xac]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0xac], 0x57f4d8
lea ecx, [esp + 0xac]
mov dword [esp + 0x1d0], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1d0], 0xffffffff
mov dword [esp + 0xac], 0x57f4c4
jmp 0x411506
cmp eax, ecx
jne 0x4105f9
cmp eax, dword [esp + 0x1c]
jne 0x4105f9
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0x57f4f8
mov eax, dword [ebx + 0x350]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0x354]
push ecx
mov dword [esp + 0x1d4], 2
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0xa8]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0xa4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x70]
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xcc]
sub edx, ecx
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*4]
sub esp, 8
shl eax, 1
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
fild dword [esp + 0x14]
add esp, 8
neg eax
fstp qword [esp + 0x2c]
fild dword [edi + 4]
push eax
mov dword [esp + 0x40], eax
sub esp, 8
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fadd qword [esp + 0x38]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
lea eax, [esp + 0x124]
push eax
call sub.MFC42.DLL_CDC::MoveTo
fild dword [edi + 0xc]
mov ecx, dword [esp + 0x3c]
push ecx
fdiv qword [ebx + 0xd0]
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x38]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0xa4]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0xa4], 0x57f4d8
lea ecx, [esp + 0xa4]
mov dword [esp + 0x1d0], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1d0], 0xffffffff
mov dword [esp + 0xa4], 0x57f4c4
jmp 0x411506
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
cmp ecx, edx
jne 0x410cf2
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x1c]
cmp edx, ecx
jle 0x410cf2
cmp eax, dword [esp + 0x34]
jge 0x410cf2
cmp eax, ecx
jg 0x410997
cmp edx, dword [esp + 0x34]
jl 0x4107cb
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0x57f4f8
mov eax, dword [ebx + 0x350]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0x354]
push ecx
mov dword [esp + 0x1d4], 4
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x7c]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xcc]
mov dword [esp + 0x24], ecx
sub esp, 8
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x78]
shl edx, 1
mov dword [esp + 0x14], edx
sub eax, ecx
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x28]
fild dword [esp + 0x14]
add esp, 8
neg ecx
fstp qword [esp + 0x2c]
fild dword [edi + 4]
push ecx
sub esp, 8
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fadd qword [esp + 0x38]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea edx, [esp + 0x108]
mov ecx, esi
push eax
push edx
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
sub esp, 8
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fiadd dword [esp + 0x28]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0xd0]
push eax
fmul qword [0x57f530]
fadd qword [esp + 0x30]
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 + 0x3c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x7c], 0x57f4d8
lea ecx, [esp + 0x7c]
mov dword [esp + 0x1d0], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1d0], 0xffffffff
mov dword [esp + 0x7c], 0x57f4c4
jmp 0x411506
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jg 0x410997
cmp edx, dword [esp + 0x34]
jge 0x41098b
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0x57f4f8
mov eax, dword [ebx + 0x350]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0x354]
push ecx
mov dword [esp + 0x1d4], 6
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0xa0]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x9c]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x70]
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xcc]
sub edx, ecx
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*4]
sub esp, 8
shl eax, 1
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
fild dword [esp + 0x14]
add esp, 8
neg eax
fstp qword [esp + 0x2c]
fild dword [edi + 4]
push eax
sub esp, 8
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fadd qword [esp + 0x38]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea ecx, [esp + 0x150]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x1c]
sub edx, ecx
sub esp, 8
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fiadd dword [esp + 0x28]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0xd0]
push eax
fmul qword [0x57f530]
fadd qword [esp + 0x30]
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 + 0x3c]
mov ecx, esi
push eax
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 + 0x1d0], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1d0], 0xffffffff
mov dword [esp + 0x9c], 0x57f4c4
jmp 0x411506
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jle 0x411506
cmp edx, dword [esp + 0x34]
jge 0x410b4a
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0x57f4f8
mov eax, dword [ebx + 0x350]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0x354]
push ecx
mov dword [esp + 0x1d4], 8
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x90]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xcc]
mov dword [esp + 0x24], ecx
sub esp, 8
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x78]
shl edx, 1
mov dword [esp + 0x14], edx
sub eax, ecx
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x28]
fild dword [esp + 0x14]
add esp, 8
neg ecx
fstp qword [esp + 0x2c]
fild dword [edi + 4]
push ecx
sub esp, 8
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fadd qword [esp + 0x38]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea edx, [esp + 0x118]
mov ecx, esi
push eax
push edx
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
sub eax, ecx
sub esp, 8
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fiadd dword [esp + 0x28]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0xd0]
push eax
fmul qword [0x57f530]
fadd qword [esp + 0x30]
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 + 0x3c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x8c], 0x57f4d8
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1d0], 9
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1d0], 0xffffffff
mov dword [esp + 0x8c], 0x57f4c4
jmp 0x411506
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jle 0x411506
cmp edx, dword [esp + 0x34]
jl 0x411506
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0x57f4f8
mov eax, dword [ebx + 0x350]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0x354]
push ecx
mov dword [esp + 0x1d4], 0xa
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x64]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x70]
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xcc]
sub edx, ecx
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*4]
sub esp, 8
shl eax, 1
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
fild dword [esp + 0x14]
add esp, 8
neg eax
fstp qword [esp + 0x2c]
fild dword [edi + 4]
push eax
sub esp, 8
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fadd qword [esp + 0x38]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea ecx, [esp + 0x140]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x34]
mov ecx, dword [edi + 8]
sub edx, ecx
sub esp, 8
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fiadd dword [esp + 0x28]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0xd0]
push eax
fmul qword [0x57f530]
fadd qword [esp + 0x30]
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 + 0x3c]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x64], 0x57f4d8
lea ecx, [esp + 0x64]
mov dword [esp + 0x1d0], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1d0], 0xffffffff
mov dword [esp + 0x64], 0x57f4c4
jmp 0x411506
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
cmp ecx, edx
je 0x4110aa
mov ecx, dword [edi + 0x10]
cmp eax, ecx
je 0x4110aa
cmp ecx, dword [esp + 0x34]
jg 0x4110aa
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x410edd
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0x57f4f8
mov eax, dword [ebx + 0x350]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0x354]
push ecx
mov dword [esp + 0x1d4], 0xc
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xcc]
mov dword [esp + 0x24], ecx
sub esp, 8
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x78]
shl edx, 1
mov dword [esp + 0x14], edx
sub eax, ecx
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 8]
mov dword [esp + 0x14], eax
sub ecx, edx
fstp qword [esp + 0x2c]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fstp qword [esp + 0x34]
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsub qword [esp + 0x2c]
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0xd0]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x38]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea edx, [esp + 0x128]
mov ecx, esi
push eax
push edx
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
sub eax, ecx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fadd qword [esp + 0x24]
sub esp, 8
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0xd0]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x38]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x6c], 0x57f4d8
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1d0], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1d0], 0xffffffff
mov dword [esp + 0x6c], 0x57f4c4
jmp 0x411506
cmp ecx, edx
jle 0x411506
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0x57f4f8
mov eax, dword [ebx + 0x350]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0x354]
push ecx
mov dword [esp + 0x1d4], 0xe
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x74]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x70]
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0xcc]
sub edx, ecx
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*4]
sub esp, 8
shl eax, 1
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x10]
add esp, 8
sub eax, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x3c], eax
je 0x410fc5
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [edi + 4]
sub edx, ecx
imul eax, edx
cdq
idiv dword [esp + 0x3c]
add eax, ecx
mov dword [esp + 0xc], eax
fild dword [esp + 0x18]
mov eax, dword [esp + 0x20]
neg eax
fstp qword [esp + 0x2c]
fild dword [esp + 0xc]
push eax
sub esp, 8
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fadd qword [esp + 0x38]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea ecx, [esp + 0x148]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x1c]
sub edx, ecx
sub esp, 8
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fiadd dword [esp + 0x28]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0xd0]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x38]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x44]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x74], 0x57f4d8
lea ecx, [esp + 0x74]
mov dword [esp + 0x1d0], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1d0], 0xffffffff
mov dword [esp + 0x74], 0x57f4c4
jmp 0x411506
cmp eax, dword [edi + 0x10]
je 0x411506
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
cmp ecx, edx
je 0x411506
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x34]
cmp ecx, edx
jle 0x411506
cmp eax, dword [esp + 0x1c]
jg 0x4112d5
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0x57f4f8
fild dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
sub esp, 8
mov dword [esp + 0x1d8], 0x10
mov dword [esp + 0x4c], ecx
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov edx, dword [esp + 0x4c]
add esp, 8
push edx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x84]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xcc]
mov dword [esp + 0x24], ecx
sub esp, 8
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x78]
shl edx, 1
mov dword [esp + 0x4c], edx
sub eax, ecx
fild dword [esp + 0x4c]
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
add esp, 8
sub edi, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0xc], 0
je 0x4111e2
mov eax, dword [esp + 0x34]
sub eax, edx
mov edx, dword [esp + 0x18]
sub ecx, edx
imul eax, ecx
cdq
idiv edi
add eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
fild dword [esp + 0x44]
mov edx, dword [esp + 0x20]
neg edx
fstp qword [esp + 0x2c]
fild dword [esp + 0x18]
push edx
sub esp, 8
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fadd qword [esp + 0x38]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
lea eax, [esp + 0x13c]
push eax
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
sub ecx, eax
sub esp, 8
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x4c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fiadd dword [esp + 0x28]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x14]
add esp, 8
fdiv qword [ebx + 0xd0]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x38]
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 + 0x84]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x84], 0x57f4d8
lea ecx, [esp + 0x84]
mov dword [esp + 0x1d0], 0x11
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1d0], 0xffffffff
mov dword [esp + 0x84], 0x57f4c4
jmp 0x411506
cmp eax, edx
jge 0x411506
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0x57f4f8
fild dword [edi + 0x14]
mov eax, dword [edi + 0x18]
sub esp, 8
mov dword [esp + 0x1d8], 0x12
mov dword [esp + 0x4c], eax
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x4c]
add esp, 8
push ecx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x98]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x94]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebx + 0x70]
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xcc]
sub edx, ecx
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*4]
sub esp, 8
shl eax, 1
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
mov dword [esp + 0x4c], edx
fild dword [esp + 0x4c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x10]
add esp, 8
sub eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x44], eax
je 0x4113e9
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [edi + 4]
sub edx, ecx
imul eax, edx
cdq
idiv dword [esp + 0x44]
add eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
fild dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
sub esp, 8
sub ecx, edx
fstp qword [esp + 0x2c]
fild dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
fstp qword [esp + 0x44]
fild dword [esp + 0x4c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fadd qword [esp + 0x2c]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0xd0]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x48]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
lea eax, [esp + 0x114]
push eax
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
sub ecx, eax
sub esp, 8
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x4c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fadd qword [esp + 0x2c]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x14]
add esp, 8
fdiv qword [ebx + 0xd0]
push eax
sub esp, 8
fmul qword [0x57f530]
fadd qword [esp + 0x48]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x2c]
mov ecx, esi
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 + 0x1d0], 0x13
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1d0], 0xffffffff
mov dword [esp + 0x94], 0x57f4c4
mov eax, dword [esp + 0x5c]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x5c], eax
jne 0x41026c
mov eax, dword [0x5b62c4]
mov cl, byte [0x5b62c8]
xor edx, edx
mov dword [esp + 0xe4], eax
mov byte [esp + 0xe8], cl
mov ecx, 6
xor eax, eax
lea edi, [esp + 0xe9]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], edx
mov byte [esp + 0xdc], dl
mov byte [esp + 0xdd], 1
mov byte [esp + 0xde], dl
mov byte [esp + 0xdf], 0x86
mov byte [esp + 0xe0], dl
mov byte [esp + 0xe1], dl
mov byte [esp + 0xe2], dl
mov byte [esp + 0xe3], dl
mov dword [esp + 0xc], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x38]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x1d0], 0x14
call fcn.004ccdc0
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x3c], eax
je 0x411d8d
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004ccd90
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
add ecx, 3
cmp ecx, eax
jg 0x411d5e
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 8]
sub eax, 3
cmp eax, ecx
jl 0x411d5e
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 + 0x140]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.004c29f0
add esp, 0x78
test eax, eax
jne 0x4116f6
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41165c
mov ecx, dword [ebp + 8]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
lea ecx, [ebx + 0xb4]
call sub.MFC42.DLL_CGdiObject::DeleteObject
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 + 0x190]
push ecx
call fcn.004c2960
fild dword [esp + 0x194]
add esp, 0x38
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea edx, [esp + 0x154]
mov dword [esp + 0x154], eax
lea esi, [ebx + 0xb4]
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 + 0x104]
push ecx
call fcn.004c2960
mov ecx, dword [ebp + 8]
add esp, 0x40
lea eax, [ebx + 0xb4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xcc]
mov ecx, dword [ebx + 0x70]
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*4]
sub edx, ecx
shl eax, 1
mov dword [esp + 0x2c], eax
sub esp, 8
fild dword [esp + 0x34]
mov dword [esp + 0x34], edx
fild dword [esp + 0x34]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov esi, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fisub dword [esp + 0x28]
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x64]
mov edi, eax
fstp qword [esp + 0x4c]
fild dword [esi + 0xc]
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fadd qword [esp + 0x4c]
fstp qword [esp]
call fcn.004bd890
fild dword [esi + 4]
mov dword [esp + 0x34], eax
fdiv qword [ebx + 0xd0]
fmul qword [0x57f530]
fadd qword [esp + 0x4c]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
add esp, 8
neg ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 8]
lea edx, [esp + 0x190]
mov dword [esp + 0x58], edi
push edx
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esi + 0x50]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov edx, dword [eax - 8]
dec edx
test edx, edx
jle 0x411822
mov edi, ecx
cmp byte [ecx + eax], 0xd
jne 0x411815
cmp byte [ecx + eax + 1], 0xa
jne 0x411815
inc edi
inc ecx
cmp ecx, edx
jl 0x411807
test edi, edi
mov dword [esp + 0x18], edi
jne 0x41182a
mov dword [esp + 0x18], 1
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x64]
push eax
mov edx, dword [ecx]
call dword [edx + 0x38]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x190]
imul edx, ecx
lea eax, [ecx - 1]
lea ecx, [esp + 0x38]
imul eax, dword [esp + 0x1a0]
add eax, edx
mov dword [esp + 0x24], eax
lea eax, [esi + 0x50]
push eax
call sub.MFC42.DLL_CString::operator_2
mov edi, dword [esi + 0x54]
mov eax, 0x5b6224
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x41188e
test cl, cl
je 0x41188a
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x41188e
add edi, 2
add eax, 2
test cl, cl
jne 0x41186a
xor eax, eax
jmp 0x411893
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x411942
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebx
call fcn.004054e0
test eax, eax
je 0x411942
mov eax, dword [ebx + 0x2f0]
test eax, eax
jne 0x4118f2
push 0x32
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fcomp qword [0x57f4f0]
add esp, 4
fnstsw ax
test ah, 0x40
je 0x4118f2
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Empty
jmp 0x411942
mov eax, dword [ebx + 0x2ec]
test eax, eax
je 0x411942
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xb8]
mov ecx, ebx
push eax
call fcn.00405650
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1d4], 0x15
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1d0], 0x14
call sub.MFC42.DLL_CString::CString
mov edi, dword [esi + 0x54]
mov eax, 0x5b62bc
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x41196e
test cl, cl
je 0x41196a
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x41196e
add edi, 2
add eax, 2
test cl, cl
jne 0x41194a
xor eax, eax
jmp 0x411973
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4119ab
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4119ab
mov eax, dword [esp + 0x18]
cmp eax, 1
jg 0x4119ab
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [ebp + 8]
push ecx
push eax
push esi
push edx
mov ecx, ebx
call fcn.00414b50
jmp 0x411d5e
mov edi, dword [esi + 0x54]
mov eax, 0x5b62bc
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x4119d7
test cl, cl
je 0x4119d3
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x4119d7
add edi, 2
add eax, 2
test cl, cl
jne 0x4119b3
xor eax, eax
jmp 0x4119dc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411a22
mov eax, dword [esi + 0x84]
test eax, eax
je 0x411a22
mov eax, dword [esp + 0x18]
cmp eax, 1
jg 0x411a22
mov ecx, dword [ebx + 0x100]
mov edx, dword [ebx + 0xf0]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [ebp + 8]
push ecx
push eax
push esi
push edx
mov ecx, ebx
call fcn.00415040
jmp 0x411d5e
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x411a74
mov ecx, dword [esi + 0x7c]
test ecx, ecx
jne 0x411a74
fld qword [0x57f578]
fdiv qword [ebx + 0xd0]
sub esp, 8
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov edi, dword [ebp + 8]
sub ecx, eax
mov eax, dword [esp + 0x40]
add esp, 8
mov dword [esp + 0x50], ecx
sub ecx, edx
mov edx, dword [edi]
mov dword [esp + 0x58], ecx
push 0
jmp 0x411b0c
cmp eax, 2
jne 0x411ac1
mov ecx, dword [esi + 0x7c]
test ecx, ecx
jne 0x411ac1
fld qword [0x57f578]
fdiv qword [ebx + 0xd0]
sub esp, 8
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov edi, dword [ebp + 8]
sub ecx, eax
mov eax, dword [esp + 0x40]
add esp, 8
mov dword [esp + 0x50], ecx
sub ecx, edx
mov edx, dword [edi]
mov dword [esp + 0x58], ecx
push 2
jmp 0x411b0c
cmp eax, 1
jne 0x411b1d
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x411b1d
fld qword [0x57f578]
fdiv qword [ebx + 0xd0]
sub esp, 8
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov edi, dword [ebp + 8]
sub ecx, eax
mov eax, dword [esp + 0x40]
add esp, 8
mov dword [esp + 0x50], ecx
sub ecx, edx
mov edx, dword [edi]
mov dword [esp + 0x58], ecx
push 1
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x70]
jmp 0x411b20
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x78]
mov edx, 1
test eax, eax
jne 0x411b91
cmp dword [esi + 0x7c], edx
jne 0x411b91
fld qword [0x57f578]
fdiv qword [ebx + 0xd0]
sub esp, 8
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x60]
add esp, 8
sub ecx, eax
mov dword [esp + 0x58], ecx
mov eax, ecx
mov ecx, dword [esp + 0x50]
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x24]
cdq
sub eax, edx
mov edx, ecx
sar esi, 1
sar eax, 1
add edx, esi
add eax, edx
cmp eax, ecx
jge 0x411bd9
mov edx, dword [edi]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
push 0
mov ecx, dword [eax - 8]
jmp 0x411d52
test eax, eax
mov ecx, 2
jne 0x411be9
cmp dword [esi + 0x7c], ecx
jne 0x411be9
fld qword [0x57f578]
fdiv qword [ebx + 0xd0]
sub esp, 8
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x60]
add esp, 8
sub ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
add eax, ecx
cmp dword [esp + 0x50], eax
jle 0x411bd9
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov edx, dword [edi]
push 0
mov ecx, dword [eax - 8]
jmp 0x411d52
cmp eax, edx
jne 0x411ca9
cmp dword [esi + 0x7c], edx
jne 0x411c56
fld qword [0x57f578]
fdiv qword [ebx + 0xd0]
sub esp, 8
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x60]
add esp, 8
sub ecx, eax
mov dword [esp + 0x58], ecx
mov eax, ecx
mov ecx, dword [esp + 0x50]
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x24]
cdq
sub eax, edx
mov edx, ecx
sar esi, 1
sar eax, 1
add edx, esi
add eax, edx
cmp eax, ecx
jge 0x411c99
mov edx, dword [edi]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
push 1
mov ecx, dword [eax - 8]
jmp 0x411d52
cmp eax, edx
jne 0x411ca9
cmp dword [esi + 0x7c], ecx
jne 0x411ca9
fld qword [0x57f578]
fdiv qword [ebx + 0xd0]
sub esp, 8
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x60]
add esp, 8
sub ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
add eax, ecx
cmp dword [esp + 0x50], eax
jle 0x411c99
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov edx, dword [edi]
push 1
mov ecx, dword [eax - 8]
jmp 0x411d52
cmp eax, ecx
jne 0x411d5e
cmp dword [esi + 0x7c], edx
jne 0x411d04
fld qword [0x57f578]
fdiv qword [ebx + 0xd0]
sub esp, 8
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x60]
add esp, 8
sub ecx, eax
mov dword [esp + 0x58], ecx
mov eax, ecx
mov ecx, dword [esp + 0x50]
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x24]
cdq
sub eax, edx
mov edx, ecx
sar esi, 1
sar eax, 1
add edx, esi
add eax, edx
cmp eax, ecx
jge 0x411d47
jmp 0x411d43
cmp eax, ecx
jne 0x411d5e
cmp dword [esi + 0x7c], ecx
jne 0x411d5e
fld qword [0x57f578]
fdiv qword [ebx + 0xd0]
sub esp, 8
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x60]
add esp, 8
sub ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
add eax, ecx
cmp dword [esp + 0x50], eax
jle 0x411d47
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov edx, dword [edi]
push 2
mov ecx, dword [eax - 8]
lea esi, [esp + 0x50]
push esi
push ecx
push eax
mov ecx, edi
call dword [edx + 0x70]
mov eax, dword [esp + 0x3c]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x3c], eax
jne 0x4115d3
mov eax, dword [esp + 0xc]
test eax, eax
je 0x411d8d
mov ecx, dword [ebp + 8]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
lea ecx, [ebx + 0xb4]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov dword [esp + 0x1c], esi
sub eax, ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1d0], 0xffffffff
call sub.MFC42.DLL_CString::CString
cmp esi, dword [ebx + 0x104]
jl 0x4100b0
mov ecx, dword [esp + 0x1c8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc