Function at 0x1800a5430
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2d8
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
call fcn.1800de470
mov r12d, dword [0x1801ebe5c]
mov rax, qword gs:[0x58]
mov esi, 0x10
mov rdi, qword [rax + r12*8]
mov eax, dword [rdi + rsi]
cmp dword [0x180200c28], eax
jg 0x1800a6600
mov eax, dword [rdi + rsi]
cmp dword [0x180200c2c], eax
jg 0x1800a6636
mov eax, dword [rdi + rsi]
cmp dword [0x180200c30], eax
jg 0x1800a666c
mov eax, dword [rdi + rsi]
cmp dword [0x180200c34], eax
jg 0x1800a66a2
lea rdi, [0x1801c52b0]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.18001d6d0
mov rbx, qword [rax + 0x10]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1800a5514
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a550f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a550f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180111228
test rbx, rbx
je 0x1800a5525
lea rcx, str.deletelocation
call fcn.1800df380
mov r8d, 7
lea rcx, str.deletelocation
call fcn.1800dfa10
movss xmm6, dword [0x1801961d0]
test al, al
je 0x1800a568e
movups xmm0, xmmword [0x1801c52b0]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1801c52c0]
movaps xmmword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
lea rcx, str.Are_you_sure_you_want_to_delete__s_
call fcn.1800e8b00
mov rcx, qword [0x1801fbf58]
mov rax, qword [rcx + 0x3ea0]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ea0]
cmp byte [rax + 0x9b], 0
jne 0x1800a55af
mov qword [rbp + 0x220], 0
movaps xmm1, xmm6
lea rcx, [rbp + 0x220]
call fcn.1800ddea0
mov qword [rbp + 0x220], 0
xor r8d, r8d
lea rdx, [rbp + 0x220]
lea rcx, [0x180172988]
call fcn.1800e98a0
test al, al
je 0x1800a55fb
call fcn.18006d120
mov r8, rdi
mov rcx, rax
call fcn.18006edf0
xor r8d, r8d
lea rdx, [0x18014f5d1]
mov rcx, rdi
call fcn.180028310
call fcn.1800df870
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800de2a0
mov qword [rbp + 0x220], 0
xor r8d, r8d
lea rdx, [rbp + 0x220]
lea rcx, [0x18017298c]
call fcn.1800e98a0
test al, al
je 0x1800a5642
xor r8d, r8d
lea rdx, [0x18014f5d1]
mov rcx, rdi
call fcn.180028310
call fcn.1800df870
mov rbx, qword [0x1801fbf58]
mov rax, qword [rbx + 0x3ea0]
cmp qword [rbx + 0x40b0], rax
jne 0x1800a5672
cmp byte [rbx + 0x410d], 0
je 0x1800a5672
cmp dword [rbx + 0x40ec], 0
jne 0x1800a5672
or dword [rbx + 0x4110], 2
test dword [rax + 0xc], 0x1000000
je 0x1800a5682
mov byte [rbx + 0x3e2e], 1
call fcn.1800dbea0
mov byte [rbx + 0x3e2e], 0
mov rdi, qword [0x1801fbf58]
mov rcx, qword [rdi + 0x3ea0]
lea rbx, [rcx + 0x19c]
add rcx, 0x1a8
mov rdx, rbx
call fcn.1800e7590
mov dword [rbx], 0x43960000
and dword [rdi + 0x3f58], 0xfffffffe
lea rax, [rbp - 0x30]
mov qword [rbp + 0x220], rax
xor r13d, r13d
mov qword [rbp + 8], r13
lea rax, [rsp + 0x40]
mov qword [rbp + 0x220], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 8
mov qword [rsp + 0x58], 0xf
movabs rcx, 0x79726f6765746143
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x48], r13b
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], 8
mov qword [rbp - 0x50], 0xf
mov qword [rbp - 0x68], rcx
mov byte [rbp - 0x60], r13b
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r15, str.Default
mov r9, r15
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0xf0]
call fcn.18008e950
nop
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx]
nop
lea rcx, [rbp + 0xf0]
call fcn.180099360
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x220], rax
mov qword [rbp + 0xe8], r13
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x220], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x228], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0xc
mov qword [rsp + 0x58], 0xf
movsd xmm0, qword [str.New_location]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x180172980]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], r13b
lea rax, [rsp + 0x40]
mov qword [rbp + 0x228], rax
mov word [rbp - 0x5a], r13w
mov qword [rbp - 0x58], 0xd
mov qword [rbp - 0x50], 0xf
movsd xmm0, qword [str.Location_name]
movsd qword [rbp - 0x68], xmm0
mov eax, dword [0x1801729d0]
mov dword [rbp - 0x60], eax
movzx eax, byte [0x1801729d4]
mov byte [rbp - 0x5c], al
mov byte [rbp - 0x5b], r13b
lea rax, [rbp - 0x68]
mov qword [rbp + 0x230], rax
lea rax, vtable.YimMenu::InputTextWithHint.0
mov qword [rbp + 0x10], rax
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x18]
call fcn.18001d6d0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x38]
call fcn.18001d6d0
nop
lea rax, [0x1801c4450]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x60], r13d
lea rax, [rbp + 0x68]
mov qword [rbp + 0x238], rax
mov qword [rbp + 0xa0], r13
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x1800a5891
mov rax, qword [rcx]
lea rdx, [rbp + 0x68]
call qword [rax]
mov qword [rbp + 0xa0], rax
mov rcx, qword [rbp + 0xe8]
mov qword [rbp + 0xa8], r13
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1800a58dd
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a58d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a58d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180111228
mov rcx, qword [rbp + 0xe8]
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1800a5934
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a5928
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a5928
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180111228
mov rcx, qword [rbp + 0xe8]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
test rcx, rcx
je 0x1800a5966
mov rax, qword [rcx]
lea rdx, [rbp + 0xb0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0xe8], r13
lea rcx, [rbp + 0x10]
mov rax, qword [rbp + 0x10]
call qword [rax]
nop
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x1800a5994
mov rax, qword [rcx]
lea rdx, [rbp + 0x68]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0xa0], r13
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x1800a59cb
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a59c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5a0e
call fcn.180111228
movdqa xmm0, xmmword [0x180196230]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x1800a5a22
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a5a15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a5a15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180111228
movdqa xmm0, xmmword [0x180196230]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov rcx, qword [0x1801fbf58]
mov rax, qword [rcx + 0x3ea0]
mov byte [rax + 0x98], 1
mov r8, qword [rcx + 0x3ea0]
movsxd rdx, dword [r8 + 0x1a8]
mov rax, qword [r8 + 0x1b0]
mov ecx, dword [rax + rdx*4 - 4]
mov dword [r8 + 0x19c], ecx
lea eax, [rdx - 1]
mov dword [r8 + 0x1a8], eax
mov qword [rbp + 0x220], 0
xor r8d, r8d
lea rdx, [rbp + 0x220]
lea rcx, str.Save_current_location
call fcn.1800e98a0
test al, al
je 0x1800a5aaf
lea rax, vtable.std::_Func_impl_no_alloc_class__void___cdecl_YimMenu::Submenus::RenderCustomTeleport_void_::_16::_lambda_1___void___.0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x40]
call fcn.18001ab40
mov rax, qword [0x1801fbf58]
mov rax, qword [rax + 0x3ea0]
cmp byte [rax + 0x9b], 0
jne 0x1800a5ad8
mov eax, dword [rax + 0x194]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800eb470
lea rcx, str.Double_click_to_teleport_nShift_click_to_delete
call fcn.1800e8b00
mov rcx, qword [0x1801fbf58]
mov rax, qword [rcx + 0x3ea0]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ea0]
cmp byte [rax + 0x9b], 0
jne 0x1800a5b23
mov qword [rbp + 0x220], 0
movaps xmm1, xmm6
lea rcx, [rbp + 0x220]
call fcn.1800ddea0
lea rax, [rbp - 0x30]
mov qword [rbp + 0x220], rax
mov qword [rbp + 8], r13
lea rax, [rsp + 0x40]
mov qword [rbp + 0x220], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 6
mov qword [rsp + 0x58], 0xf
mov eax, dword [str.Search]
mov dword [rsp + 0x40], eax
movzx eax, word [0x1801729c4]
mov word [rsp + 0x44], ax
mov byte [rsp + 0x46], 0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], 8
mov qword [rbp - 0x50], 0xf
movabs rax, 0x7265746c69662323
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x60], 0
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, [0x1801c4470]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0xf0]
call fcn.18008e950
nop
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx]
nop
lea rcx, [rbp + 0xf0]
call fcn.180099360
call fcn.1800de470
lea rcx, str.Categories
call fcn.1800e8b00
mov dword [rbp + 0x220], 0x43480000
mov dword [rbp + 0x224], 0xbf800000
lea rdx, [rbp + 0x220]
lea rcx, str.categories
call fcn.1800f4650
test al, al
je 0x1800a5d27
call fcn.18006d120
mov rdi, qword [rax]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1800a5d1d
mov qword [rbp + 0x220], 0
nop dword [rax]
lea rsi, [rbx + 0x20]
mov rdx, r15
cmp qword [0x1801c4448], 0xf
cmova rdx, qword [str.Default]
mov r8, qword [rsi + 0x10]
mov rcx, rsi
mov r14, qword [rsi + 0x18]
cmp r14, 0xf
jbe 0x1800a5c6b
mov rcx, qword [rsi]
cmp r8, qword [0x1801c4440]
jne 0x1800a5c81
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800a5c81
mov dl, 1
jmp 0x1800a5c83
xor dl, dl
mov rcx, rsi
cmp r14, 0xf
jbe 0x1800a5c8f
mov rcx, qword [rsi]
lea r9, [rbp + 0x220]
xor r8d, r8d
call fcn.1800f3dc0
test al, al
je 0x1800a5cc0
cmp r15, rsi
je 0x1800a5cc0
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x1800a5cb5
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, r15
call fcn.180028310
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1800a5cec
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800a5ce7
cmp rbx, qword [rax + 0x10]
jne 0x1800a5ce7
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800a5cd4
mov rbx, rax
jmp 0x1800a5d0f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1800a5d0f
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1800a5d00
cmp rbx, rdi
jne 0x1800a5c40
mov esi, 0x10
call fcn.1800d6ce0
call fcn.1800de5a0
call fcn.1800de5a0
mov rax, qword [0x1801fbf58]
mov rcx, qword [rax + 0x3ea0]
cmp byte [rcx + 0x9b], 0
jne 0x1800a5d8e
movss xmm1, dword [rax + 0x382c]
addss xmm1, dword [rcx + 0xe8]
movss xmm0, dword [rcx + 0xec]
movss dword [rcx + 0xe0], xmm1
movss dword [rcx + 0xe4], xmm0
movsd xmm0, qword [rcx + 0x110]
movsd qword [rcx + 0x108], xmm0
mov eax, dword [rcx + 0x11c]
mov dword [rcx + 0x118], eax
mov byte [rcx + 0x120], 1
call fcn.1800de470
lea rcx, str.Locations
call fcn.1800e8b00
mov dword [rbp + 0x220], 0x43480000
mov dword [rbp + 0x224], 0xbf800000
lea rdx, [rbp + 0x220]
lea rcx, str.Telelocations
call fcn.1800f4650
test al, al
je 0x1800a6564
mov rax, qword gs:[0x58]
mov edi, esi
mov rsi, qword [rax + r12*8]
lea r12, [0x1801ed300]
mov ebx, dword [0x1801ed2fc]
cmp ebx, dword [rsi + rdi]
jg 0x1800a66d8
lea rdx, [rbp + 0x228]
mov rcx, r12
call fcn.18006f4d0
mov r14, rax
cmp ebx, dword [rsi + rdi]
jg 0x1800a6599
mov rax, qword [0x1801ed300]
cmp qword [r14], rax
je 0x1800a655a
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
movabs r12, 0x6db6db6db6db6db7
cmp qword [0x1801c4480], 0
je 0x1800a5f56
lea rdx, [0x1801c4470]
lea rcx, [rsp + 0x40]
call fcn.18001d6d0
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.18006d1d0
mov rdi, rax
lea rax, [rbp - 0x80]
cmp rax, rdi
je 0x1800a5f48
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x1800a5f26
mov rsi, qword [rbp - 0x78]
cmp rbx, rsi
je 0x1800a5ed7
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1800a5ebb
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800a5eb6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800a5f0b
mov rcx, r8
call fcn.180111228
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rbx, 0x38
cmp rbx, rsi
jne 0x1800a5e85
mov rbx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x70]
sub rax, rbx
sar rax, 3
imul rax, r12
imul rdx, rax, 0x38
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800a5f12
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a5f12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180111228
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov rax, qword [rdi]
mov qword [rbp - 0x80], rax
mov rax, qword [rdi + 8]
mov qword [rbp - 0x78], rax
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x70], rax
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
lea rcx, [rbp - 0x68]
call fcn.18006f6e0
jmp 0x1800a5ff0
call fcn.18006d120
mov r8, r15
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.180071080
mov rbx, qword [rbp - 0x58]
cmp byte [rbx + 0x19], 0
jne 0x1800a5fb5
lea rdx, [rbx + 0x20]
mov rdi, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800a5f86
mov rdx, qword [rdx]
cmp qword [0x1801c4448], 0xf
cmova r15, qword [str.Default]
mov rsi, qword [0x1801c4440]
mov r8, rsi
cmp rdi, rsi
cmovb r8, rdi
mov rcx, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800a5fc3
jns 0x1800a5fc8
lea rcx, str.invalid_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
cmp rsi, rdi
jb 0x1800a5fb5
lea r8, [rbx + 0x40]
lea rax, [rbp - 0x80]
cmp rax, r8
je 0x1800a5ff0
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
sub r8, rdx
sar r8, 3
imul r8, r12
lea rcx, [rbp - 0x80]
call fcn.1800a77d0
mov r14, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
cmp rbx, r14
je 0x1800a649a
mov qword [rbp + 0x220], 0
lea rsi, [rbx + 0x30]
lea r12, vtable.std::_Func_impl_no_alloc_class__void___cdecl_YimMenu::Submenus::RenderCustomTeleport_void_::_50::_lambda_2___void___.0
movsd xmm9, qword [0x180196108]
lea r15, [0x1801c52b0]
lea rcx, [rbp - 0x68]
call fcn.1800a50d0
nop
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1800a603f
mov rax, qword [rax]
mov r8, qword [rsi - 0x20]
lea rbx, [rsi - 0x30]
mov rcx, rbx
mov rdi, qword [rsi - 0x18]
cmp rdi, 0xf
jbe 0x1800a6057
mov rcx, qword [rbx]
cmp r8, rdx
jne 0x1800a606c
mov rdx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800a606c
mov dl, 1
jmp 0x1800a606e
xor dl, dl
cmp rdi, 0xf
jbe 0x1800a6077
mov rbx, qword [rbx]
lea r9, [rbp + 0x220]
mov r8d, 4
mov rcx, rbx
call fcn.1800f3dc0
movzx ebx, al
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1800a60ca
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a60c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a653d
call fcn.180111228
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
test bl, bl
je 0x1800a6247
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800a6168
lea rax, [rsi - 0x30]
cmp r15, rax
je 0x1800a6116
lea rdx, [rsi - 0x30]
cmp qword [rsi - 0x18], 0xf
jbe 0x1800a610a
mov rdx, qword [rsi - 0x30]
mov r8, qword [rsi - 0x20]
mov rcx, r15
call fcn.180028310
movss xmm0, dword [rsi - 0x10]
movss dword [0x1801c52d0], xmm0
movss xmm1, dword [rsi - 0xc]
movss dword [0x1801c52d4], xmm1
movss xmm0, dword [rsi - 8]
movss dword [0x1801c52d8], xmm0
movss xmm1, dword [rsi - 4]
movss dword [0x1801c52dc], xmm1
movss xmm0, dword [rsi]
movss dword [0x1801c52e0], xmm0
movss xmm1, dword [rsi + 4]
movss dword [0x1801c52e4], xmm1
jmp 0x1800a6247
mov rax, qword [0x1801fbf58]
cmp word [rax + 0x3742], 2
jne 0x1800a6247
lea rax, [rbp - 0x30]
mov qword [rbp + 0x228], rax
lea rdx, [rsi - 0x30]
lea rcx, [rsp + 0x40]
call fcn.18001d6d0
movups xmm0, xmmword [rsi - 0x10]
movups xmmword [rsp + 0x60], xmm0
movss xmm0, dword [rsi]
movss dword [rsp + 0x70], xmm0
movss xmm1, dword [rsi + 4]
movss dword [rsp + 0x74], xmm1
mov qword [rbp + 8], r13
mov ecx, 0x40
call fcn.180111264
mov rbx, rax
mov qword [rbp + 0x230], rax
mov qword [rax], r12
lea rdx, [rsp + 0x40]
lea rcx, [rax + 8]
call fcn.18001d6d0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x28], xmm0
movss xmm0, dword [rsp + 0x70]
movss dword [rbx + 0x38], xmm0
movss xmm1, dword [rsp + 0x74]
movss dword [rbx + 0x3c], xmm1
mov qword [rbp + 8], rbx
lea rcx, [rbp - 0x30]
call fcn.18001ab40
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1800a6247
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a6242
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a6544
call fcn.180111228
mov rcx, qword [0x1801fbf58]
mov r8, qword [rcx + 0x3ea0]
cmp byte [rcx + 0x40f3], 0
je 0x1800a6293
cmp byte [rcx + 0x40f2], 0
jne 0x1800a6293
test byte [rcx + 0x3f70], 4
jne 0x1800a6477
mov eax, dword [rcx + 0x40b8]
cmp eax, dword [rcx + 0x3f6c]
jne 0x1800a6477
test eax, eax
jne 0x1800a636e
jmp 0x1800a6477
mov eax, dword [rcx + 0x3f74]
test al, 1
je 0x1800a6477
cmp qword [rcx + 0x3ea8], r8
je 0x1800a62b2
test al, al
jns 0x1800a6477
mov eax, dword [rcx + 0x3eec]
test eax, eax
je 0x1800a62d7
cmp eax, dword [rcx + 0x3f6c]
je 0x1800a62d7
cmp byte [rcx + 0x3ef9], 0
jne 0x1800a62d7
cmp eax, dword [r8 + 0x5c]
jne 0x1800a6477
mov rax, qword [0x1801fbf58]
mov rdx, qword [rax + 0x40b0]
test rdx, rdx
je 0x1800a6347
mov rdx, qword [rdx + 0x358]
test rdx, rdx
je 0x1800a6347
cmp byte [rdx + 0x97], 0
je 0x1800a6347
mov rax, qword [r8 + 0x358]
cmp rdx, rax
je 0x1800a6347
mov r9d, dword [rdx + 0xc]
bt r9d, 0x1b
jb 0x1800a631d
bt r9d, 0x1a
jae 0x1800a6347
cmp qword [rax + 0x358], rdx
je 0x1800a6347
cmp rax, rdx
je 0x1800a6347
mov rax, qword [rax + 0x350]
test rax, rax
jne 0x1800a6326
test dword [rcx + 0x3f70], 0x100
je 0x1800a6477
test byte [rcx + 0x3f70], 4
jne 0x1800a6477
mov eax, dword [r8 + 0x5c]
cmp dword [rcx + 0x3f6c], eax
jne 0x1800a636e
cmp byte [r8 + 0x98], 0
jne 0x1800a6477
xor ecx, ecx
call fcn.1800df0e0
cmp qword [rsi - 0x20], 0x1b
jbe 0x1800a6390
lea rcx, [rsi - 0x30]
cmp qword [rsi - 0x18], 0xf
jbe 0x1800a638b
mov rcx, qword [rsi - 0x30]
call fcn.1800e8b00
lea rdx, [rsi - 0x30]
lea rcx, [rsp + 0x40]
call fcn.18001d6d0
movss xmm7, dword [rsi - 0x10]
movss dword [rsp + 0x60], xmm7
subss xmm7, dword [0x1801fb3d8]
movss xmm0, dword [rsi - 0xc]
subss xmm0, dword [0x1801fb3e0]
movss xmm6, dword [rsi - 8]
subss xmm6, dword [0x1801fb3e8]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm8, xmm0
cvtps2pd xmm0, xmm7
movaps xmm1, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
cvtps2pd xmm0, xmm6
movaps xmm1, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm8
ja 0x1800a6411
xorps xmm0, xmm0
sqrtsd xmm0, xmm8
jmp 0x1800a641a
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1800a645e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a6459
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a654b
call fcn.180111228
cvtps2pd xmm1, xmm6
movq rdx, xmm1
lea rcx, str.Distance:__f
call fcn.1800e8b00
call fcn.1800dbea0
add rsi, 0x38
lea rax, [rsi - 0x30]
cmp rax, r14
jne 0x1800a6027
mov r14, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
movabs r12, 0x6db6db6db6db6db7
test rbx, rbx
je 0x1800a655a
cmp rbx, r14
je 0x1800a6502
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1800a64e6
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1800a64e1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800a6536
mov rcx, r8
call fcn.180111228
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rbx, 0x38
cmp rbx, r14
jne 0x1800a64b0
mov rbx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x70]
sub rax, rbx
sar rax, 3
imul rax, r12
imul rdx, rax, 0x38
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800a6552
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a6552
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call fcn.180111228
call fcn.1800d6ce0
call fcn.1800de5a0
call fcn.1800de5a0
lea r11, [rsp + 0x2d8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.1800de5a0
lea rcx, [0x1801ed2fc]
call fcn.1801111b0
cmp dword [0x1801ed2fc], 0xffffffff
jne 0x1800a5e0e
mov qword [0x1801ed300], r13
mov qword [0x1801ed308], r13
mov ecx, 0x58
call fcn.180111264
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1801ed300], rax
lea rcx, [0x18012b910]
call fcn.1801110f0
nop
lea rcx, [0x1801ed2fc]
call fcn.180111144
jmp 0x1800a5e0e
lea rcx, [0x180200c28]
call fcn.1801111b0
cmp dword [0x180200c28], 0xffffffff
jne 0x1800a548f
lea rcx, [0x180130580]
call fcn.1801110f0
lea rcx, [0x180200c28]
call fcn.180111144
jmp 0x1800a548f
lea rcx, [0x180200c2c]
call fcn.1801111b0
cmp dword [0x180200c2c], 0xffffffff
jne 0x1800a549e
lea rcx, [0x180130510]
call fcn.1801110f0
lea rcx, [0x180200c2c]
call fcn.180111144
jmp 0x1800a549e
lea rcx, [0x180200c30]
call fcn.1801111b0
cmp dword [0x180200c30], 0xffffffff
jne 0x1800a54ad
lea rcx, [0x1801304a0]
call fcn.1801110f0
lea rcx, [0x180200c30]
call fcn.180111144
jmp 0x1800a54ad
lea rcx, [0x180200c34]
call fcn.1801111b0
cmp dword [0x180200c34], 0xffffffff
jne 0x1800a54bc
lea rcx, [0x180130430]
call fcn.1801110f0
lea rcx, [0x180200c34]
call fcn.180111144
jmp 0x1800a54bc
lea rcx, [0x1801ed2fc]
call fcn.1801111b0
mov ebx, dword [0x1801ed2fc]
cmp ebx, 0xffffffff
jne 0x1800a5df3
mov qword [0x1801ed300], r13
mov qword [0x1801ed308], r13
mov ecx, 0x58
call fcn.180111264
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1801ed300], rax
lea rcx, [0x18012b910]
call fcn.1801110f0
nop
lea rcx, [0x1801ed2fc]
call fcn.180111144
mov ebx, dword [0x1801ed2fc]
jmp 0x1800a5df3
jmp 0x1800a5430