Function at 0x47a1e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fedc7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x3c], ebp
call sub.MFC42.DLL_CCmdTarget::CCmdTarget
lea edi, [ebp + 0x20]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x2d0], ebx
call fcn.004ea150
mov dword [ebp + 0x5c], ebx
lea ecx, [ebp + 0xf0]
mov byte [esp + 0x2d0], 1
mov dword [ebp + 0x60], ebx
call fcn.004d5be0
lea ecx, [ebp + 0x108]
call fcn.004d5be0
lea ecx, [ebp + 0x120]
call fcn.004d5be0
lea ecx, [ebp + 0x138]
call fcn.004d5be0
lea esi, [ebp + 0x2a0]
mov dword [esp + 0x14], 8
mov ecx, esi
call fcn.004d5be0
mov eax, dword [esp + 0x14]
add esi, 0x18
dec eax
mov dword [esp + 0x14], eax
jne 0x47a26b
lea ecx, [ebp + 0x3f8]
call fcn.004d5be0
lea ecx, [ebp + 0x410]
call fcn.004d5be0
lea ecx, [ebp + 0x428]
call fcn.004d5be0
mov eax, 0x41a00000
mov dword [ebp + 0x45c], ebx
mov dword [ebp + 0x440], ebx
mov dword [ebp + 0x454], ebx
mov dword [ebp + 0x458], ebx
mov dword [ebp + 0x444], ebx
mov dword [ebp + 0x181c], 0xa
mov dword [ebp + 0x180c], eax
mov dword [ebp + 0x1810], 3
mov dword [ebp + 0x17fc], 0x41f00000
mov dword [ebp + 0x1800], 0x42700000
mov dword [ebp + 0x1824], ebx
mov dword [ebp + 0x1820], ebx
mov dword [ebp + 0x1814], ebx
mov dword [ebp + 0x1818], 0x42b40000
mov dword [ebp + 0x1838], ebx
mov dword [ebp + 0x1834], ebx
mov dword [ebp + 0x1828], 0x42c80000
mov dword [ebp + 0x182c], 0x41200000
mov dword [ebp + 0x1830], eax
lea ecx, [ebp + 0x1860]
mov byte [esp + 0x2d0], 2
call fcn.004d5be0
lea ecx, [ebp + 0x18c0]
call fcn.004d5be0
lea ecx, [ebp + 0x18d8]
call fcn.004d5be0
lea ecx, [ebp + 0x18f0]
call fcn.004d5be0
lea esi, [ebp + 0x1988]
mov ecx, esi
call fcn.004d5be0
lea ecx, [esi + 0x18]
call fcn.004d5be0
lea ecx, [esi + 0x30]
call fcn.004d5be0
lea ecx, [esi + 0x48]
call fcn.004d5be0
mov ecx, esi
call fcn.004bf540
lea ecx, [ebp + 0x19e8]
call fcn.004d5be0
lea esi, [ebp + 0x1b38]
mov dword [esp + 0x14], 6
mov ecx, esi
call fcn.004d5be0
mov eax, dword [esp + 0x14]
add esi, 0x38
dec eax
mov dword [esp + 0x14], eax
jne 0x47a3ad
mov dword [ebp + 0x1b14], 0xffffffff
mov dword [ebp + 0x1b10], 0xffffffff
lea esi, [ebp + 0x1b28]
mov dword [esp + 0x14], 5
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 8], ebx
mov dword [esi], ebx
mov dword [esi - 8], ebx
mov dword [esi - 0x10], ebx
push ebx
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], ebx
mov dword [esi + 4], ebx
mov dword [esi - 4], ebx
mov dword [esi - 0xc], ebx
call fcn.004d6080
mov eax, dword [esp + 0x14]
add esi, 0x38
dec eax
mov dword [esp + 0x14], eax
jne 0x47a3e4
lea ecx, [ebp + 0x1ca0]
mov byte [esp + 0x2d0], 3
call fcn.004a7a30
mov dword [ebp], 0x50f410
mov dword [edi], 0x50f3f8
mov dword [ebp + 0x70], 0x3e4ccccd
mov dword [ebp + 0x74], 0x3e99999a
mov dword [ebp + 0x78], 0x3f4ccccd
mov dword [ebp + 0x7c], 0x3f000000
mov dword [ebp + 0x80], ebx
mov dword [ebp + 0x84], ebx
mov dword [ebp + 0x88], 0x3f800000
mov dword [ebp + 0x8c], 0x3f000000
mov dword [ebp + 0x90], 0x3f800000
mov dword [ebp + 0x94], ebx
mov dword [ebp + 0x98], ebx
mov dword [ebp + 0x9c], 0x3f000000
mov dword [ebp + 0xa0], 0x3f000000
mov dword [ebp + 0xa4], 0x3f800000
mov dword [ebp + 0xa8], ebx
mov dword [ebp + 0xac], 0x3f000000
mov dword [ebp + 0xb0], 0x3e4ccccd
mov dword [ebp + 0xb4], 0x3e99999a
mov dword [ebp + 0xb8], 0x3f333333
mov dword [ebp + 0xbc], 0x3f000000
mov dword [ebp + 0xc0], 0x3f666666
mov dword [ebp + 0xc4], 0x3e4ccccd
mov dword [ebp + 0xc8], 0x3e4ccccd
mov dword [ebp + 0xcc], 0x3f000000
mov dword [ebp + 0xd0], 0x3dcccccd
mov dword [ebp + 0xd4], 0x3e4ccccd
mov dword [ebp + 0xd8], 0x3f4ccccd
mov dword [ebp + 0xdc], 0x3f000000
mov dword [ebp + 0xe0], 0x3dcccccd
mov dword [ebp + 0xe4], 0x3f000000
mov dword [ebp + 0xe8], 0x3e99999a
mov dword [ebp + 0xec], 0x3f000000
mov dword [ebp + 0x1878], ebx
mov dword [ebp + 0x187c], ebx
mov dword [ebp + 0x1880], ebx
push ebx
mov dword [ebp + 0x1884], ebx
push ebx
mov dword [ebp + 0x1888], ebx
push 0xc0913000
mov dword [ebp + 0x188c], ebx
push ebx
mov dword [ebp + 0x68], ebx
push ebx
mov dword [ebp + 0x6c], 0x403e0000
push ebx
lea ecx, [esp + 0x90]
mov byte [esp + 0x2e8], 4
mov dword [0x52bf48], 0
mov dword [0x52bf4c], 0x4082c000
call fcn.004d5c00
push 0x40c38800
mov ecx, 6
mov esi, eax
lea edi, [ebp + 0xf0]
push ebx
push ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push 0x40c38800
push ebx
lea ecx, [esp + 0x90]
call fcn.004d5c00
push 0x40790000
mov ecx, 6
mov esi, eax
lea edi, [ebp + 0x108]
push ebx
push ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push 0x40790000
push ebx
lea ecx, [esp + 0x90]
call fcn.004d5c00
mov ecx, 6
mov esi, eax
lea edi, [ebp + 0x120]
push ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x17f8], ebx
mov edi, 1
mov dword [ebp + 0x268], ebx
mov dword [ebp + 0x26c], edi
mov dword [ebp + 0x270], ebx
mov dword [ebp + 0x274], ebx
mov dword [ebp + 0x278], 3
mov dword [ebp + 0x27c], ebx
mov dword [ebp + 0x1cb0], edi
mov dword [ebp + 0x280], ebx
mov dword [ebp + 0x284], 0xc0540000
mov dword [ebp + 0x288], ebx
mov dword [ebp + 0x28c], 0x40886000
mov dword [ebp + 0x290], ebx
mov dword [ebp + 0x294], 0x406b8000
mov dword [ebp + 0x298], ebx
mov dword [ebp + 0x29c], 0x4085e000
mov dword [ebp + 0x1cb8], ebx
mov dword [ebp + 0x1cbc], ebx
mov dword [ebp + 0x1cb4], edi
mov dword [ebp + 0x17f0], ebx
mov dword [ebp + 0x3d4], ebx
mov dword [ebp + 0x17ec], edi
mov dword [ebp + 0x3e4], ebx
mov dword [ebp + 0x3e8], ebx
mov dword [ebp + 0x189c], edi
mov byte [ebp + 0x460], bl
mov eax, 0x43480000
push ebx
mov dword [ebp + 0x183c], ebx
mov ecx, 0x42200000
push ebx
mov dword [ebp + 0x1840], eax
mov dword [ebp + 0x1844], eax
mov dword [ebp + 0x1c6c], eax
push ebx
mov edx, 0x43160000
mov dword [ebp + 0x184c], ecx
mov dword [ebp + 0x1850], ecx
mov eax, 0x3f800000
push ebx
push ebx
lea ecx, [ebp + 0x18f0]
mov dword [ebp + 0x1848], edx
mov dword [ebp + 0x1c68], 0x43fa0000
mov dword [ebp + 0x1c80], ebx
mov dword [ebp + 0x1c84], ebx
mov dword [ebp + 0x1c74], edx
mov byte [ebp + 0x1c88], bl
mov dword [ebp + 0x1c98], ebx
mov dword [ebp + 0x1c8c], ebx
mov dword [ebp + 0x1c90], ebx
mov dword [ebp + 0x1c94], ebx
mov dword [ebp + 0x18a0], edi
mov dword [ebp + 0x360], 0x3f333333
mov dword [ebp + 0x364], 0x3f266666
mov dword [ebp + 0x368], 0x3e99999a
mov dword [ebp + 0x384], 0x44fa0000
mov dword [ebp + 0x388], 0x44fa0000
mov dword [ebp + 0x38c], ebx
mov dword [ebp + 0x390], eax
mov dword [ebp + 0x394], 0x43960000
mov dword [ebp + 0x398], ebx
mov dword [ebp + 0x39c], ebx
mov dword [ebp + 0x3a0], eax
call fcn.004d6080
push 0x52a204
push str.turn_conf.txt
call fcn.004847d0
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x47aa31
mov edi, dword [sym.imp.MSVCRT.dll_fscanf]
lea eax, [esp + 0x19c]
push eax
push 0x52ad10
push esi
call edi
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x70]
push eax
push str._f__f__f__f
push esi
call edi
lea ecx, [esp + 0x1c0]
push ecx
push 0x52ad10
push esi
call edi
lea eax, [ebp + 0x8c]
push eax
lea eax, [ebp + 0x88]
push eax
lea eax, [ebp + 0x84]
push eax
lea eax, [ebp + 0x80]
push eax
push str._f__f__f__f
push esi
call edi
add esp, 0x48
lea edx, [esp + 0x19c]
push edx
push 0x52ad10
push esi
call edi
lea eax, [ebp + 0x9c]
push eax
lea eax, [ebp + 0x98]
push eax
lea eax, [ebp + 0x94]
push eax
lea eax, [ebp + 0x90]
push eax
push str._f__f__f__f
push esi
call edi
lea eax, [ebp + 0xac]
push eax
lea eax, [ebp + 0xa8]
push eax
lea eax, [ebp + 0xa4]
push eax
lea eax, [ebp + 0xa0]
push eax
push str._f__f__f__f
push esi
call edi
lea eax, [esp + 0x1d8]
push eax
push 0x52ad10
push esi
call edi
add esp, 0x48
lea eax, [ebp + 0xbc]
push eax
lea eax, [ebp + 0xb8]
push eax
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xb0]
push eax
push str._f__f__f__f
push esi
call edi
lea eax, [ebp + 0xcc]
push eax
lea eax, [ebp + 0xc8]
push eax
lea eax, [ebp + 0xc4]
push eax
lea eax, [ebp + 0xc0]
push eax
push str._f__f__f__f
push esi
call edi
lea ecx, [esp + 0x1cc]
push ecx
push 0x52ad10
push esi
call edi
lea eax, [ebp + 0xdc]
push eax
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp + 0xd4]
push eax
lea eax, [ebp + 0xd0]
push eax
push str._f__f__f__f
push esi
call edi
add esp, 0x54
lea eax, [ebp + 0xec]
push eax
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp + 0xe4]
push eax
lea eax, [ebp + 0xe0]
push eax
push str._f__f__f__f
push esi
call edi
lea edx, [esp + 0x1b4]
push edx
push 0x52ad10
push esi
call edi
lea eax, [ebp + 0x1888]
push eax
lea eax, [ebp + 0x1880]
push eax
lea eax, [ebp + 0x1878]
push eax
push str._lf__lf__lf
push esi
call edi
lea eax, [esp + 0x1d4]
push eax
push 0x52ad10
push esi
call edi
add esp, 0x44
lea eax, [ebp + 0x68]
push eax
push 0x52a9ec
push esi
call edi
lea ecx, [esp + 0x1a8]
push ecx
push 0x52ad10
push esi
call edi
push 0x52bf48
push 0x52a9ec
push esi
call edi
lea edx, [esp + 0x1c0]
push edx
push 0x52ad10
push esi
call edi
lea eax, [ebp + 0x100]
lea ecx, [ebp + 0xf8]
push eax
lea eax, [ebp + 0xf0]
push ecx
push eax
push str._lf__lf__lf
push esi
call edi
add esp, 0x44
lea edx, [ebp + 0x118]
lea eax, [ebp + 0x110]
push edx
push eax
lea eax, [ebp + 0x108]
push eax
push str._lf__lf__lf
push esi
call edi
lea ecx, [ebp + 0x130]
lea esi, [eax]
add dword [eax], eax
add byte [ebp + 0x12895], cl
add byte [ecx - 0x73], dl
test dword [eax], esp
add dword [eax], eax
add byte [edx + 0x50], dl
push str._lf__lf__lf
push esi
call edi
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x2c
mov edi, 1
lea ecx, [esp + 0x90]
call fcn.004aefc0
push str.Zmap_Light
lea ecx, [esp + 0x94]
mov byte [esp + 0x2d4], 5
call fcn.004af1f0
lea eax, [ebp + 0x38c]
lea ecx, [esp + 0x90]
push eax
lea eax, [ebp + 0x388]
push eax
lea eax, [ebp + 0x384]
push eax
push str.Light0
call fcn.004af5d0
lea eax, [ebp + 0x39c]
lea ecx, [esp + 0x90]
push eax
lea eax, [ebp + 0x398]
push eax
lea eax, [ebp + 0x394]
push eax
push str.Light1
call fcn.004af5d0
push str.Machine_Window_Viewing
lea ecx, [esp + 0x94]
call fcn.004af1f0
lea esi, [ebp + 0x18b8]
push ebx
push ebx
push esi
push str.Near
lea ecx, [esp + 0xa0]
call fcn.004af5d0
lea eax, [ebp + 0x18bc]
push ebx
push ebx
push eax
push 0x52c0bc
lea ecx, [esp + 0xa0]
call fcn.004af5d0
fld dword [esi]
fcomp dword [ebp + 0x18bc]
fnstsw ax
test ah, 1
jne 0x47ab06
mov dword [esi], 0xc4bb8000
mov dword [ebp + 0x18bc], 0x44bb8000
lea eax, [ebp + 0x18d0]
lea ecx, [ebp + 0x18c8]
push eax
lea eax, [ebp + 0x18c0]
push ecx
push eax
push 0x52c0b8
lea ecx, [esp + 0xa0]
call fcn.004af6d0
lea edx, [ebp + 0x18e8]
lea eax, [ebp + 0x18e0]
push edx
push eax
lea eax, [ebp + 0x18d8]
lea ecx, [esp + 0x98]
push eax
push 0x52c0b4
call fcn.004af6d0
push ebx
lea ecx, [ebp + 0x1890]
push ebx
push ecx
push str.WireFrameDrawing
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
lea eax, [ebp + 0x1cb0]
push ebx
push eax
push str.Isometric
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
lea eax, [ebp + 0x1cb4]
push ebx
push eax
push str.Mode3D
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
lea edx, [ebp + 0x1894]
push ebx
push edx
push str.ShowAxes
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
lea eax, [ebp + 0x3e0]
push ebx
push eax
push str.EnableLighting
lea ecx, [esp + 0xa0]
call fcn.004af970
lea ecx, [ebp + 0x380]
lea edx, [ebp + 0x37c]
push ecx
lea eax, [ebp + 0x378]
push edx
push eax
push str.WorkpieceColor
lea ecx, [esp + 0xa0]
call fcn.004af5d0
push ebx
lea eax, [ebp + 0x17ec]
push ebx
push eax
push str.ShadePrec
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
lea esi, [ebp + 0x278]
push ebx
push esi
push str.CoverMode
lea ecx, [esp + 0xa0]
call fcn.004af970
cmp dword [esi], ebx
jne 0x47ac38
mov dword [esi], 2
cmp dword [esi], edi
jne 0x47ac42
mov dword [esi], 3
cmp dword [esi], 2
jne 0x47ac61
mov ecx, dword [0x52bf48]
mov edx, dword [0x52bf4c]
mov dword [ebp + 0x270], ecx
mov dword [ebp + 0x274], edx
jmp 0x47ac6d
mov dword [ebp + 0x270], ebx
mov dword [ebp + 0x274], ebx
push ebx
lea eax, [ebp + 0x1cb4]
push ebx
push eax
push str.Mode3D
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
push ebx
push 0x53b034
push str.ScreenModeSetting
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
push ebx
push 0x52e5c0
push str.SoundEffect
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
push ebx
push 0x52e5bc
push str.SpecialEffect
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
lea eax, [ebp + 0x17f8]
push ebx
push eax
push str.RealMachine
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
push ebx
push 0x52bf54
push str.LimitStatus
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
push ebx
push 0x53a910
push str.ToolPath_Show
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
push ebx
push 0x53a90c
push str.ProgramPath_Show
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
lea eax, [ebp + 0x1a08]
push ebx
push eax
push str.Viewport_X
lea ecx, [esp + 0xa0]
call fcn.004af970
push ebx
lea ecx, [ebp + 0x1a0c]
push ebx
push ecx
push str.Viewport_Y
lea ecx, [esp + 0xa0]
call fcn.004af970
lea esi, [ebp + 0x18a8]
push ebx
push ebx
push esi
push str.Left
lea ecx, [esp + 0xa0]
call fcn.004af5d0
lea edi, [ebp + 0x18ac]
push ebx
push ebx
push edi
push str.Right
lea ecx, [esp + 0xa0]
call fcn.004af5d0
fld dword [esi]
fcomp dword [edi]
fnstsw ax
test ah, 1
jne 0x47adac
fld dword [esi]
fabs
fadd dword [esi]
fstp dword [edi]
lea eax, [ebp + 0x18b4]
push ebx
push ebx
push eax
push 0x52bfb0
lea ecx, [esp + 0xa0]
call fcn.004af5d0
lea eax, [ebp + 0x18b0]
push ebx
push ebx
push eax
push str.Bottom
lea ecx, [esp + 0xa0]
call fcn.004af5d0
fld dword [ebp + 0x18b0]
fcomp dword [ebp + 0x18b4]
fnstsw ax
test ah, 1
jne 0x47ae07
fld dword [ebp + 0x18b0]
fabs
fadd dword [ebp + 0x18b0]
fstp dword [ebp + 0x18b4]
push ebx
lea edx, [esp + 0x24]
push ebx
push edx
push str.ShadingPrec
lea ecx, [esp + 0xa0]
call fcn.004af970
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x60]
mov dword [ebp + 0x17e8], eax
fld dword [ebp + 0x18b0]
fstp qword [esp + 0x24]
fld dword [ebp + 0x18b4]
fstp qword [esp + 0x34]
fld dword [edi]
fstp qword [esp + 0x2c]
fld dword [esi]
fstp qword [esp + 0x14]
call fcn.004d5be0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x58], ecx
mov ecx, 6
lea esi, [ebp + 0x18c0]
lea edi, [esp + 0x60]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], edx
sub esp, 0x38
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xe
lea esi, [esp + 0x78]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0x1b10]
call fcn.004dbdf0
fld dword [ebp + 0x1c68]
fsub dword [ebp + 0x1c74]
lea ecx, [esp + 0x90]
mov byte [esp + 0x2d0], 4
fstp dword [ebp + 0x1c70]
mov dword [ebp + 0x1c78], 0x43960000
fld dword [ebp + 0x1c6c]
fsub dword [0x50aa78]
fstp dword [ebp + 0x1c7c]
call fcn.004af020
mov ecx, dword [esp + 0x2c8]
pop edi
mov eax, ebp
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret