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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49cf9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov ebx, ecx
cmp esi, edi
mov dword [esp + 0x30], ebx
je 0x450ffc
cmp dword [ebp + 0x14], 1
jl 0x450ffc
mov ecx, esi
call dword [sym.imp.LzDesign.dll_public:_int___thiscall_CPenJT::Push_ENV_void_]
push 1
mov ecx, esi
call dword [sym.imp.LzDesign.dll_public:_void___thiscall_CPenSGT::SetJTState_int_]
push 0x4aea04
mov ecx, esi
call dword [sym.imp.LzDesign.dll_public:_void___thiscall_CPenJT::SetCurColor_char__]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x78]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov edi, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x64]
push edx
push eax
push edi
push ecx
mov ecx, ebx
call fcn.0044c270
fld qword [esp + 0x5c]
fabs
fst qword [esp + 0x6c]
fcomp qword [0x49fbb8]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x3ff00000
fnstsw ax
test ah, 0x41
je 0x450a26
fld qword [esp + 0x5c]
fsub qword [esp + 0x74]
fabs
fcomp qword [0x49fbb8]
fnstsw ax
test ah, 0x41
jne 0x450a51
fld qword [esp + 0x5c]
fsub qword [esp + 0x74]
fabs
fld qword [esp + 0x6c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x450a43
fstp st(0)
fld qword [esp + 0x6c]
fld qword [0x4a1408]
fdiv st(1)
fstp qword [esp + 0x4c]
fstp st(0)
xor eax, eax
lea edx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x80]
push eax
mov eax, dword [ebp + 0x18]
lea edx, [esp + 0x6c]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
call fcn.0044c270
fld qword [esp + 0x64]
fabs
fst qword [esp + 0x6c]
fcomp qword [0x49fbb8]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0x3ff00000
fnstsw ax
test ah, 0x41
je 0x450ae8
fld qword [esp + 0x64]
fsub qword [esp + 0x7c]
fabs
fcomp qword [0x49fbb8]
fnstsw ax
test ah, 0x41
jne 0x450b13
fld qword [esp + 0x64]
fsub qword [esp + 0x7c]
fabs
fld qword [esp + 0x6c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x450b05
fstp st(0)
fld qword [esp + 0x6c]
fld qword [0x4a1400]
fdiv st(1)
fstp qword [esp + 0x54]
fstp st(0)
fld dword [ebp + 0xc]
fadd qword [0x4a13f8]
push 0
push 0
push 0
push ecx
fst qword [esp + 0x44]
fld dword [ebp + 0x10]
fld st(0)
fsub qword [0x4a1400]
fstp dword [esp]
push ecx
fld st(1)
fstp dword [esp]
push ecx
fstp dword [esp]
push ecx
mov ecx, esi
fstp dword [esp]
push 6
call dword [sym.imp.LzDesign.dll_public:_int___thiscall_CPenSGT::Draw_Line_enum_CPenSGT::ELINETYPE__float__float__float__float__bool__char___char__]
lea ecx, [esp + 0x18]
call fcn.0049aadc
mov edx, dword [ebp + 0x20]
lea eax, [esp + 0x18]
push edx
push 0x4ae374
push eax
mov dword [esp + 0x9c], 0
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x18]
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, esi
call dword [sym.imp.LzDesign.dll_public:_void___thiscall_CPenJT::SetCurColor_char__]
fld qword [edi]
fabs
fcomp qword [0x49fbb8]
fnstsw ax
test ah, 0x41
jne 0x450bda
fld qword [esp + 0x34]
fld dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
push 0
fld qword [esp + 0x58]
fmul qword [ecx]
push 0
push 0
push ecx
fsubp st(1)
fld qword [esp + 0x5c]
fmul qword [edi]
fsubr qword [esp + 0x44]
fld st(1)
fstp dword [esp]
push ecx
fstp dword [esp]
push ecx
fstp dword [esp]
push ecx
mov ecx, esi
fstp dword [esp]
push 6
call dword [sym.imp.LzDesign.dll_public:_int___thiscall_CPenSGT::Draw_Line_enum_CPenSGT::ELINETYPE__float__float__float__float__bool__char___char__]
mov ecx, dword [ebp + 0x14]
fld qword [edi + ecx*8 - 8]
fabs
fcomp qword [0x49fbb8]
fnstsw ax
test ah, 0x41
jne 0x450c32
fld qword [esp + 0x34]
fld dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
push 0
fld qword [esp + 0x58]
fmul qword [edx + ecx*8 - 8]
push 0
push 0
push ecx
fsubp st(1)
fld qword [esp + 0x5c]
fmul qword [edi + ecx*8 - 8]
fsubr qword [esp + 0x44]
fld st(1)
fstp dword [esp]
push ecx
fstp dword [esp]
push ecx
fstp dword [esp]
push ecx
mov ecx, esi
fstp dword [esp]
push 6
call dword [sym.imp.LzDesign.dll_public:_int___thiscall_CPenSGT::Draw_Line_enum_CPenSGT::ELINETYPE__float__float__float__float__bool__char___char__]
lea ecx, [esp + 0xc]
call fcn.0049aadc
mov eax, dword [ebp + 0x14]
mov byte [esp + 0x90], 1
test eax, eax
mov dword [esp + 0x10], 0
jle 0x450dae
mov ebx, dword [ebp + 0x18]
mov eax, edi
sub eax, ebx
sub ebx, edi
mov dword [esp + 0x2c], eax
fld qword [edi]
sub esp, 8
lea eax, [esp + 0x14]
fabs
fstp qword [esp]
push 0x4b01b8
push eax
call sub.MFC42.DLL_CString::Format
fld qword [esp + 0x5c]
fmul qword [edi]
add esp, 0x10
fsubr qword [esp + 0x34]
fstp qword [esp + 0x3c]
fld dword [ebp + 0x10]
fld qword [esp + 0x54]
fmul qword [ebx + edi]
fsubp st(1)
fstp qword [esp + 0x6c]
fld qword [ebx + edi]
fmul qword [0x4a0bf0]
call sub.MSVCRT.dll__ftol
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 5
je 0x450d3c
fld qword [edi]
fcomp qword [0x49fbb8]
fnstsw ax
test ah, 0x41
jne 0x450cfc
push 0
push 0
push 0x4aee60
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
fld qword [esp + 0x78]
push eax
push 0
push ecx
fstp dword [esp]
fld qword [esp + 0x54]
push ecx
mov ecx, esi
fstp dword [esp]
push 0
call dword [sym.imp.LzDesign.dll_public:_int___thiscall_CPenSGT::Draw_Text_enum_CPenSGT::ETXTTYPE__float__float__float__char___char___char___char__]
fld qword [edi]
fcomp qword [0x49fbb8]
fnstsw ax
test ah, 1
je 0x450d3c
push 0
push 0
push 0x4aee5c
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
fld qword [esp + 0x78]
push eax
push 0
push ecx
fstp dword [esp]
fld qword [esp + 0x54]
push ecx
mov ecx, esi
fstp dword [esp]
push 0
call dword [sym.imp.LzDesign.dll_public:_int___thiscall_CPenSGT::Draw_Text_enum_CPenSGT::ETXTTYPE__float__float__float__char___char___char___char__]
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [edx - 1]
cmp ecx, eax
jge 0x450d93
mov ecx, dword [esp + 0x2c]
lea eax, [ebx + edi + 8]
fld qword [esp + 0x4c]
fmul qword [eax + ecx]
push 0
push 0
push 0
push ecx
fsubr qword [esp + 0x44]
fld dword [ebp + 0x10]
fld qword [esp + 0x64]
fmul qword [eax]
fsubp st(1)
fstp dword [esp]
push ecx
fstp dword [esp]
fld qword [esp + 0x80]
push ecx
fstp dword [esp]
fld qword [esp + 0x54]
push ecx
mov ecx, esi
fstp dword [esp]
push 6
call dword [sym.imp.LzDesign.dll_public:_int___thiscall_CPenSGT::Draw_Line_enum_CPenSGT::ELINETYPE__float__float__float__float__bool__char___char__]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x14]
inc eax
add edi, 8
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x450c63
mov ebx, dword [esp + 0x30]
fld dword [ebp + 0x10]
mov edx, dword [ebx + 0x733c]
mov edi, dword [esp + 0x38]
fst qword [esp + 0x6c]
fsub qword [0x4a1400]
push 0
push edx
mov edx, dword [esp + 0x3c]
push 0x4072c000
push 0
push 7
fstp qword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
push ecx
push edi
push edx
push esi
mov ecx, ebx
call fcn.004515b0
mov eax, dword [ebx + 0x7338]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push 1
push eax
mov eax, dword [esp + 0x3c]
push 0x4072c000
push 0
push 7
push ecx
push edx
push edi
push eax
push esi
mov ecx, ebx
call fcn.004515b0
push 0x4b189c
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_1
push 0x4b1894
lea ecx, [esp + 0x4c]
mov byte [esp + 0x94], 2
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 0x2c]
mov bl, 3
cmp eax, 1
mov byte [esp + 0x90], bl
jne 0x450e68
push 0x4b1994
lea ecx, [esp + 0x48]
call fcn.0049ab8a
push 0x4b198c
lea ecx, [esp + 0x4c]
call fcn.0049ab8a
fld qword [esp + 0x34]
fsub qword [0x4a1158]
mov ecx, esi
fstp qword [esp + 0x3c]
fld qword [esp + 0x34]
fadd qword [0x4a1158]
fstp qword [esp + 0x4c]
fld dword [ebp + 0x10]
fadd qword [0x4a1378]
fstp qword [esp + 0x6c]
call dword [sym.imp.LzDesign.dll_public:_int___thiscall_CPenJT::Push_ENV_void_]
push 0x4aea04
mov ecx, esi
call dword [sym.imp.LzDesign.dll_public:_void___thiscall_CPenJT::SetCurColor_char__]
push 0
push 0
push 0x4aee60
push 0
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::GetBuffer
fld qword [esp + 0x78]
push eax
push 0
push ecx
mov edi, dword [sym.imp.LzDesign.dll_public:_int___thiscall_CPenSGT::Draw_Text_enum_CPenSGT::ETXTTYPE__float__float__float__char___char___char___char__]
fstp dword [esp]
fld qword [esp + 0x54]
push ecx
mov ecx, esi
fstp dword [esp]
push 0
call edi
push 0
push 0
push 0x4aee5c
push 0
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::GetBuffer
fld qword [esp + 0x78]
push eax
push 0
push ecx
fstp dword [esp]
fld qword [esp + 0x64]
push ecx
mov ecx, esi
fstp dword [esp]
push 0
call edi
lea ecx, [esp + 0x14]
call fcn.0049aadc
mov ecx, dword [ebp + 0x30]
lea edx, [esp + 0x14]
push ecx
push 0x4aedac
push edx
mov byte [esp + 0x9c], 4
call sub.MFC42.DLL_CString::Format
fld qword [esp + 0x60]
fsub qword [0x4a1378]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x40], ecx
mov ecx, esi
mov dword [esp + 0x3c], eax
fstp qword [esp + 0x6c]
push 0
call dword [sym.imp.LzDesign.dll_public:_float___thiscall_CPenJT::GetTextHight_char__]
fsubr qword [esp + 0x6c]
push 0
push 0
push 0x4aee6c
push 0
fstp qword [esp + 0x7c]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
fld qword [esp + 0x80]
push ecx
fstp dword [esp]
fld qword [esp + 0x54]
push ecx
mov ecx, esi
fstp dword [esp]
push 0
call edi
mov edi, dword [sym.imp.LzDesign.dll_public:_int___thiscall_CPenJT::Pop_ENV_void_]
mov ecx, esi
call edi
push 0
mov ecx, esi
call dword [sym.imp.LzDesign.dll_public:_void___thiscall_CPenSGT::SetJTState_int_]
mov ecx, esi
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x90], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x90], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x90], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x90], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x88]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x30