Function at 0x18005a2c0
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 [0x180091ea0]
or dword [rax + 0x47a8], 3
mulss xmm2, dword [0x180091dbc]
mov dword [rax + 0x47c0], 0x3f000000
mulss xmm1, dword [0x180091dbc]
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.180010140
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 [0x180091e80]
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.180006180
mov rdx, qword [rbx]
mov r14d, eax
cmp dword [rdx + 0x3f18], eax
jne 0x18005a404
lea r8, str.settings
mov edx, 0xb
mov ecx, eax
call fcn.18001e240
xor esi, esi
lea r8, [rbp - 0x40]
mov r9b, 1
mov dword [rsp + 0x20], esi
mov edx, r14d
lea rcx, str.settings
call fcn.18000d3e0
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.180047bd0
mov r15d, dword [0x1800ae470]
test al, al
cmovne r15d, r14d
mov dword [0x1800ae470], r15d
test bl, bl
je 0x18005a476
call fcn.1800130e0
inc r14d
add r12, 8
cmp r14d, 4
jl 0x18005a440
call fcn.18000d610
movss xmm6, dword [0x180091f30]
xorps xmm0, xmm0
movaps xmm1, xmm6
call fcn.180015cc0
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 [0x1800922e0]
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.180006180
mov r8, qword [rbx]
mov r14d, eax
cmp dword [r8 + 0x3f18], eax
jne 0x18005a525
lea r8, str.content
mov edx, 0xb
mov ecx, eax
call fcn.18001e240
xor r9d, r9d
mov dword [rsp + 0x20], esi
lea r8, [rbp - 0x40]
mov edx, r14d
lea rcx, str.content
call fcn.18000d3e0
mov ecx, dword [0x1800ae470]
movss xmm7, dword [0x180091f14]
test ecx, ecx
je 0x18005b199
sub ecx, 1
je 0x18005b15e
sub ecx, 1
je 0x18005a62d
cmp ecx, 1
jne 0x18005b22f
lea rcx, str.All_user_settings_are_saved_to_mk1hook_user.ini.
call fcn.180035f30
lea rcx, str.Sensitivity
call fcn.180035c90
movaps xmm0, xmm7
call fcn.180015d70
mov r8, qword [0x18009ce98]
lea rax, [rbp - 0x30]
add r8, 0x54
mov dword [rbp - 0x30], 0x32
lea r9, [rbp - 0x40]
mov dword [rbp - 0x40], 1
mov qword [rsp + 0x20], rax
call fcn.18003b7d0
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 [0x18009ce98]
mov dword [r8 + 0x1bc], ecx
add rdx, 0x59
lea rcx, str.Invert_X
mov dword [r8 + 0x1c8], eax
call fcn.1800383c0
mov rdx, qword [0x18009ce98]
lea rcx, str.Invert_Y
add rdx, 0x58
call fcn.1800383c0
jmp 0x18005b22f
cmp byte [rdi + 3], sil
je 0x18005a64e
movaps xmm0, xmmword [0x1800921c0]
lea rdx, str.Press_a_key_
lea rcx, [rbp - 0x40]
movups xmmword [rbp - 0x40], xmm0
call fcn.180035dd0
xor r8d, r8d
mov dword [rbp - 0x40], 0x80800000
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x3c], esi
lea rcx, str.Reset_Keys
call fcn.180036d00
test al, al
je 0x18005a713
mov rax, qword [0x18009ce98]
lea rdx, str.Keys_reset__Remember_to_save.
mov rcx, qword [0x18009ce60]
mov qword [rax + 4], 0x70
mov dword [rax + 0xc], 0x74
mov qword [rax + 0x10], 0x71
mov dword [rax + 0x18], esi
mov dword [rax + 0x1c], 0x68
mov dword [rax + 0x20], Ordinal_101
mov dword [rax + 0x24], Ordinal_101
mov dword [rax + 0x28], 0x66
mov dword [rax + 0x2c], 0x67
mov dword [rax + 0x30], Ordinal_101
mov dword [rax + 0x34], 0x27
mov dword [rax + 0x38], 0x25
mov dword [rax + 0x3c], 0x26
mov dword [rax + 0x40], 0x28
mov dword [rax + 0x44], Ordinal_101
mov dword [rax + 0x48], 0x69
mov dword [rax + 0x4c], 0x6b
mov dword [rax + 0x50], 0x6d
mov dword [rcx + 0x804], 0x40200000
call fcn.18004f690
mov rax, qword [0x18009ca28]
movss xmm7, dword [0x180091e00]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18005a747
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800393f0
lea rdx, str.Core
lea rcx, [0x18008c118]
call fcn.180035fe0
mov rax, qword [0x18009ca28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18005a786
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800393f0
mov rbx, qword [0x18009ce98]
lea rdx, str.Open_Close_Menu
lea rcx, [0x18008c118]
add rbx, 4
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.menu
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005a7f9
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Toggle_Gamespeed_Slow_Motion
lea rcx, [0x18008c118]
add rbx, 0xc
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.slomo
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005a86c
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Freeze_World
lea rcx, [0x18008c118]
add rbx, 0x10
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.freeze
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005a8df
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 0x18005a90b
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800393f0
lea rdx, str.Camera
lea rcx, [0x18008c118]
call fcn.180035fe0
mov rax, qword [0x18009ca28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18005a94a
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800393f0
mov rbx, qword [0x18009ce98]
lea rdx, str.FOV
lea rcx, [0x18008c118]
add rbx, 0x4c
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.fov_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005a9bd
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.FOV_
lea rcx, [0x18008c118]
add rbx, 0x50
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.fov_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005aa30
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Yaw
lea rcx, [0x18008c118]
add rbx, 0x34
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.ya_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005aaa3
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Yaw_
lea rcx, [0x18008c118]
add rbx, 0x38
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.ya_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005ab16
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Pitch
lea rcx, [0x18008c118]
add rbx, 0x3c
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.pi_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005ab89
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Pitch_
lea rcx, [0x18008c118]
add rbx, 0x40
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.pi_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005abfc
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Roll
lea rcx, [0x18008c118]
add rbx, 0x48
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.r_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005ac6f
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Roll_
lea rcx, [0x18008c118]
add rbx, 0x44
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.r_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005ace2
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Forwards
lea rcx, [0x18008c118]
add rbx, 0x1c
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.x_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005ad55
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Backwards
lea rcx, [0x18008c118]
add rbx, 0x20
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.x_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005adc8
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Left
lea rcx, [0x18008c118]
add rbx, 0x24
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.y_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005ae3b
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Right
lea rcx, [0x18008c118]
add rbx, 0x28
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.y_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005aeae
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, [0x18008b9d0]
lea rcx, [0x18008c118]
add rbx, 0x2c
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.z_plus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005af21
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Down
lea rcx, [0x18008c118]
add rbx, 0x30
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.z_minus
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005af94
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 0x18005afc0
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800393f0
lea rdx, str.Misc
lea rcx, [0x18008c118]
call fcn.180035fe0
mov rax, qword [0x18009ca28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18005afff
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800393f0
mov rbx, qword [0x18009ce98]
lea rdx, str.Toggle_Free_Camera
lea rcx, [0x18008c118]
add rbx, 0x14
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.fcam
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005b072
mov byte [rdi + 3], 1
mov qword [rdi + 0x2c8], rbx
mov rbx, qword [0x18009ce98]
lea rdx, str.Toggle_HUD
lea rcx, [0x18008c118]
add rbx, 0x18
call fcn.180035fe0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180015cc0
mov ecx, dword [rbx]
call fcn.18004fba0
mov r8, rax
lea r9, str.thud
lea rdx, str._skey_s
lea rcx, [0x1800acfa0]
call fcn.18001f640
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x1800acfa0]
call fcn.180036d00
test al, al
je 0x18005b0e5
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 0x18005b111
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800393f0
cmp byte [rdi + 3], sil
je 0x18005b22f
nop dword [rax + rax]
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x18005b13e
inc esi
cmp esi, 0xff
jl 0x18005b120
jmp 0x18005b22f
lea eax, [rsi - 8]
cmp eax, 0xf5
ja 0x18005b22f
mov rax, qword [rdi + 0x2c8]
mov dword [rax], esi
mov byte [rdi + 3], 0
jmp 0x18005b22f
lea rcx, str.These_settings_control_MK1Hook.ini_options._Any_changes_require_game_restart_to_take_effect.
call fcn.180035f30
mov rdx, qword [0x18009ce98]
lea rcx, str.Debug_Console
call fcn.1800383c0
mov rdx, qword [0x18009ce98]
lea rcx, str.Gamepad_Support
add rdx, 2
call fcn.1800383c0
jmp 0x18005b22f
lea rcx, str.All_user_settings_are_saved_to_mk1hook_user.ini.
call fcn.180035f30
lea rcx, str.Menu_Scale
call fcn.180035c90
movaps xmm0, xmm7
call fcn.180015d70
mov r8, qword [0x18009ce98]
lea rax, str._.3f
xor r9d, r9d
mov dword [rsp + 0x30], 0x20000
mov qword [rsp + 0x28], rax
lea rcx, [0x18008c118]
add r8, 0x5c
mov qword [rsp + 0x20], rsi
lea edx, [r9 + 8]
call fcn.18003c4c0
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.180036d00
test al, al
je 0x18005b27d
mov rcx, qword [0x18009ce60]
lea rdx, str.Settings_saved_to_MK1Hook.ini_and_mk1hook_user.ini_
mov dword [rcx + 0x804], 0x40200000
call fcn.18004f690
mov byte [0x18009c9e2], 1
call fcn.1800608f0
call fcn.18000d610
call fcn.1800123e0
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.180061f80
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