Function at 0x1400b6b80
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x360]
sub rsp, 0x460
movaps xmmword [rsp + 0x450], xmm6
mov rax, qword [0x14014ce80]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov r14, rdx
mov rdi, rcx
xor r13d, r13d
mov rax, qword [0x140150d70]
cmp byte [rax + 0x110], r13b
je 0x1400b78e9
movss xmm1, dword [rcx + 0x1c]
movss xmm0, dword [rcx + 0x18]
movss dword [rax + 0x100], xmm0
movss dword [rax + 0x104], xmm1
movss xmm2, dword [rdx + 0x1c]
cvtps2pd xmm2, xmm2
movss xmm1, dword [rdx + 0x18]
cvtps2pd xmm1, xmm1
movq r8, xmm2
movq rdx, xmm1
lea rcx, str._SERVER_:_Local_Pos:__.0f__.0f_n
call fcn.1400c9ab0
cmp byte [0x1401507c3], r13b
je 0x1400b6cb0
mov eax, dword [rdi + 0xc]
sub eax, 0xa20
test eax, 0xffffffef
jne 0x1400b6cb0
mov ebx, dword [rdi + 0x30]
mov dword [rbp + 0x170], ebx
mov esi, dword [rdi + 0x2c]
mov dword [rbp + 0x110], esi
lea r15, reloc.WS2_32.dll_bind
mov qword [rbp - 0x70], r15
mov rcx, r15
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400b83c1
cmp dword [0x14014a17c], 0x7fffffff
je 0x1400b83cc
mov rdx, qword [0x140150a00]
cmp rdx, qword [0x140150a08]
je 0x1400b6c8d
mov dword [rdx], esi
mov dword [rdx + 4], ebx
add qword [0x140150a00], 8
jmp 0x1400b6ca8
lea r9, [rbp + 0x170]
lea r8, [rbp + 0x110]
lea rcx, [0x1401509f8]
call fcn.140014b60
nop
mov rcx, r15
call sub.MSVCP140.dll__Mtx_unlock
cmp byte [0x140151a46], 1
jne 0x1400b7678
mov rax, qword [0x140150d70]
movss xmm0, dword [rax + 0x100]
mulss xmm0, dword [0x140128784]
cvttss2si ebx, xmm0
movss xmm0, dword [rax + 0x104]
mulss xmm0, dword [0x140128784]
cvttss2si esi, xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.OnNameChanged
lea rcx, [rsp + 0x48]
call fcn.1400139b0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x180]
call fcn.140028910
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400b6d67
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b6d62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b6d62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
mov rdx, qword [0x140150d70]
mov edx, dword [rdx + 0xfc]
lea rcx, [rbp + 0xd0]
call fcn.14000b580
mov r12, rax
mov rdx, qword [0x140150d70]
mov edx, dword [rdx + 0xf8]
lea rcx, [rbp - 0x50]
call fcn.14000b580
mov r15, rax
mov edx, esi
lea rcx, [rbp + 0x30]
call fcn.14000b580
mov rsi, rax
mov edx, ebx
lea rcx, [rbp + 0x130]
call fcn.14000b580
mov rbx, rax
mov r8, qword [0x140150d70]
add r8, 0xb8
mov rdx, qword [r8 + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, 4
jb 0x1400b83e1
mov r9, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x1400b6df1
mov r9, qword [r8]
mov qword [rsp + 0x30], 4
lea rax, str.__4_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400072d0
nop
mov r9, rbx
lea r8, [rbp - 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.1400070e0
nop
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400b6e6c
lea rax, [rcx + 1]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x48]
mov word [rax + rcx], 0x2c
lea rax, [rsp + 0x48]
jmp 0x1400b6e8e
mov qword [rsp + 0x20], 1
lea r9, [0x140118854]
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.140006f10
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rsi
lea r8, [rbp + 0xb0]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.1400070e0
nop
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400b6f06
lea rax, [rcx + 1]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x68]
mov word [rax + rcx], 0x5d
lea rax, [rsp + 0x68]
jmp 0x1400b6f28
mov qword [rsp + 0x20], 1
lea r9, [0x140116934]
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x68]
call fcn.140006f10
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x120], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rcx, qword [rbp + 0x120]
mov rdx, qword [rbp + 0x128]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x1400b6fae
lea rax, [rcx + 4]
mov qword [rbp + 0x120], rax
lea rax, [rbp + 0x110]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x110]
mov dword [rax + rcx], 0x5b346020
mov byte [rax + rcx + 4], 0
lea rax, [rbp + 0x110]
jmp 0x1400b6fd2
mov qword [rsp + 0x20], 4
lea r9, str.__4_
xor r8d, r8d
mov edx, 4
lea rcx, [rbp + 0x110]
call fcn.140006f10
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, r15
lea r8, [rbp + 0x90]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.1400070e0
nop
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x1400b705a
lea rax, [rcx + 3]
mov qword [rbp + 0x20], rax
lea rbx, [rbp + 0x10]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x10]
add rbx, rcx
mov r8d, 3
lea rdx, [0x140124208]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
lea rax, [rbp + 0x10]
jmp 0x1400b707b
mov qword [rsp + 0x20], 3
lea r9, [0x140124208]
xor r8d, r8d
mov edx, 3
lea rcx, [rbp + 0x10]
call fcn.140006f10
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x1400b70e3
lea rax, [rcx + 4]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x70]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x70]
mov dword [rax + rcx], 0x5b236020
mov byte [rax + rcx + 4], 0
lea rax, [rbp - 0x70]
jmp 0x1400b7104
mov qword [rsp + 0x20], 4
lea r9, [0x140121454]
xor r8d, r8d
mov edx, 4
lea rcx, [rbp - 0x70]
call fcn.140006f10
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, r12
lea r8, [rbp + 0x70]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400070e0
nop
mov rcx, qword [rbp]
mov rdx, qword [rbp + 8]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x1400b7186
lea rax, [rcx + 3]
mov qword [rbp], rax
lea rbx, [rbp - 0x10]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x10]
add rbx, rcx
mov r8d, 3
lea rdx, [0x140124208]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
lea rax, [rbp - 0x10]
jmp 0x1400b71a7
mov qword [rsp + 0x20], 3
lea r9, [0x140124208]
xor r8d, r8d
mov edx, 3
lea rcx, [rbp - 0x10]
call fcn.140006f10
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rbp + 0x1c0], 2
lea rdx, [rbp + 0x50]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x1e0]
call fcn.1400458d0
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x1400b723f
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7239
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b7239
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400b727d
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7278
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b7278
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
movdqa xmm6, xmmword [0x140114df0]
movdqu xmmword [rbp], xmm6
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x1400b72d0
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b72ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b72ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400b730e
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7309
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b7309
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
movdqu xmmword [rbp - 0x60], xmm6
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x1400b7355
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7350
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b7350
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
movdqu xmmword [rbp + 0x20], xmm6
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x1400b73a3
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b739d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b739d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x1400b73e7
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b73e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b73e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
movdqu xmmword [rbp + 0x120], xmm6
mov byte [rbp + 0x110], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400b7435
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7430
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b7430
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
movdqu xmmword [rsp + 0x78], xmm6
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x1400b7485
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b747f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b747f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400b74c5
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b74c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b74c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
movdqu xmmword [rsp + 0x58], xmm6
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400b750f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7509
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b7509
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0xf
jbe 0x1400b7553
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b754e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b754e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
movdqu xmmword [rbp + 0x140], xmm6
mov byte [rbp + 0x130], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x1400b75a0
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b759b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b759b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
movdqu xmmword [rbp + 0x40], xmm6
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400b75e7
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b75e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b75e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
movdqu xmmword [rbp - 0x40], xmm6
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x1400b7634
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b762f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b762f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
mov dword [rsp + 0x20], 0xffffffff
mov rcx, qword [0x140150d70]
mov r9d, dword [rcx + 0xf8]
lea r8, [rbp + 0x180]
mov dl, 1
call fcn.1400d5340
nop
lea r9, [fcn.14002c630]
mov edx, 0x40
mov r8d, 7
lea rcx, [rbp + 0x180]
call fcn.1400f03fc
nop
cmp byte [r14], 0
jne 0x1400b7692
mov ecx, dword [r14 + 0xc]
lea eax, [rcx - 0x20]
test eax, 0xffffffef
jne 0x1400b7692
mov dword [0x14014a2d8], ecx
mov ecx, select
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [0x1401506e9], 0
je 0x1400b76cb
test al, al
je 0x1400b76cb
mov ecx, dword [rdi + 0x2c]
cmp ecx, 0xffffffff
je 0x1400b76cb
mov edx, dword [rdi + 0x30]
cmp edx, 0xffffffff
je 0x1400b76cb
call fcn.1400c9c30
mov al, 1
jmp 0x1400b78eb
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
movzx esi, ax
shr esi, 0xf
and sil, 1
cmp byte [0x1401506e7], 0
je 0x1400b7707
test sil, sil
je 0x1400b7707
cmp byte [0x1401507ab], 0
sete cl
mov byte [0x1401507ab], cl
test cl, cl
je 0x1400b7723
mov r8b, 1
jmp 0x1400b7711
mov byte [0x1401507ab], 0
xor r8d, r8d
mov rcx, qword [0x140150d70]
mov edx, dword [rcx + 0xf8]
call fcn.1400d5650
cmp byte [0x14015069c], 0
je 0x1400b7747
mov eax, dword [rdi + 0x14]
mov dword [0x14014a0f4], eax
mov eax, dword [rdi + 0x2c]
mov dword [0x1401506a0], eax
mov eax, dword [rdi + 0x30]
mov dword [0x1401506a4], eax
mov ecx, dword [0x140189b38]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140151860], ecx
jg 0x1400b83e7
cmp byte [0x1401506e7], 0
je 0x1400b791d
test sil, sil
je 0x1400b791d
cmp dword [rdi + 0x2c], 0xffffffff
je 0x1400b791d
cmp dword [rdi + 0x30], 0xffffffff
je 0x1400b791d
lea rcx, [rbp + 0x110]
call fcn.1400a4b90
mov rax, qword [rbp + 0x110]
sub rax, qword [0x140151858]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1401287c8]
mulsd xmm1, qword [0x1401287b8]
movsd xmm0, qword [0x1401287a8]
comisd xmm0, xmm1
ja 0x1400b7805
mov r8d, dword [rdi + 0x30]
mov edx, dword [rdi + 0x2c]
mov rcx, qword [0x140150d70]
call fcn.1400ccdc0
lea rcx, [rbp - 0x70]
call fcn.1400a4b90
mov rcx, qword [rax]
mov qword [0x140151858], rcx
mov al, 1
jmp 0x1400b78eb
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.OnTextOverlay
lea rcx, [rbp - 0x50]
call fcn.1400139b0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x180]
call fcn.140028910
nop
lea rcx, [rbp - 0x50]
call fcn.1400074e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov r8d, 0x2d
lea rdx, str._4Wait_2_Second_Before__9Pathfinding__4Again.
lea rcx, [rsp + 0x48]
call fcn.1400139b0
nop
mov dword [rbp + 0x1c0], 2
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rbp + 0x1e0]
call fcn.1400458d0
nop
lea rcx, [rsp + 0x48]
call fcn.1400074e0
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 0xffffffff
lea r8, [rbp + 0x180]
mov dl, 1
mov rcx, qword [0x140150d70]
call fcn.1400d5340
nop
lea r9, [fcn.14002c630]
mov edx, 0x40
mov r8d, 7
lea rcx, [rbp + 0x180]
call fcn.1400f03fc
nop
xor al, al
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.1400f0340
mov rbx, qword [rsp + 0x4b0]
movaps xmm6, xmmword [rsp + 0x450]
add rsp, 0x460
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp byte [0x14015072e], 0
je 0x1400b79be
mov eax, dword [rdi + 0xc]
sub eax, 0xa20
test eax, 0xffffffef
jne 0x1400b79be
mov word [rbp + 0xd1], 0
mov byte [rbp + 0xd3], 0
mov qword [rbp + 0xd4], r13
mov qword [rbp + 0xdc], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov dword [rbp + 0xf8], 0
xor eax, eax
mov qword [rbp + 0x104], rax
mov byte [rbp + 0xd0], 3
mov dword [rbp + 0xe4], WSAGetLastError
mov eax, dword [rdi + 0x2c]
mov dword [rbp + 0xfc], eax
mov eax, dword [rdi + 0x30]
mov dword [rbp + 0x100], eax
mov dword [rsp + 0x20], 0x3c
lea r9, [rbp + 0xd0]
mov r8d, 4
mov dl, 1
mov rcx, qword [0x140150d70]
call fcn.1400d54c0
movzx ecx, byte [0x140150731]
test cl, cl
je 0x1400b7b00
mov eax, dword [rdi + 0xc]
sub eax, 0xa20
test eax, 0xffffffef
jne 0x1400b7a65
mov word [rbp + 0xd1], 0
mov byte [rbp + 0xd3], 0
mov qword [rbp + 0xd4], r13
mov qword [rbp + 0xdc], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov dword [rbp + 0xf8], 0
xor eax, eax
mov qword [rbp + 0x104], rax
mov byte [rbp + 0xd0], 3
mov dword [rbp + 0xe4], r13d
mov eax, dword [rdi + 0x2c]
mov dword [rbp + 0xfc], eax
mov eax, dword [rdi + 0x30]
mov dword [rbp + 0x100], eax
mov dword [rsp + 0x20], 0x3c
lea r9, [rbp + 0xd0]
mov r8d, 4
mov dl, 1
mov rcx, qword [0x140150d70]
call fcn.1400d54c0
movzx ecx, byte [0x140150731]
test cl, cl
je 0x1400b7b00
mov eax, dword [rdi + 0xc]
sub eax, 0xc20
test eax, 0xffffffef
jne 0x1400b7b00
mov word [rbp + 0xd1], 0
mov byte [rbp + 0xd3], 0
mov qword [rbp + 0xd4], r13
mov qword [rbp + 0xdc], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov dword [rbp + 0xf8], 0
xor eax, eax
mov qword [rbp + 0x104], rax
mov byte [rbp + 0xd0], 3
mov eax, dword [rdi + 0x14]
mov dword [rbp + 0xe4], eax
mov eax, dword [rdi + 0x2c]
mov dword [rbp + 0xfc], eax
mov eax, dword [rdi + 0x30]
mov dword [rbp + 0x100], eax
mov dword [rsp + 0x20], 0x3c
lea r9, [rbp + 0xd0]
mov r8d, 4
mov dl, 1
mov rcx, qword [0x140150d70]
call fcn.1400d54c0
cmp byte [0x1401507b8], 0
je 0x1400b814f
mov eax, dword [rdi + 0xc]
sub eax, 0xc20
test eax, 0xffffffef
jne 0x1400b814f
cmp byte [0x1401507b7], 0
je 0x1400b7f1e
mov eax, dword [reloc.WS2_32.dll_bind]
cmp eax, dword [rdi + 0x14]
jne 0x1400b7d2e
mov ecx, dword [0x14014a124]
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x131], xmm0
mov word [rbp + 0x141], r13w
mov byte [rbp + 0x143], 0
mov qword [rbp + 0x150], r13
mov dword [rbp + 0x158], r13d
mov qword [rbp + 0x164], r13
mov byte [rbp + 0x130], 3
mov eax, dword [0x14014a128]
mov dword [rbp + 0x144], eax
mov rcx, qword [0x140150d70]
movss xmm0, dword [rcx + 0x100]
movss dword [rbp + 0x148], xmm0
movss xmm1, dword [rcx + 0x104]
movss dword [rbp + 0x14c], xmm1
mov eax, dword [rdi + 0x2c]
mov dword [rbp + 0x15c], eax
mov eax, dword [rdi + 0x30]
mov dword [rbp + 0x160], eax
mov dword [rsp + 0x20], 0x3c
lea r9, [rbp + 0x130]
xor edx, edx
mov r8d, 4
call fcn.1400d54c0
mov ecx, dword [0x14014a124]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [rdi + 0x30]
lea rcx, [rbp + 0x30]
call fcn.1400b90e0
mov rbx, rax
mov edx, dword [rdi + 0x2c]
lea rcx, [rbp - 0x50]
call fcn.1400b90e0
nop
mov r9d, 3
lea r8, [0x140124258]
xor edx, edx
mov rcx, rax
call fcn.14009f750
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x140118854]
lea rcx, [rsp + 0x68]
call fcn.14000ae20
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rbx
lea r8, [rbp - 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0xd0]
call fcn.1400070e0
nop
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.__Sent_Place_
lea rcx, [rbp + 0xd0]
call fcn.14000ae20
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x48]
call fcn.1400ca380
nop
lea rcx, [rbp + 0xd0]
call fcn.1400074e0
nop
lea rcx, [rbp - 0x30]
call fcn.1400074e0
nop
lea rcx, [rsp + 0x68]
call fcn.1400074e0
nop
lea rcx, [rbp - 0x50]
call fcn.1400074e0
nop
lea rcx, [rbp + 0x30]
call fcn.1400074e0
mov eax, dword [reloc.WS2_32.dll_bind]
test eax, eax
jne 0x1400b814f
mov ecx, dword [0x14014a124]
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x131], xmm0
mov word [rbp + 0x141], r13w
mov byte [rbp + 0x143], 0
mov qword [rbp + 0x150], r13
mov dword [rbp + 0x158], r13d
mov qword [rbp + 0x164], r13
mov byte [rbp + 0x130], 3
mov eax, dword [0x14014a128]
mov dword [rbp + 0x144], eax
mov rcx, qword [0x140150d70]
movss xmm0, dword [rcx + 0x100]
movss dword [rbp + 0x148], xmm0
movss xmm1, dword [rcx + 0x104]
movss dword [rbp + 0x14c], xmm1
mov eax, dword [rdi + 0x2c]
mov dword [rbp + 0x15c], eax
mov eax, dword [rdi + 0x30]
mov dword [rbp + 0x160], eax
mov dword [rsp + 0x20], 0x3c
lea r9, [rbp + 0x130]
xor edx, edx
mov r8d, 4
call fcn.1400d54c0
mov ecx, dword [0x14014a124]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [rdi + 0x30]
lea rcx, [rbp + 0x30]
call fcn.1400b90e0
mov rbx, rax
mov edx, dword [rdi + 0x2c]
lea rcx, [rbp - 0x50]
call fcn.1400b90e0
nop
mov r9d, 3
lea r8, [0x140124258]
xor edx, edx
mov rcx, rax
call fcn.14009f750
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x140118854]
lea rcx, [rsp + 0x68]
call fcn.14000ae20
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rbx
lea r8, [rbp - 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0xd0]
call fcn.1400070e0
nop
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.__Sent_Place_
lea rcx, [rbp + 0xd0]
call fcn.14000ae20
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x48]
call fcn.1400ca380
nop
lea rcx, [rbp + 0xd0]
call fcn.1400074e0
nop
lea rcx, [rbp - 0x30]
call fcn.1400074e0
nop
lea rcx, [rsp + 0x68]
call fcn.1400074e0
nop
lea rcx, [rbp - 0x50]
call fcn.1400074e0
nop
jmp 0x1400b8146
mov ecx, dword [0x14014a124]
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x131], xmm0
mov word [rbp + 0x141], r13w
mov byte [rbp + 0x143], 0
mov qword [rbp + 0x150], r13
mov dword [rbp + 0x158], r13d
mov qword [rbp + 0x164], r13
mov byte [rbp + 0x130], 3
mov eax, dword [0x14014a128]
mov dword [rbp + 0x144], eax
mov rcx, qword [0x140150d70]
movss xmm0, dword [rcx + 0x100]
movss dword [rbp + 0x148], xmm0
movss xmm1, dword [rcx + 0x104]
movss dword [rbp + 0x14c], xmm1
mov eax, dword [rdi + 0x2c]
mov dword [rbp + 0x15c], eax
mov eax, dword [rdi + 0x30]
mov dword [rbp + 0x160], eax
mov dword [rsp + 0x20], 0x3c
lea r9, [rbp + 0x130]
xor edx, edx
mov r8d, 4
call fcn.1400d54c0
mov ecx, dword [0x14014a124]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [rdi + 0x30]
lea rcx, [rbp + 0x30]
call fcn.1400b90e0
mov rbx, rax
mov edx, dword [rdi + 0x2c]
lea rcx, [rbp - 0x50]
call fcn.1400b90e0
nop
mov r9d, 3
lea r8, [0x140124258]
xor edx, edx
mov rcx, rax
call fcn.14009f750
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400b806c
lea rax, [rcx + 1]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x48]
mov word [rax + rcx], 0x2c
lea rax, [rsp + 0x48]
jmp 0x1400b808e
mov qword [rsp + 0x20], 1
lea r9, [0x140118854]
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.140006f10
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rbx
lea r8, [rbp - 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0xd0]
call fcn.1400070e0
nop
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.__Sent_Place_
lea rcx, [rbp + 0xd0]
call fcn.14000ae20
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x68]
call fcn.1400ca380
nop
lea rcx, [rbp + 0xd0]
call fcn.1400074e0
nop
lea rcx, [rbp - 0x30]
call fcn.1400074e0
nop
lea rcx, [rsp + 0x48]
call fcn.1400074e0
nop
lea rcx, [rbp - 0x50]
call fcn.1400074e0
nop
lea rcx, [rbp + 0x30]
call fcn.1400074e0
cmp byte [0x140150723], 0
je 0x1400b81bc
mov eax, dword [rdi + 0xc]
sub eax, 0xa20
test eax, 0xffffffef
jne 0x1400b81bc
lea r9, [rdi + 0x30]
lea r8, [rdi + 0x2c]
lea rdx, [0x14009ff90]
lea rcx, [rbp + 0x110]
call fcn.140011bd0
mov rbx, rax
cmp dword [rax + 8], 0
je 0x1400b83b6
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400b83b6
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
cmp dword [rbp + 0x118], eax
je 0x1400b81bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
cmp byte [0x1401506e7], 0
je 0x1400b81ca
test sil, sil
jne 0x1400b81d3
cmp byte [0x14015065f], 0
je 0x1400b81ec
cmp byte [0x1401507ab], 0
sete al
mov byte [0x1401507ab], al
test al, al
je 0x1400b8208
mov r8b, 1
jmp 0x1400b81f6
mov byte [0x1401507ab], 0
xor r8d, r8d
mov rcx, qword [0x140150d70]
mov edx, dword [rcx + 0xf8]
call fcn.1400d5650
cmp byte [0x14015065f], 0
je 0x1400b824c
lea r8, [rdi + 0x2c]
cmp dword [r8], 0xffffffff
je 0x1400b824c
lea r9, [rdi + 0x30]
cmp dword [r9], 0xffffffff
je 0x1400b824c
lea rdx, [0x140033df0]
lea rcx, [rbp - 0x70]
call fcn.140011bd0
nop
mov rcx, rax
call fcn.14004b390
nop
cmp dword [rbp - 0x68], 0
je 0x1400b824c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
cmp byte [0x1401507ae], 0
je 0x1400b8264
mov byte [rdi + 2], 0
mov dword [rdi + 0xc], 0x18
mov qword [rdi + 0x20], r13
cmp byte [0x140150745], 0
je 0x1400b8274
mov dword [rdi + 0xc], 0x800820
mov eax, dword [r14 + 0x14]
mov dword [0x140150710], eax
mov eax, dword [r14 + 0xc]
mov dword [0x140150714], eax
cmp byte [0x140151a8d], 0
je 0x1400b82a3
and dword [r14 + 0xc], 0xfffff7ff
and dword [0x140150714], 0xfffff7ff
cmp byte [0x140150724], 0
je 0x1400b83a7
mov qword [rbp + 0x110], 5
lea rcx, [rbp + 0x110]
call fcn.140022240
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, 8
lea rdx, str.OnSetPos
lea rcx, [rsp + 0x48]
call fcn.1400139b0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x180]
call fcn.140028910
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400b8342
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b833d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b833d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f022c
mov rcx, qword [0x140150d70]
mov dword [rbp + 0x1c0], 3
movsd xmm0, qword [rcx + 0x100]
movsd qword [rbp + 0x1d0], xmm0
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rcx + 0xf8]
lea r8, [rbp + 0x180]
mov dl, 1
call fcn.1400d5340
nop
lea r9, [fcn.14002c630]
mov edx, 0x40
mov r8d, 7
lea rcx, [rbp + 0x180]
call fcn.1400f03fc
nop
mov al, 1
jmp 0x1400b78eb
cmp byte [0x140151a8c], 0
setne al
jmp 0x1400b78eb
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov dword [0x14014a17c], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
call fcn.1400075d0
nop
lea rcx, [0x140151860]
call fcn.1400f07b4
cmp dword [0x140151860], 0xffffffff
jne 0x1400b776e
lea rcx, [0x140151858]
call fcn.1400a4b90
lea rcx, [0x140151860]
call fcn.1400f0748
jmp 0x1400b776e