Function at 0x18004a0e0
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 [0x180085010]
xor rax, rsp
mov qword [rbp - 0x28], rax
mov rax, qword [0x180085a28]
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 [0x18007bf1c]
or dword [rax + 0x47a8], 3
mulss xmm2, dword [0x18007be4c]
mov dword [rax + 0x47c0], 0x3f000000
mulss xmm1, dword [0x18007be4c]
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.18000fb60
mov rbx, qword [0x180085a28]
xor edx, edx
mov dword [rbp - 0x3c], 0
movss xmm0, dword [rbx + 0x3c08]
mov rax, qword [rbx + 0x3ed0]
mulss xmm0, dword [0x18007bf00]
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.180006070
mov rdx, qword [rbx]
mov r14d, eax
cmp dword [rdx + 0x3f18], eax
jne 0x18004a224
lea r8, str.settings
mov edx, 0xb
mov ecx, eax
call fcn.18001d790
xor esi, esi
lea r8, [rbp - 0x40]
mov r9b, 1
mov dword [rsp + 0x20], esi
mov edx, r14d
lea rcx, str.settings
call fcn.18000ce00
mov r15d, dword [0x180096fd0]
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.18003fdf0
mov r15d, dword [0x180096fd0]
test al, al
cmovne r15d, r14d
mov dword [0x180096fd0], r15d
test bl, bl
je 0x18004a296
call fcn.180012b90
inc r14d
add r12, 8
cmp r14d, 4
jl 0x18004a260
call fcn.18000d030
movss xmm6, dword [0x18007bf7c]
xorps xmm0, xmm0
movaps xmm1, xmm6
call fcn.1800156f0
mov rbx, qword [0x180085a28]
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 [0x18007c2f0]
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.180006070
mov r8, qword [rbx]
mov r14d, eax
cmp dword [r8 + 0x3f18], eax
jne 0x18004a345
lea r8, str.content
mov edx, 0xb
mov ecx, eax
call fcn.18001d790
xor r9d, r9d
mov dword [rsp + 0x20], esi
lea r8, [rbp - 0x40]
mov edx, r14d
lea rcx, str.content
call fcn.18000ce00
mov ecx, dword [0x180096fd0]
movss xmm7, dword [0x18007bf6c]
test ecx, ecx
je 0x18004af3e
sub ecx, 1
je 0x18004aecb
sub ecx, 1
je 0x18004a44d
cmp ecx, 1
jne 0x18004afd4
lea rcx, str.All_user_settings_are_saved_to_mk1hook_user.ini.
call fcn.180033760
lea rcx, str.Sensitivity
call fcn.1800334c0
movaps xmm0, xmm7
call fcn.1800157a0
mov r8, qword [0x180085d70]
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.1800382d0
mov rcx, qword [0x180085a28]
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 [0x180085d70]
mov dword [r8 + 0x1bc], ecx
add rdx, 0x59
lea rcx, str.Invert_X
mov dword [r8 + 0x1c8], eax
call fcn.180035aa0
mov rdx, qword [0x180085d70]
lea rcx, str.Invert_Y
add rdx, 0x58
call fcn.180035aa0
jmp 0x18004afd4
cmp byte [rdi + 2], sil
je 0x18004a46e
movaps xmm0, xmmword [0x18007c200]
lea rdx, str.Press_a_key_
lea rcx, [rbp - 0x40]
movups xmmword [rbp - 0x40], xmm0
call fcn.180033600
xor r8d, r8d
mov dword [rbp - 0x40], 0x80800000
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x3c], esi
lea rcx, str.Reset_Keys
call fcn.180034530
test al, al
je 0x18004a530
mov rax, qword [0x180085d70]
lea rdx, str.Keys_reset__Remember_to_save.
mov rcx, qword [0x180085d38]
mov qword [rax + 8], 0x70
mov dword [rax + 0x10], 0x74
mov qword [rax + 0x14], 0x71
mov dword [rax + 0x1c], 0x68
mov dword [rax + 0x20], Ordinal_101
mov dword [rax + 0x24], 0x66
mov dword [rax + 0x28], Ordinal_101
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.180045d00
mov rax, qword [0x180085a28]
movss xmm7, dword [0x18007be88]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18004a564
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.180036ad0
lea rdx, str.Core
lea rcx, [0x180078f50]
call fcn.180033810
mov rax, qword [0x180085a28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18004a5a3
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.180036ad0
mov rbx, qword [0x180085d70]
lea rdx, str.Open_Close_Menu
lea rcx, [0x180078f50]
add rbx, 8
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.menu
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004a613
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.Toggle_Gamespeed_Slow_Motion
lea rcx, [0x180078f50]
add rbx, 0x10
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.slomo
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004a683
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.Freeze_World
lea rcx, [0x180078f50]
add rbx, 0x14
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.freeze
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004a6f3
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rax, qword [0x180085a28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18004a71f
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.180036ad0
lea rdx, str.Camera
lea rcx, [0x180078f50]
call fcn.180033810
mov rax, qword [0x180085a28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18004a75e
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.180036ad0
mov rbx, qword [0x180085d70]
lea rdx, str.FOV
lea rcx, [0x180078f50]
add rbx, 0x4c
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.fov_plus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004a7ce
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.FOV_
lea rcx, [0x180078f50]
add rbx, 0x50
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.fov_minus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004a83e
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.Yaw
lea rcx, [0x180078f50]
add rbx, 0x34
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.ya_plus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004a8ae
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.Yaw_
lea rcx, [0x180078f50]
add rbx, 0x38
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.ya_minus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004a91e
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.Pitch
lea rcx, [0x180078f50]
add rbx, 0x3c
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.pi_plus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004a98e
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.Pitch_
lea rcx, [0x180078f50]
add rbx, 0x40
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.pi_minus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004a9fe
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.Roll
lea rcx, [0x180078f50]
add rbx, 0x48
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.r_plus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004aa6e
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.Roll_
lea rcx, [0x180078f50]
add rbx, 0x44
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.r_minus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004aade
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.Forwards
lea rcx, [0x180078f50]
add rbx, 0x1c
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.x_plus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004ab4e
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.Backwards
lea rcx, [0x180078f50]
add rbx, 0x20
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.x_minus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004abbe
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.Left
lea rcx, [0x180078f50]
add rbx, 0x24
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.y_plus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004ac2e
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.Right
lea rcx, [0x180078f50]
add rbx, 0x28
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.y_minus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004ac9e
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, [0x180078860]
lea rcx, [0x180078f50]
add rbx, 0x2c
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.z_plus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004ad0e
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rbx, qword [0x180085d70]
lea rdx, str.Down
lea rcx, [0x180078f50]
add rbx, 0x30
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.z_minus
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004ad7e
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rax, qword [0x180085a28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18004adaa
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.180036ad0
lea rdx, str.Misc
lea rcx, [0x180078f50]
call fcn.180033810
mov rax, qword [0x180085a28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18004ade9
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.180036ad0
mov rbx, qword [0x180085d70]
lea rdx, str.Toggle_Free_Camera
lea rcx, [0x180078f50]
add rbx, 0x18
call fcn.180033810
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800156f0
mov ecx, dword [rbx]
call fcn.180046210
mov r8, rax
lea r9, str.fcam
lea rdx, str._skey_s
lea rcx, [0x180095ed0]
call fcn.18001e8a0
xor r8d, r8d
mov qword [rbp - 0x40], rsi
lea rdx, [rbp - 0x40]
lea rcx, [0x180095ed0]
call fcn.180034530
test al, al
je 0x18004ae59
mov byte [rdi + 2], 1
mov qword [rdi + 0x68], rbx
mov rax, qword [0x180085a28]
mov rcx, qword [rax + 0x3ed0]
cmp byte [rcx + 0xbb], sil
jne 0x18004ae85
mov eax, dword [rcx + 0x1b4]
movaps xmm1, xmm7
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.180036ad0
cmp byte [rdi + 2], sil
je 0x18004afd4
nop
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x18004aeae
inc esi
cmp esi, 0xff
jl 0x18004ae90
jmp 0x18004afd4
lea eax, [rsi - 8]
cmp eax, 0xf5
ja 0x18004afd4
mov rax, qword [rdi + 0x68]
mov dword [rax], esi
mov byte [rdi + 2], 0
jmp 0x18004afd4
lea rcx, str.These_settings_control_MK1Hook.ini_options._Any_changes_require_game_restart_to_take_effect.
call fcn.180033760
mov rdx, qword [0x180085d70]
lea rcx, str.Debug_Console
call fcn.180035aa0
mov rdx, qword [0x180085d70]
lea rcx, str.Disable_System_Log
add rdx, 4
call fcn.180035aa0
mov rdx, qword [0x180085d70]
lea rcx, str.60_FPS_Patch
add rdx, 2
call fcn.180035aa0
mov rdx, qword [0x180085d70]
cmp byte [rdx + 2], sil
je 0x18004afd4
add rdx, 3
lea rcx, str.Restrict_60_FPS_Patch_to_Invasions_only
call fcn.180035aa0
jmp 0x18004afd4
lea rcx, str.All_user_settings_are_saved_to_mk1hook_user.ini.
call fcn.180033760
lea rcx, str.Menu_Scale
call fcn.1800334c0
movaps xmm0, xmm7
call fcn.1800157a0
mov r8, qword [0x180085d70]
lea rax, str._.3f
xor r9d, r9d
mov dword [rsp + 0x30], 0x20000
mov qword [rsp + 0x28], rax
lea rcx, [0x180078f50]
add r8, 0x5c
mov qword [rsp + 0x20], rsi
lea edx, [r9 + 8]
call fcn.180038bd0
mov rcx, qword [0x180085a28]
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.180034530
test al, al
je 0x18004b022
mov rcx, qword [0x180085d38]
lea rdx, str.Settings_saved_to_MK1Hook.ini_and_mk1hook_user.ini_
mov dword [rcx + 0x804], 0x40200000
call fcn.180045d00
mov byte [0x1800859e2], 1
call fcn.18004d300
call fcn.18000d030
call fcn.180011e00
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.18004e500
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