Function at 0x180059a50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
mov rax, qword [0x18009c010]
xor rax, rsp
mov qword [rbp - 0x28], rax
mov rax, qword [0x18009ca28]
lea rdx, [rcx + 1]
mov rdi, rcx
xor r8d, r8d
lea rcx, str.Settings
movss xmm2, dword [rax + 0x10]
movss xmm1, dword [rax + 0x14]
movss xmm0, dword [rax + 0x3c08]
mulss xmm0, dword [0x180091810]
or dword [rax + 0x47a8], 3
mulss xmm2, dword [0x18009172c]
mov dword [rax + 0x47c0], 0x3f000000
mulss xmm1, dword [0x18009172c]
mov dword [rax + 0x47c4], 0x3f000000
movss dword [rax + 0x47b8], xmm2
movss dword [rax + 0x47c8], xmm0
movss dword [rax + 0x47bc], xmm1
movss dword [rax + 0x47cc], xmm0
mov dword [rax + 0x47ac], 2
mov dword [rax + 0x47b0], 2
call fcn.180010020
mov rbx, qword [0x18009ca28]
xor edx, edx
mov dword [rbp - 0x3c], 0
movss xmm0, dword [rbx + 0x3c08]
mov rax, qword [rbx + 0x3ed0]
mulss xmm0, dword [0x1800917f0]
mov byte [rax + 0xb8], 1
mov rbx, qword [rbx + 0x3ed0]
movss dword [rbp - 0x40], xmm0
movsxd rcx, dword [rbx + 0xf0]
mov rax, qword [rbx + 0xf8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.settings
call fcn.180006060
mov rdx, qword [rbx]
mov r14d, eax
cmp dword [rdx + 0x3f18], eax
jne 0x180059b94
lea r8, str.settings
mov edx, 0xb
mov ecx, eax
call fcn.18001e120
xor esi, esi
lea r8, [rbp - 0x40]
mov r9b, 1
mov dword [rsp + 0x20], esi
mov edx, r14d
lea rcx, str.settings
call fcn.18000d2c0
mov r15d, dword [0x1800ae470]
lea r12, str.Menu
mov r14d, esi
mov qword [rbp - 0x40], rsi
nop word [rax + rax]
mov rcx, qword [r12]
lea r9, [rbp - 0x40]
cmp r15d, r14d
sete bl
xor r8d, r8d
movzx edx, bl
call fcn.180047ab0
mov r15d, dword [0x1800ae470]
test al, al
cmovne r15d, r14d
mov dword [0x1800ae470], r15d
test bl, bl
je 0x180059c06
call fcn.180012fc0
inc r14d
add r12, 8
cmp r14d, 4
jl 0x180059bd0
call fcn.18000d4f0
movss xmm6, dword [0x1800918a0]
xorps xmm0, xmm0
movaps xmm1, xmm6
call fcn.180015ba0
mov rbx, qword [0x18009ca28]
xor edx, edx
mov dword [rbp - 0x40], esi
movss xmm4, dword [rbx + 0x3810]
mov rax, qword [rbx + 0x3ed0]
addss xmm4, xmm4
addss xmm4, dword [rbx + 0x3c08]
addss xmm4, dword [rbx + 0x3820]
mov byte [rax + 0xb8], 1
mov rbx, qword [rbx + 0x3ed0]
xorps xmm4, xmmword [0x180091c50]
movsxd rcx, dword [rbx + 0xf0]
mov rax, qword [rbx + 0xf8]
movss dword [rbp - 0x3c], xmm4
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.content
call fcn.180006060
mov r8, qword [rbx]
mov r14d, eax
cmp dword [r8 + 0x3f18], eax
jne 0x180059cb5
lea r8, str.content
mov edx, 0xb
mov ecx, eax
call fcn.18001e120
xor r9d, r9d
mov dword [rsp + 0x20], esi
lea r8, [rbp - 0x40]
mov edx, r14d
lea rcx, str.content
call fcn.18000d2c0
mov ecx, dword [0x1800ae470]
movss xmm7, dword [0x180091884]
test ecx, ecx
je 0x18005a961
sub ecx, 1
je 0x18005a8ee
sub ecx, 1
je 0x180059dbd
cmp ecx, 1
jne 0x18005a9f7
lea rcx, str.All_user_settings_are_saved_to_mk1hook_user.ini.
call fcn.180035e10
lea rcx, str.Sensitivity
call fcn.180035b70
movaps xmm0, xmm7
call fcn.180015c50
mov r8, qword [0x18009ce90]
lea rax, [rbp - 0x30]
add r8, 0x58
mov dword [rbp - 0x30], 0x32
lea r9, [rbp - 0x40]
mov dword [rbp - 0x40], 1
mov qword [rsp + 0x20], rax
call fcn.18003b6b0
mov rcx, qword [0x18009ca28]
mov rax, qword [rcx + 0x3ed0]
mov byte [rax + 0xb8], 1
mov r8, qword [rcx + 0x3ed0]
movsxd rdx, dword [r8 + 0x1c8]
mov rax, qword [r8 + 0x1d0]
mov ecx, dword [rax + rdx*4 - 4]
lea eax, [rdx - 1]
mov rdx, qword [0x18009ce90]
mov dword [r8 + 0x1bc], ecx
add rdx, 0x5d
lea rcx, str.Invert_X
mov dword [r8 + 0x1c8], eax
call fcn.1800382a0
mov rdx, qword [0x18009ce90]
lea rcx, str.Invert_Y
add rdx, 0x5c
call fcn.1800382a0
jmp 0x18005a9f7
cmp byte [rdi + 3], sil
je 0x180059dde
movaps xmm0, xmmword [0x180091b30]
lea rdx, str.Press_a_key_
lea rcx, [rbp - 0x40]
movups xmmword [rbp - 0x40], xmm0
call fcn.180035cb0
xor r8d, r8d
mov dword [rbp - 0x40], 0x80800000
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x3c], esi
lea rcx, str.Reset_Keys
call fcn.180036be0
test al, al
je 0x180059ea3
mov rax, qword [0x18009ce90]
lea rdx, str.Keys_reset__Remember_to_save.
mov rcx, qword [0x18009ce58]
mov qword [rax + 8], 0x70
mov dword [rax + 0x10], 0x74
mov qword [rax + 0x14], 0x71
mov dword [rax + 0x1c], esi
mov dword [rax + 0x20], 0x68
mov dword [rax + 0x24], Ordinal_101
mov dword [rax + 0x28], Ordinal_101
mov dword [rax + 0x2c], 0x66
mov dword [rax + 0x30], 0x67
mov dword [rax + 0x34], Ordinal_101
mov dword [rax + 0x38], 0x27
mov dword [rax + 0x3c], 0x25
mov dword [rax + 0x40], 0x26
mov dword [rax + 0x44], 0x28
mov dword [rax + 0x48], Ordinal_101
mov dword [rax + 0x4c], 0x69
mov dword [rax + 0x50], 0x6b
mov dword [rax + 0x54], 0x6d
mov dword [rcx + 0x804], 0x40200000
call fcn.18004f570
mov rax, qword [0x18009ca28]
movss xmm7, dword [0x180091770]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x180059ed7
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800392d0
lea rdx, str.Core
lea rcx, [0x18008bf88]
call fcn.180035ec0
mov rax, qword [0x18009ca28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x180059f16
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800392d0
mov rbx, qword [0x18009ce90]
lea rdx, str.Open_Close_Menu
lea rcx, [0x18008bf88]
add rbx, 8
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.menu
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x180059f89
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Toggle_Gamespeed_Slow_Motion
lea rcx, [0x18008bf88]
add rbx, 0x10
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.slomo
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x180059ffc
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Freeze_World
lea rcx, [0x18008bf88]
add rbx, 0x14
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.freeze
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a06f
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rax, qword [0x18009ca28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18005a09b
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800392d0
lea rdx, str.Camera
lea rcx, [0x18008bf88]
call fcn.180035ec0
mov rax, qword [0x18009ca28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18005a0da
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800392d0
mov rbx, qword [0x18009ce90]
lea rdx, str.FOV
lea rcx, [0x18008bf88]
add rbx, 0x50
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.fov_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a14d
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.FOV_
lea rcx, [0x18008bf88]
add rbx, 0x54
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.fov_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a1c0
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Yaw
lea rcx, [0x18008bf88]
add rbx, 0x38
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.ya_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a233
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Yaw_
lea rcx, [0x18008bf88]
add rbx, 0x3c
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.ya_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a2a6
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Pitch
lea rcx, [0x18008bf88]
add rbx, 0x40
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.pi_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a319
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Pitch_
lea rcx, [0x18008bf88]
add rbx, 0x44
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.pi_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a38c
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Roll
lea rcx, [0x18008bf88]
add rbx, 0x4c
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.r_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a3ff
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Roll_
lea rcx, [0x18008bf88]
add rbx, 0x48
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.r_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a472
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Forwards
lea rcx, [0x18008bf88]
add rbx, 0x20
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.x_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a4e5
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Backwards
lea rcx, [0x18008bf88]
add rbx, 0x24
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.x_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a558
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Left
lea rcx, [0x18008bf88]
add rbx, 0x28
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.y_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a5cb
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Right
lea rcx, [0x18008bf88]
add rbx, 0x2c
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.y_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a63e
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, [0x18008b840]
lea rcx, [0x18008bf88]
add rbx, 0x30
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.z_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a6b1
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Down
lea rcx, [0x18008bf88]
add rbx, 0x34
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.z_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a724
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rax, qword [0x18009ca28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18005a750
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800392d0
lea rdx, str.Misc
lea rcx, [0x18008bf88]
call fcn.180035ec0
mov rax, qword [0x18009ca28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18005a78f
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800392d0
mov rbx, qword [0x18009ce90]
lea rdx, str.Toggle_Free_Camera
lea rcx, [0x18008bf88]
add rbx, 0x18
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.fcam
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a802
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce90]
lea rdx, str.Toggle_HUD
lea rcx, [0x18008bf88]
add rbx, 0x1c
call fcn.180035ec0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015ba0
mov ecx, dword [rbx]
call fcn.18004fa80
mov r8, rax
lea r9, str.thud
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f520
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036be0
test al, al
je 0x18005a875
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rax, qword [0x18009ca28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18005a8a1
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800392d0
cmp byte [rdi + 3], sil
je 0x18005a9f7
nop dword [rax + rax]
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x18005a8ce
inc esi
cmp esi, 0xff
jl 0x18005a8b0
jmp 0x18005a9f7
lea eax, [rsi - 8]
cmp eax, 0xf5
ja 0x18005a9f7
mov rax, qword [rdi + 0x2c8]
mov dword [rax], esi
mov byte [rdi + 3], 0
jmp 0x18005a9f7
lea rcx, str.These_settings_control_MK1Hook.ini_options._Any_changes_require_game_restart_to_take_effect.
call fcn.180035e10
mov rdx, qword [0x18009ce90]
lea rcx, str.Debug_Console
call fcn.1800382a0
mov rdx, qword [0x18009ce90]
lea rcx, str.Gamepad_Support
add rdx, 5
call fcn.1800382a0
mov rdx, qword [0x18009ce90]
lea rcx, str.60_FPS_Patch
add rdx, 2
call fcn.1800382a0
mov rdx, qword [0x18009ce90]
cmp byte [rdx + 2], sil
je 0x18005a9f7
add rdx, 3
lea rcx, str.Restrict_60_FPS_Patch_to_Invasions_only
call fcn.1800382a0
jmp 0x18005a9f7
lea rcx, str.All_user_settings_are_saved_to_mk1hook_user.ini.
call fcn.180035e10
lea rcx, str.Menu_Scale
call fcn.180035b70
movaps xmm0, xmm7
call fcn.180015c50
mov r8, qword [0x18009ce90]
lea rax, str._.3f
xor r9d, r9d
mov dword [rsp + 0x30], 0x20000
mov qword [rsp + 0x28], rax
lea rcx, [0x18008bf88]
add r8, 0x60
mov qword [rsp + 0x20], rsi
lea edx, [r9 + 8]
call fcn.18003c3a0
mov rcx, qword [0x18009ca28]
mov rax, qword [rcx + 0x3ed0]
mov byte [rax + 0xb8], 1
mov r8, qword [rcx + 0x3ed0]
movsxd rdx, dword [r8 + 0x1c8]
mov rax, qword [r8 + 0x1d0]
mov ecx, dword [rax + rdx*4 - 4]
lea eax, [rdx - 1]
mov dword [r8 + 0x1c8], eax
mov dword [r8 + 0x1bc], ecx
xor r8d, r8d
mov dword [rbp - 0x40], 0x80800000
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x3c], 0
lea rcx, str.Save
call fcn.180036be0
test al, al
je 0x18005aa45
mov rcx, qword [0x18009ce58]
lea rdx, str.Settings_saved_to_MK1Hook.ini_and_mk1hook_user.ini_
mov dword [rcx + 0x804], 0x40200000
call fcn.18004f570
mov byte [0x18009c9e2], 1
call fcn.18005fd50
call fcn.18000d4f0
call fcn.1800122c0
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.1800614b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret