Function at 0x46c420
Capabilities:
Inspect section memory permissions

Disassembly:
push ecx
push ebx
push ebp
mov ebx, 1
test byte [0x506ae4], bl
push esi
push edi
jne 0x46c46b
or dword [0x506ae4], ebx
push 0x4c3d30
mov dword [0x506810], 0x4cff58
mov byte [0x506814], bl
mov byte [0x506815], bl
mov dword [0x50680c], 0x4d021c
mov byte [0x506816], bl
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x506810]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
test byte [0x506ae4], 2
mov dword [eax], 0x50680c
jne 0x46c4d2
or dword [0x506ae4], 2
push 0x4c3d10
mov dword [0x50681c], 0x4cc1f4
mov byte [0x506820], bl
mov byte [0x506821], bl
mov dword [0x506818], 0x4d0204
mov byte [0x506822], bl
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x50681c]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
test byte [0x506ae4], 4
mov dword [eax], 0x506818
jne 0x46c53b
or dword [0x506ae4], 4
push 0x4c3cf0
mov dword [0x5067e0], 0x4cff60
mov byte [0x5067e4], bl
mov byte [0x5067e5], bl
mov byte [0x5067e6], 0
mov dword [0x5067dc], 0x4d027c
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x5067e0]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
test byte [0x506ae4], 8
mov dword [eax], 0x5067dc
jne 0x46c5a3
or dword [0x506ae4], 8
push 0x4c3cd0
mov dword [0x5067d4], 0x4cff68
mov byte [0x5067d8], bl
mov byte [0x5067d9], bl
mov dword [0x5067d0], 0x4d0294
mov byte [0x5067da], bl
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x5067d4]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
test byte [0x506ae4], 0x10
mov dword [eax], 0x5067d0
jne 0x46c60a
or dword [0x506ae4], 0x10
push 0x4c3cb0
mov dword [0x5067ec], 0x4cff74
mov byte [0x5067f0], bl
mov byte [0x5067f1], bl
mov dword [0x5067e8], 0x4d0264
mov byte [0x5067f2], bl
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x5067ec]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
test byte [0x506ae4], 0x20
mov dword [eax], 0x5067e8
jne 0x46c673
or dword [0x506ae4], 0x20
push 0x4c3c90
mov dword [0x506adc], 0x4cff80
mov byte [0x506ae0], bl
mov byte [0x506ae1], bl
mov byte [0x506ae2], 0
mov dword [0x506ad8], 0x4ca604
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x506adc]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
test byte [0x506ae4], 0x40
mov dword [eax], 0x506ad8
jne 0x46c6f6
or dword [0x506ae4], 0x40
push 0x4c3c70
mov dword [0x506ac4], 0x4cff8c
mov byte [0x506ac8], bl
mov byte [0x506ac9], bl
mov byte [0x506aca], 0
mov dword [0x506ac0], 0x4ca5d4
mov dword [0x506acc], 0x4feba8
mov dword [0x506ad0], ebx
mov dword [0x506ad4], 4
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x506ac4]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
test byte [0x506ae4], 0x80
mov dword [eax], 0x506ac0
mov ebp, sym.XR_3DA.exe_struct__flags_unsigned_int__psDeviceFlags
jne 0x46c776
or dword [0x506ae4], 0x80
push 0x4c3c50
mov dword [0x506ab0], 0x4cff9c
mov byte [0x506ab4], bl
mov byte [0x506ab5], bl
mov byte [0x506ab6], 0
mov dword [0x506aac], 0x4ca558
mov dword [0x506ab8], ebp
mov dword [0x506abc], 4
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x506ab0]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
mov dword [eax], 0x506aac
mov eax, 0x100
test dword [0x506ae4], eax
jne 0x46c7ee
or dword [0x506ae4], eax
push 0x4c3c30
mov dword [0x506a9c], 0x4cffa8
mov byte [0x506aa0], bl
mov byte [0x506aa1], bl
mov byte [0x506aa2], 0
mov dword [0x506a98], 0x4ca558
mov dword [0x506aa4], ebp
mov dword [0x506aa8], ebx
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x506a9c]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
mov dword [eax], 0x506a98
mov eax, 0x200
test dword [0x506ae4], eax
jne 0x46c86a
or dword [0x506ae4], eax
push 0x4c3c10
mov dword [0x506a88], 0x4cffb8
mov byte [0x506a8c], bl
mov byte [0x506a8d], bl
mov byte [0x506a8e], 0
mov dword [0x506a84], 0x4ca558
mov dword [0x506a90], ebp
mov dword [0x506a94], 0x80
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x506a88]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
mov dword [eax], 0x506a84
mov eax, 0x400
test dword [0x506ae4], eax
jne 0x46c8e5
or dword [0x506ae4], eax
push 0x4c3bf0
mov dword [0x506a74], 0x4cffc8
mov byte [0x506a78], bl
mov byte [0x506a79], bl
mov byte [0x506a7a], 0
mov dword [0x506a70], 0x4ca558
mov dword [0x506a7c], ebp
mov dword [0x506a80], 0x20
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x506a74]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
mov dword [eax], 0x506a70
mov eax, 0x800
test dword [0x506ae4], eax
jne 0x46c973
fld dword [0x4d0d34]
or dword [0x506ae4], eax
fstp dword [0x506a68]
push 0x4c3bd0
fld dword [0x4c8788]
mov dword [0x506a5c], 0x4cffd4
fstp dword [0x506a6c]
mov byte [0x506a60], bl
mov byte [0x506a61], bl
mov byte [0x506a62], 0
mov dword [0x506a58], 0x4ca5a4
mov dword [0x506a64], 0x500f68
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x506a5c]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
mov dword [eax], 0x506a58
mov eax, 0x1000
test dword [0x506ae4], eax
mov ebp, vtable.CCC_Gamma.0
jne 0x46ca02
fld dword [0x4d0ae0]
or dword [0x506ae4], eax
fstp dword [0x506a50]
push 0x4c3bb0
fld dword [0x4c8788]
mov dword [0x506a44], 0x4cffe4
fstp dword [0x506a54]
mov byte [0x506a48], bl
mov byte [0x506a49], bl
mov byte [0x506a4a], 0
mov dword [0x506a4c], 0x4feb94
mov dword [0x506a40], ebp
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x506a44]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
mov dword [eax], 0x506a40
mov eax, 0x2000
test dword [0x506ae4], eax
jne 0x46ca8b
fld dword [0x4d0ae0]
or dword [0x506ae4], eax
fstp dword [0x506a38]
push 0x4c3b90
fld dword [0x4c8788]
mov dword [0x506a2c], 0x4cfff0
fstp dword [0x506a3c]
mov byte [0x506a30], bl
mov byte [0x506a31], bl
mov byte [0x506a32], 0
mov dword [0x506a34], 0x4feb98
mov dword [0x506a28], ebp
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x506a2c]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
mov dword [eax], 0x506a28
mov eax, 0x4000
test dword [0x506ae4], eax
jne 0x46cb15
fld dword [0x4d0ae0]
or dword [0x506ae4], eax
fstp dword [0x506a20]
push 0x4c3b70
fld dword [0x4c8788]
mov dword [0x506a14], 0x4d0000
fstp dword [0x506a24]
mov byte [0x506a18], bl
mov byte [0x506a19], bl
mov byte [0x506a1a], 0
mov dword [0x506a1c], 0x4feb9c
mov dword [0x506a10], ebp
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x506a14]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
mov dword [eax], 0x506a10
mov eax, 0x8000
xor ebp, ebp
test dword [0x506ae4], eax
jne 0x46cb9d
or dword [0x506ae4], eax
push 0x4c3b50
mov dword [0x5069fc], 0x4d0010
mov byte [0x506a00], bl
mov byte [0x506a01], bl
mov byte [0x506a02], 0
mov dword [0x5069f8], 0x4ca5d4
mov dword [0x506a04], 0x503b3c
mov dword [0x506a08], ebp
mov dword [0x506a0c], 4
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x5069fc]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
mov dword [eax], 0x5069f8
mov eax, 0x10000
test dword [0x506ae4], eax
jne 0x46cc22
or dword [0x506ae4], eax
push 0x4c3b30
mov dword [0x5069e4], 0x4d001c
mov byte [0x5069e8], bl
mov byte [0x5069e9], bl
mov byte [0x5069ea], 0
mov dword [0x5069e0], 0x4ca5d4
mov dword [0x5069ec], 0x500f70
mov dword [0x5069f0], ebp
mov dword [0x5069f4], 0x40
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x5069e4]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
mov dword [eax], 0x5069e0
mov eax, 0x20000
test dword [0x506ae4], eax
jne 0x46cc9e
or dword [0x506ae4], eax
push 0x4c3b10
mov dword [0x50683c], 0x4d0030
mov byte [0x506840], bl
mov byte [0x506841], bl
mov dword [0x506844], 0x50684c
mov dword [0x506848], ebp
mov dword [0x506838], 0x4d02c4
mov byte [0x506842], 0
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x50683c]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
mov dword [eax], 0x506838
mov eax, 0x40000
test dword [0x506ae4], eax
jne 0x46cd09
or dword [0x506ae4], eax
push 0x4c3af0
mov dword [0x5067c8], 0x4d003c
mov byte [0x5067cc], bl
mov byte [0x5067cd], bl
mov dword [0x5067c4], 0x4d02ac
mov byte [0x5067ce], bl
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x5067c8]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
mov dword [eax], 0x5067c4
mov eax, 0x80000
test dword [0x506ae4], eax
jne 0x46cd90
fldz
mov ecx, dword [0x4c4754]
or dword [0x506ae4], eax
fstp dword [0x5069d8]
fld1
push 0x4c3ad0
fstp dword [0x5069dc]
mov dword [0x5069cc], 0x4d0048
mov byte [0x5069d0], bl
mov byte [0x5069d1], bl
mov byte [0x5069d2], 0
mov dword [0x5069c8], 0x4ca5a4
mov dword [0x5069d4], ecx
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x5069cc]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
mov dword [eax], 0x5069c8
mov eax, 0x100000
test dword [0x506ae4], eax
jne 0x46ce16
fldz
or dword [0x506ae4], eax
mov eax, dword [0x4c4758]
fstp dword [0x5069c0]
fld1
push 0x4c3ab0
fstp dword [0x5069c4]
mov dword [0x5069b4], 0x4d0058
mov byte [0x5069b8], bl
mov byte [0x5069b9], bl
mov byte [0x5069ba], 0
mov dword [0x5069b0], 0x4ca5a4
mov dword [0x5069bc], eax
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x5069b4]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
mov dword [eax], 0x5069b0
mov eax, 0x200000
test dword [0x506ae4], eax
jne 0x46ce81
or dword [0x506ae4], eax
push 0x4c3a90
mov dword [0x5067bc], 0x4d006c
mov byte [0x5067c0], bl
mov byte [0x5067c1], bl
mov dword [0x5067b8], 0x4d02e0
mov byte [0x5067c2], bl
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x5067bc]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
mov dword [eax], 0x5067b8
mov eax, 0x400000
test dword [0x506ae4], eax
mov ebp, vtable.CCC_Mask.0
jne 0x46cf02
or dword [0x506ae4], eax
mov eax, dword [0x4c4744]
push 0x4c3a70
mov dword [0x5069a0], 0x4d0078
mov byte [0x5069a4], bl
mov byte [0x5069a5], bl
mov byte [0x5069a6], 0
mov dword [0x50699c], ebp
mov dword [0x5069a8], eax
mov dword [0x5069ac], 2
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x5069a0]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
mov dword [eax], 0x50699c
mov eax, 0x800000
test dword [0x506ae4], eax
jne 0x46cf80
mov edx, dword [0x4c4744]
or dword [0x506ae4], eax
push 0x4c3a50
mov dword [0x50698c], 0x4d008c
mov byte [0x506990], bl
mov byte [0x506991], bl
mov byte [0x506992], 0
mov dword [0x506988], ebp
mov dword [0x506994], edx
mov dword [0x506998], 4
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x50698c]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
mov dword [eax], 0x506988
mov eax, 0x1000000
test dword [0x506ae4], eax
jne 0x46d00b
mov ecx, dword [0x4c4748]
or dword [0x506ae4], eax
push 0x4c3a30
mov dword [0x506974], 0x4d0094
mov byte [0x506978], bl
mov byte [0x506979], bl
mov byte [0x50697a], 0
mov dword [0x506970], 0x4ca5d4
mov dword [0x50697c], ecx
mov dword [0x506980], 4
mov dword [0x506984], 0x20
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x506974]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
mov dword [eax], 0x506970
mov eax, 0x2000000
test dword [0x506ae4], eax
jne 0x46d095
or dword [0x506ae4], eax
mov eax, dword [0x4c474c]
push 0x4c3a10
mov dword [0x50695c], 0x4d00a0
mov byte [0x506960], bl
mov byte [0x506961], bl
mov byte [0x506962], 0
mov dword [0x506958], 0x4ca5d4
mov dword [0x506964], eax
mov dword [0x506968], 4
mov dword [0x50696c], 0x20
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x50695c]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
mov dword [eax], 0x506958
mov eax, 0x4000000
test dword [0x506ae4], eax
jne 0x46d10d
or dword [0x506ae4], eax
push 0x4c39f0
mov dword [0x506948], 0x4d00b0
mov byte [0x50694c], bl
mov byte [0x50694d], bl
mov byte [0x50694e], 0
mov dword [0x506944], ebp
mov dword [0x506950], 0x503b60
mov dword [0x506954], ebx
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x506948]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
fld dword [0x4d0d30]
mov dword [eax], 0x506944
fstp dword [sym.XR_3DA.exe_float_psMouseSens]
mov eax, 0x8000000
test dword [0x506ae4], eax
mov ebp, vtable.CCC_Float.0
jne 0x46d1a8
fld dword [0x4c9bbc]
or dword [0x506ae4], eax
fstp dword [0x50693c]
push 0x4c39d0
fld dword [0x4d0d2c]
mov dword [0x506930], 0x4d00c0
fstp dword [0x506940]
mov byte [0x506934], bl
mov byte [0x506935], bl
mov byte [0x506936], 0
mov dword [0x50692c], ebp
mov dword [0x506938], 0x500fdc
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x506930]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
mov dword [eax], 0x50692c
mov eax, 0x10000000
test dword [0x506ae4], eax
jne 0x46d229
fldz
or dword [0x506ae4], eax
fstp dword [0x506924]
push 0x4c39b0
fld1
mov dword [0x506918], 0x4d00cc
fstp dword [0x506928]
mov byte [0x50691c], bl
mov byte [0x50691d], bl
mov byte [0x50691e], 0
mov dword [0x506914], ebp
mov dword [0x506920], 0x500dc8
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x506918]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
mov dword [eax], 0x506914
mov eax, 0x20000000
test dword [0x506ae4], eax
jne 0x46d2ab
fldz
or dword [0x506ae4], eax
fstp dword [0x50690c]
push 0x4c3990
fld1
mov dword [0x506900], 0x4d00d8
fstp dword [0x506910]
mov byte [0x506904], bl
mov byte [0x506905], bl
mov byte [0x506906], 0
mov dword [0x5068fc], ebp
mov dword [0x506908], 0x500dcc
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x506900]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
mov dword [eax], 0x5068fc
mov eax, 0x40000000
xor ebp, ebp
test dword [0x506ae4], eax
jne 0x46d333
or dword [0x506ae4], eax
push 0x4c3970
mov dword [0x506828], 0x4cc15c
mov byte [0x50682c], bl
mov byte [0x50682d], bl
mov byte [0x50682e], 0
mov dword [0x506830], 0x503bb8
mov dword [0x506834], 0x4feb5c
mov dword [0x506824], 0x4d0358
mov dword [0x503bb8], ebp
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x506828]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
mov dword [eax], 0x506824
mov ecx, dword [0x4c457c]
mov ecx, dword [ecx]
push str.occlusion_scale
push str.sound
call dword [0x4c4600]
mov edx, dword [0x4c4750]
fstp dword [edx]
mov ecx, dword [0x4c4750]
fld dword [ecx]
fcomp qword [0x4d0a20]
fnstsw ax
test ah, 5
jp 0x46d396
fld dword [0x4c87a8]
fstp dword [ecx]
jmp 0x46d3ab
fld dword [0x4d0ae0]
fcom dword [ecx]
fnstsw ax
test ah, 5
jp 0x46d3a9
fstp dword [ecx]
jmp 0x46d3ab
fstp st(0)
mov eax, 0x80000000
test dword [0x506ae4], eax
jne 0x46d408
or dword [0x506ae4], eax
push 0x4c3950
mov dword [0x5068e8], 0x4d00f8
mov byte [0x5068ec], bl
mov byte [0x5068ed], bl
mov byte [0x5068ee], 0
mov dword [0x5068e4], 0x4ca5d4
mov dword [0x5068f0], 0x503b80
mov dword [0x5068f4], ebp
mov dword [0x5068f8], ebx
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x5068e8]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
test byte [0x5068e0], bl
mov dword [eax], 0x5068e4
jne 0x46d484
or dword [0x5068e0], ebx
push 0x4c3930
mov dword [0x5068cc], 0x4d0110
mov byte [0x5068d0], bl
mov byte [0x5068d1], bl
mov byte [0x5068d2], 0
mov dword [0x5068c8], 0x4ca5d4
mov dword [0x5068d4], 0x503b84
mov dword [0x5068d8], ebp
mov dword [0x5068dc], ebx
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x5068cc]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
mov dword [eax], 0x5068c8
mov eax, dword [0x4c4474]
add eax, 0x4d0
push str.designer
push eax
call dword [0x4c421c]
add esp, 8
test eax, eax
je 0x46d71e
test byte [0x5068e0], 2
jne 0x46d50d
or dword [0x5068e0], 2
push 0x4c3910
mov dword [0x5067a4], 0x4d0134
mov byte [0x5067a8], bl
mov byte [0x5067a9], bl
mov dword [0x5067a0], 0x4d0328
mov byte [0x5067aa], bl
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x5067a4]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
test byte [0x5068e0], 4
mov dword [eax], 0x5067a0
jne 0x46d575
or dword [0x5068e0], 4
push 0x4c38f0
mov dword [0x5067b0], 0x4d014c
mov byte [0x5067b4], bl
mov byte [0x5067b5], bl
mov dword [0x5067ac], 0x4d0310
mov byte [0x5067b6], bl
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x5067b0]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
test byte [0x5068e0], 8
mov dword [eax], 0x5067ac
mov ebp, vtable.CCC_DR_UsePoints.0
jne 0x46d5f8
or dword [0x5068e0], 8
push 0x4c38d0
mov dword [0x5068b4], 0x4d0168
mov byte [0x5068b8], bl
mov byte [0x5068b9], bl
mov byte [0x5068ba], 0
mov dword [0x5068bc], 0x503b98
mov dword [0x5068c0], 0
mov dword [0x5068c4], ebx
mov dword [0x5068b0], ebp
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x5068b4]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
test byte [0x5068e0], 0x10
mov dword [eax], 0x5068b0
jne 0x46d677
or dword [0x5068e0], 0x10
push 0x4c38b0
mov dword [0x50689c], 0x4d0180
mov byte [0x5068a0], bl
mov byte [0x5068a1], bl
mov byte [0x5068a2], 0
mov dword [0x5068a4], 0x503b9c
mov dword [0x5068a8], 0
mov dword [0x5068ac], ebx
mov dword [0x506898], ebp
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x50689c]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
test byte [0x5068e0], 0x20
mov dword [eax], 0x506898
jne 0x46d6fa
or dword [0x5068e0], 0x20
push 0x4c3890
mov dword [0x506884], 0x4d0194
mov byte [0x506888], bl
mov byte [0x506889], bl
mov byte [0x50688a], 0
mov dword [0x50688c], 0x503ba0
mov dword [0x506890], 0
mov dword [0x506894], 3
mov dword [0x506880], ebp
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x506884]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
mov dword [eax], 0x506880
test byte [0x5068e0], 0x40
jne 0x46d761
or dword [0x5068e0], 0x40
push 0x4c3870
mov dword [0x506804], 0x4d01a8
mov byte [0x506808], bl
mov byte [0x506809], bl
mov dword [0x506800], 0x4d0234
mov byte [0x50680a], bl
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x506804]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
test byte [0x5068e0], 0x80
mov dword [eax], 0x506800
jne 0x46d7cd
or dword [0x5068e0], 0x80
push 0x4c3850
mov dword [0x5067f8], 0x4d01b8
mov byte [0x5067fc], bl
mov byte [0x5067fd], bl
mov dword [0x5067f4], 0x4d024c
mov byte [0x5067fe], 0
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov edx, dword [0x5067f8]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edx
call fcn.0045acd0
mov dword [eax], 0x5067f4
mov eax, 0x100
test dword [0x5068e0], eax
jne 0x46d853
or dword [0x5068e0], eax
push 0x4c3830
mov dword [0x50686c], 0x4d01c8
mov byte [0x506870], bl
mov byte [0x506871], bl
mov byte [0x506872], 0
mov dword [0x506868], 0x4ca5d4
mov dword [0x506874], 0x500ac8
mov dword [0x506878], ebx
mov dword [0x50687c], 0x64
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov eax, dword [0x50686c]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045acd0
mov dword [eax], 0x506868
mov eax, 0x200
test dword [0x5068e0], eax
jne 0x46d8d8
or dword [0x5068e0], eax
push 0x4c3810
mov dword [0x506854], 0x4d01e0
mov byte [0x506858], bl
mov byte [0x506859], bl
mov byte [0x50685a], 0
mov dword [0x506850], 0x4ca5d4
mov dword [0x50685c], 0x500c44
mov dword [0x506860], ebx
mov dword [0x506864], 0x3e8
call fcn.00467db7
add esp, 4
mov edi, dword [sym.XR_3DA.exe_class_CConsole__Console]
mov ecx, dword [0x506854]
add edi, 0x484
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.0045acd0
pop edi
pop esi
pop ebp
mov dword [eax], 0x506850
pop ebx
pop ecx
ret