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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5699d2
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 + 0x350], edx
mov edx, dword [esp + 0xc0]
mov dword [ebx + 0x358], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x354], ecx
mov dword [ebx + 0x34c], edx
add esp, 8
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x11c], eax
mov edx, eax
mov ecx, dword [ebx + eax*4 + 0x138]
mov dword [ebx + 0x130], ecx
mov eax, dword [ebx + edx*4 + 0x228]
xor edx, edx
cmp ecx, eax
mov dword [ebx + 0x134], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x3c], edx
jge 0x4a0a92
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
jmp 0x49ed3a
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.004ccdc0
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x49ee0d
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 0x49ed97
test al, al
je 0x49ed93
mov dl, byte [edi + 1]
mov al, dl
cmp dl, byte [ecx + 1]
jne 0x49ed97
add edi, 2
add ecx, 2
test al, al
jne 0x49ed73
xor eax, eax
jmp 0x49ed9c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x49edd9
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 0x49edd0
test cl, cl
je 0x49edcc
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x49edd0
add edi, 2
add eax, 2
test cl, cl
jne 0x49edac
xor eax, eax
jmp 0x49edd5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x49edeb
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 8]
sub ecx, 3
cmp ecx, edx
je 0x49ee00
mov eax, dword [esp + 0x18]
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x18], eax
jne 0x49ed58
jmp 0x49ee0a
mov eax, dword [eax + 0x10]
add eax, 3
mov dword [esp + 0x34], eax
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x130]
cmp eax, ecx
jne 0x49ee6f
fld qword [0x57f588]
fdiv qword [ebx + 0x100]
sub esp, 8
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
fild dword [ebx + 0x348]
mov ecx, dword [esp + 0x64]
add ecx, eax
fdiv qword [ebx + 0x100]
mov dword [esp + 0x64], ecx
fmul qword [0x57f530]
fiadd dword [esp + 0x64]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x64]
add esp, 8
mov dword [esp + 0x1c], eax
push edi
push ecx
jmp 0x49eedb
fild dword [esp + 0x3c]
sub esp, 8
fdiv qword [ebx + 0x100]
fild dword [ebx + 0x348]
fdiv qword [ebx + 0x100]
faddp st(1)
fld qword [0x57f580]
fdiv qword [ebx + 0x100]
faddp st(1)
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
fild dword [ebx + 0x348]
mov ecx, dword [esp + 0x64]
add ecx, eax
fdiv qword [ebx + 0x100]
mov dword [esp + 0x64], ecx
fmul qword [0x57f530]
fiadd dword [esp + 0x64]
fstp qword [esp]
call fcn.004bd890
mov edx, dword [esp + 0x64]
add esp, 8
mov dword [esp + 0x1c], eax
push edi
push edx
push 1
push esi
mov ecx, ebx
call fcn.004a11f0
mov ecx, edi
call fcn.004cc990
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x60], eax
je 0x4a01e4
mov edx, dword [esp + 0x60]
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 0x49f294
cmp eax, dword [esp + 0x34]
jne 0x49f0fb
xor eax, eax
mov dword [esp + 0xac], 0x57f4f8
mov dword [esp + 0xb0], eax
mov dword [esp + 0x1d0], eax
mov eax, dword [ebx + 0xa8]
cdq
idiv dword [ebx + 0xac]
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 + 0x34c]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xf8]
mov dword [esp + 0x24], ecx
sub esp, 8
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x354]
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 + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
neg ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
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 + 0x100]
fmul qword [0x57f530]
fsubr qword [esp + 0x4c]
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0x100]
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 + 0x100]
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 + 0x100]
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 0x4a01d1
cmp eax, ecx
jne 0x49f294
cmp eax, dword [esp + 0x20]
jne 0x49f294
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0x57f4f8
mov eax, dword [ebx + 0xa8]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0xac]
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 + 0x34c]
mov edx, dword [ebx + 0x354]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xf8]
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 + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
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 + 0x100]
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 + 0x100]
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 0x4a01d1
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
cmp ecx, edx
jne 0x49f9a5
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x20]
cmp edx, ecx
jle 0x49f9a5
cmp eax, dword [esp + 0x34]
jge 0x49f9a5
cmp eax, ecx
jg 0x49f63e
cmp edx, dword [esp + 0x34]
jl 0x49f46c
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0x57f4f8
mov eax, dword [ebx + 0xa8]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0xac]
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 + 0x34c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xf8]
mov dword [esp + 0x24], ecx
sub esp, 8
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x354]
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 + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x24]
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 + 0x100]
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 + 0x20]
sub eax, ecx
sub esp, 8
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv qword [ebx + 0x100]
fmul qword [0x57f530]
fiadd dword [esp + 0x24]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0x100]
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 0x4a01d1
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jg 0x49f63e
cmp edx, dword [esp + 0x34]
jge 0x49f632
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0x57f4f8
mov eax, dword [ebx + 0xa8]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0xac]
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 + 0x34c]
mov edx, dword [ebx + 0x354]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xf8]
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 + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
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 + 0x100]
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 + 0x20]
sub edx, ecx
sub esp, 8
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdiv qword [ebx + 0x100]
fmul qword [0x57f530]
fiadd dword [esp + 0x24]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0x100]
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 0x4a01d1
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jle 0x4a01d1
cmp edx, dword [esp + 0x34]
jge 0x49f7f7
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0x57f4f8
mov eax, dword [ebx + 0xa8]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0xac]
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 + 0x34c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xf8]
mov dword [esp + 0x24], ecx
sub esp, 8
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x354]
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 + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x24]
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 + 0x100]
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 + 0x100]
fmul qword [0x57f530]
fiadd dword [esp + 0x24]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0x100]
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 0x4a01d1
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jle 0x4a01d1
cmp edx, dword [esp + 0x34]
jl 0x4a01d1
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0x57f4f8
mov eax, dword [ebx + 0xa8]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0xac]
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 + 0x34c]
mov edx, dword [ebx + 0x354]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xf8]
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 + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
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 + 0x100]
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 + 0x100]
fmul qword [0x57f530]
fiadd dword [esp + 0x24]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0x100]
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 0x4a01d1
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
cmp ecx, edx
je 0x49fd69
mov ecx, dword [edi + 0x10]
cmp eax, ecx
je 0x49fd69
cmp ecx, dword [esp + 0x34]
jg 0x49fd69
mov edx, dword [esp + 0x20]
cmp eax, edx
jl 0x49fb96
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0x57f4f8
mov eax, dword [ebx + 0xa8]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0xac]
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 + 0x34c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xf8]
mov dword [esp + 0x24], ecx
sub esp, 8
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x354]
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 + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
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 + 0x100]
fmul qword [0x57f530]
fsub qword [esp + 0x2c]
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0x100]
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 + 0x100]
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 + 0x100]
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 0x4a01d1
cmp ecx, edx
jle 0x4a01d1
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0x57f4f8
mov eax, dword [ebx + 0xa8]
mov ecx, dword [edi + 0x18]
cdq
idiv dword [ebx + 0xac]
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 + 0x34c]
mov edx, dword [ebx + 0x354]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0xf8]
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 + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0x100]
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 0x49fc84
mov eax, dword [esp + 0x20]
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 + 0x1c]
neg eax
fstp qword [esp + 0x2c]
fild dword [esp + 0xc]
push eax
sub esp, 8
fdiv qword [ebx + 0x100]
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 + 0x20]
sub edx, ecx
sub esp, 8
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdiv qword [ebx + 0x100]
fmul qword [0x57f530]
fiadd dword [esp + 0x24]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 0xc]
add esp, 8
fdiv qword [ebx + 0x100]
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 0x4a01d1
cmp eax, dword [edi + 0x10]
je 0x4a01d1
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
cmp ecx, edx
je 0x4a01d1
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x34]
cmp ecx, edx
jle 0x4a01d1
cmp eax, dword [esp + 0x20]
jg 0x49ff9a
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 + 0x100]
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 + 0x34c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xf8]
mov dword [esp + 0x24], ecx
sub esp, 8
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x354]
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 + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0x100]
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 0x49fea7
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 + 0x1c]
neg edx
fstp qword [esp + 0x2c]
fild dword [esp + 0x18]
push edx
sub esp, 8
fdiv qword [ebx + 0x100]
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 + 0x20]
sub ecx, eax
sub esp, 8
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x4c]
fdiv qword [ebx + 0x100]
fmul qword [0x57f530]
fiadd dword [esp + 0x24]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x14]
add esp, 8
fdiv qword [ebx + 0x100]
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 0x4a01d1
cmp eax, edx
jge 0x4a01d1
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 + 0x100]
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 + 0x34c]
mov edx, dword [ebx + 0x354]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xf8]
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 + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0x100]
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 0x4a00b4
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 + 0x1c]
mov edx, dword [esp + 0x20]
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 + 0x100]
fmul qword [0x57f530]
fadd qword [esp + 0x2c]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [edi + 4]
add esp, 8
fdiv qword [ebx + 0x100]
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 + 0x20]
sub ecx, eax
sub esp, 8
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x4c]
fdiv qword [ebx + 0x100]
fmul qword [0x57f530]
fadd qword [esp + 0x2c]
fchs
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x14]
add esp, 8
fdiv qword [ebx + 0x100]
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 + 0x60]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x60], eax
jne 0x49eefb
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 0x4a0a5e
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 0x4a0a2f
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 8]
sub eax, 3
cmp eax, ecx
jl 0x4a0a2f
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 0x4a03c1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a0327
mov ecx, dword [ebp + 8]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
lea ecx, [ebx + 0xe8]
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 + 0x100]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
add esp, 8
lea edx, [esp + 0x154]
mov dword [esp + 0x154], eax
lea esi, [ebx + 0xe8]
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 + 0xe8]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xf8]
mov ecx, dword [ebx + 0x34c]
mov edx, dword [ebx + 0x354]
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 + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fmul qword [0x57f568]
fild dword [esp + 0x2c]
fdiv qword [ebx + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fstp qword [esp]
call fcn.004bd890
mov esi, dword [esp + 0x20]
mov dword [esp + 0x68], 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 + 0x100]
fmul qword [0x57f530]
fisub dword [esp + 0x24]
fstp qword [esp]
call fcn.004bd890
fild dword [esp + 0x68]
mov edi, eax
fstp qword [esp + 0x4c]
fild dword [esi + 0xc]
fdiv qword [ebx + 0x100]
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 + 0x100]
fmul qword [0x57f530]
fadd qword [esp + 0x4c]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x24]
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 0x4a04f3
mov edi, ecx
cmp byte [ecx + eax], 0xd
jne 0x4a04e6
cmp byte [ecx + eax + 1], 0xa
jne 0x4a04e6
inc edi
inc ecx
cmp ecx, edx
jl 0x4a04d8
test edi, edi
mov dword [esp + 0x18], edi
jne 0x4a04fb
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 0x4a055f
test cl, cl
je 0x4a055b
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x4a055f
add edi, 2
add eax, 2
test cl, cl
jne 0x4a053b
xor eax, eax
jmp 0x4a0564
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a0613
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.00487a00
test eax, eax
je 0x4a0613
mov eax, dword [ebx + 0x320]
test eax, eax
jne 0x4a05c3
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 0x4a05c3
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Empty
jmp 0x4a0613
mov eax, dword [ebx + 0x31c]
test eax, eax
je 0x4a0613
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.00487b70
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 0x4a063f
test cl, cl
je 0x4a063b
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x4a063f
add edi, 2
add eax, 2
test cl, cl
jne 0x4a061b
xor eax, eax
jmp 0x4a0644
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a067c
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4a067c
mov eax, dword [esp + 0x18]
cmp eax, 1
jg 0x4a067c
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
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.004a20a0
jmp 0x4a0a2f
mov edi, dword [esi + 0x54]
mov eax, 0x5b62bc
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x4a06a8
test cl, cl
je 0x4a06a4
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x4a06a8
add edi, 2
add eax, 2
test cl, cl
jne 0x4a0684
xor eax, eax
jmp 0x4a06ad
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a06f3
mov eax, dword [esi + 0x84]
test eax, eax
je 0x4a06f3
mov eax, dword [esp + 0x18]
cmp eax, 1
jg 0x4a06f3
mov ecx, dword [ebx + 0x130]
mov edx, dword [ebx + 0x120]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x68]
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.004a2590
jmp 0x4a0a2f
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4a0745
mov ecx, dword [esi + 0x7c]
test ecx, ecx
jne 0x4a0745
fld qword [0x57f578]
fdiv qword [ebx + 0x100]
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 0x4a07dd
cmp eax, 2
jne 0x4a0792
mov ecx, dword [esi + 0x7c]
test ecx, ecx
jne 0x4a0792
fld qword [0x57f578]
fdiv qword [ebx + 0x100]
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 0x4a07dd
cmp eax, 1
jne 0x4a07ee
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x4a07ee
fld qword [0x57f578]
fdiv qword [ebx + 0x100]
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 0x4a07f1
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x78]
mov edx, 1
test eax, eax
jne 0x4a0862
cmp dword [esi + 0x7c], edx
jne 0x4a0862
fld qword [0x57f578]
fdiv qword [ebx + 0x100]
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 0x4a08aa
mov edx, dword [edi]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
push 0
mov ecx, dword [eax - 8]
jmp 0x4a0a23
test eax, eax
mov ecx, 2
jne 0x4a08ba
cmp dword [esi + 0x7c], ecx
jne 0x4a08ba
fld qword [0x57f578]
fdiv qword [ebx + 0x100]
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 0x4a08aa
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov edx, dword [edi]
push 0
mov ecx, dword [eax - 8]
jmp 0x4a0a23
cmp eax, edx
jne 0x4a097a
cmp dword [esi + 0x7c], edx
jne 0x4a0927
fld qword [0x57f578]
fdiv qword [ebx + 0x100]
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 0x4a096a
mov edx, dword [edi]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
push 1
mov ecx, dword [eax - 8]
jmp 0x4a0a23
cmp eax, edx
jne 0x4a097a
cmp dword [esi + 0x7c], ecx
jne 0x4a097a
fld qword [0x57f578]
fdiv qword [ebx + 0x100]
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 0x4a096a
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov edx, dword [edi]
push 1
mov ecx, dword [eax - 8]
jmp 0x4a0a23
cmp eax, ecx
jne 0x4a0a2f
cmp dword [esi + 0x7c], edx
jne 0x4a09d5
fld qword [0x57f578]
fdiv qword [ebx + 0x100]
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 0x4a0a18
jmp 0x4a0a14
cmp eax, ecx
jne 0x4a0a2f
cmp dword [esi + 0x7c], ecx
jne 0x4a0a2f
fld qword [0x57f578]
fdiv qword [ebx + 0x100]
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 0x4a0a18
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 0x4a029e
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a0a5e
mov ecx, dword [ebp + 8]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
lea ecx, [ebx + 0xe8]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword [esp + 0x20], 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 + 0x134]
jl 0x49ed34
mov ecx, dword [esp + 0x1c8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc