Function at 0x1401cade0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x358]
sub rsp, 0x430
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140542918]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov r13, rdx
mov qword [rbp - 8], rdx
mov rbx, rcx
mov qword [rbp + 0x10], rcx
xor r15d, r15d
mov rax, qword [0x140546c20]
cmp byte [rax + 0x60b9], r15b
je 0x1401cc02c
movss xmm1, dword [rcx + 0x1c]
movss xmm0, dword [rcx + 0x18]
movss dword [rax + 0x6010], xmm0
movss dword [rax + 0x6014], xmm1
mov r10, qword [0x140546c20]
movss xmm0, dword [r10 + 0x6010]
movss xmm6, dword [0x1404440a0]
mulss xmm0, xmm6
cvttss2si ecx, xmm0
movss xmm0, dword [r10 + 0x6014]
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov dword [0x140546580], ecx
mov dword [0x14054657c], eax
lea rdi, [r15 - 1]
cmp dword [rbx + 0x14], r15d
jne 0x1401cbd0d
mov eax, dword [rdx + 0x2c]
dec eax
cmp eax, 0xfffffffd
ja 0x1401cbd0d
cmp byte [0x1405465c3], r15b
je 0x1401cbd0d
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x138], xmm1
mov qword [rbp + 0x148], r15
movups xmmword [rbp + 0xd8], xmm0
mov qword [rbp + 0xe8], r15
mov qword [rbp + 0xf0], r15
xor r8d, r8d
lea rdx, [0x140436faa]
lea rcx, [rbp + 0xd8]
call fcn.14013c770
nop
xor dl, dl
mov byte [rsp + 0x40], dl
mov rax, qword [0x140546c20]
mov rcx, qword [rax + 0x5f8c]
mov qword [rbp], rcx
mov rax, qword [rax + 0x5f94]
mov qword [rbp + 8], rax
movabs r8, 0x7fffffffffffffff
cmp rcx, rax
je 0x1401cb6bb
movzx edi, byte [rsp + 0x40]
movzx r14d, byte [rsp + 0x40]
movzx esi, byte [rsp + 0x40]
movzx ebx, byte [rsp + 0x40]
nop dword [rax]
mov r15, qword [rcx]
movss xmm0, dword [r15 + 2]
mulss xmm0, xmm6
cvttss2si eax, xmm0
movss xmm1, dword [r15 + 6]
mulss xmm1, xmm6
cvttss2si ecx, xmm1
cmp eax, dword [r13 + 0x2c]
jne 0x1401cb688
cmp ecx, dword [r13 + 0x30]
jne 0x1401cb688
mov byte [rsp + 0x40], 1
movzx edx, word [r15]
mov dword [rsp + 0x68], edx
lea rcx, [rbp + 0xf8]
call fcn.140134850
mov qword [rsp + 0x70], rax
movzx edx, word [r15]
lea rcx, [rbp + 0x38]
call fcn.140134850
mov r13, rax
movzx edx, byte [r15 + 0xa]
lea rcx, [rbp + 0x18]
call fcn.140134850
mov r12, rax
mov rcx, qword [0x140546c20]
add rcx, 0x5ef0
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x78]
call fcn.140143000
mov r8, qword [rax]
add r8, 0x20
mov rdx, qword [r8 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, 0x22
jb 0x1401cc06f
mov rax, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1401cb00e
mov rax, qword [r8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], Ordinal_35
lea r9, str._nadd_label_with_icon_buttonsmall
movzx edx, dil
lea rcx, [rsp + 0x48]
call fcn.14012de40
nop
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x1401cb089
lea rax, [rcx + 3]
mov qword [rsp + 0x58], rax
lea r15, [rsp + 0x48]
cmp rdx, 0x10
cmovae r15, qword [rsp + 0x48]
add r15, rcx
mov r8d, 3
lea rdx, [0x14043eb44]
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + 3], 0
lea rax, [rsp + 0x48]
jmp 0x1401cb0aa
mov qword [rsp + 0x20], 3
lea r9, [0x14043eb44]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x48]
call fcn.140131860
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r15b
mov r9, r12
lea r8, [rbp - 0x68]
movzx edx, r14b
lea rcx, [rbp + 0xb8]
call fcn.1401319f0
nop
mov rcx, qword [rbp + 0xc8]
mov rdx, qword [rbp + 0xd0]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x1401cb144
lea rax, [rcx + 6]
mov qword [rbp + 0xc8], rax
lea r15, [rbp + 0xb8]
cmp rdx, 0x10
cmovae r15, qword [rbp + 0xb8]
add r15, rcx
mov r8d, 6
lea rdx, str.left
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + 6], 0
lea rax, [rbp + 0xb8]
xor r15d, r15d
jmp 0x1401cb167
mov qword [rsp + 0x20], 6
lea r9, str.left
xor r8d, r8d
lea edx, [r8 + 6]
lea rcx, [rbp + 0xb8]
call fcn.140131860
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, r13
lea r8, [rbp + 0x98]
movzx edx, sil
lea rcx, [rbp - 0x28]
call fcn.1401319f0
nop
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 0xa
jb 0x1401cb1f2
lea rax, [rcx + 0xa]
mov qword [rbp - 0x18], rax
lea r15, [rbp - 0x28]
cmp rdx, 0x10
cmovae r15, qword [rbp - 0x28]
add r15, rcx
mov r8d, 0xa
lea rdx, str.floating_
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + 0xa], 0
lea rax, [rbp - 0x28]
xor r15d, r15d
jmp 0x1401cb212
mov qword [rsp + 0x20], 0xa
lea r9, str.floating_
xor r8d, r8d
lea edx, [r8 + 0xa]
lea rcx, [rbp - 0x28]
call fcn.140131860
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x88], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, qword [rsp + 0x70]
lea r8, [rbp + 0x78]
movzx edx, bl
lea rcx, [rbp - 0x48]
call fcn.1401319f0
nop
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, rdx
sub rax, rcx
cmp rax, 0xd
jb 0x1401cb298
lea rax, [rcx + 0xd]
mov qword [rbp - 0x38], rax
lea r15, [rbp - 0x48]
cmp rdx, 0x10
cmovae r15, qword [rbp - 0x48]
add r15, rcx
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.noflags00
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + 0xd], 0
lea rax, [rbp - 0x48]
xor r15d, r15d
jmp 0x1401cb2b8
mov qword [rsp + 0x20], reloc.WS2_32.dll_listen
lea r9, str.noflags00
xor r8d, r8d
lea edx, [r8 + 0xd]
lea rcx, [rbp - 0x48]
call fcn.140131860
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r9, [rbp + 0x58]
movq r12, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
mov qword [rsp + 0x70], rax
cmp rax, 0x10
cmovae r9, r12
mov rcx, qword [rbp + 0xe8]
mov rdx, qword [rbp + 0xf0]
mov rax, rdx
sub rax, rcx
movq r13, xmm1
cmp r13, rax
ja 0x1401cb356
lea rax, [rcx + r13]
mov qword [rbp + 0xe8], rax
lea r15, [rbp + 0xd8]
cmp rdx, 0x10
cmovae r15, qword [rbp + 0xd8]
add r15, rcx
mov r8, r13
mov rdx, r9
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + r13], 0
mov rax, qword [rsp + 0x70]
xor r15d, r15d
jmp 0x1401cb375
mov qword [rsp + 0x20], r13
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0xd8]
call fcn.140131860
mov rax, qword [rbp + 0x70]
mov r12, qword [rbp + 0x58]
cmp rax, 0x10
jb 0x1401cb3ae
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1401cb3a5
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cb75f
mov rcx, r12
call fcn.14040fbd0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1401cb3e9
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cb3e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cb766
call fcn.14040fbd0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x1401cb438
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cb432
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cb76d
call fcn.14040fbd0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1401cb473
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cb46e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cb774
call fcn.14040fbd0
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x1401cb4c5
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cb4bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cb77b
call fcn.14040fbd0
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x1401cb506
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cb501
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cb782
call fcn.14040fbd0
mov qword [rbp + 0xc8], r15
mov qword [rbp + 0xd0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb8], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1401cb55b
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cb555
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cb789
call fcn.14040fbd0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1401cb598
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cb593
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cb790
call fcn.14040fbd0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401cb5e6
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cb5e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cb797
call fcn.14040fbd0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1401cb631
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cb62c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cb79e
call fcn.14040fbd0
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0x110]
cmp rdx, 0x10
jb 0x1401cb682
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cb67d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cb7a5
call fcn.14040fbd0
mov r13, qword [rbp - 8]
jmp 0x1401cb68b
xor r15d, r15d
mov rcx, qword [rbp]
add rcx, 8
mov qword [rbp], rcx
cmp rcx, qword [rbp + 8]
jne 0x1401caf50
mov rbx, qword [rbp + 0x10]
mov rdi, 0xffffffffffffffff
movzx edx, byte [rsp + 0x40]
movabs r8, 0x7fffffffffffffff
mov eax, dword [rbx + 0x2c]
mov dword [0x14053717c], eax
mov eax, dword [rbx + 0x30]
mov dword [0x140537180], eax
xorps xmm0, xmm0
test dl, dl
je 0x1401cbb39
movups xmmword [rbp + 0xb8], xmm0
mov qword [rbp + 0xc8], r15
mov qword [rbp + 0xd0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb8], 0
mov r14, qword [rbp + 0xe8]
mov rax, r8
sub rax, r14
cmp rax, 0x68
jb 0x1401cc069
lea r15, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 0x10
cmovae r15, qword [rbp + 0xd8]
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea rsi, [r14 + 0x68]
mov edi, reloc.WS2_32.dll_ntohs
lea rbx, [rsp + 0x78]
lea r12, [rdi - 0x10]
cmp rsi, rdi
jbe 0x1401cb80e
mov rdi, rsi
or rdi, 0xf
cmp rdi, r8
jbe 0x1401cb7ac
mov rdi, r8
jmp 0x1401cb7b8
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]
nop
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]
nop
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]
nop
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]
nop
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]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov eax, reloc.WS2_32.dll_shutdown
cmp rdi, rax
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
cmovb rcx, r12
cmp rcx, 0x1000
jb 0x1401cb7f8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1401cc063
mov rcx, rax
call fcn.14040fb94
test rax, rax
je 0x1401cb98a
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1401cb809
test rcx, rcx
je 0x1401cb807
call fcn.14040fb94
mov rbx, rax
jmp 0x1401cb809
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rdi
movaps xmm0, xmmword [str._nadd_label_with_iconbigExtract_O_Snapleft6140_nadd_textbox_cFloating_Items_on_this_tileleft2480_n]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [0x140440f30]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x140440f40]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x140440f50]
movups xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [0x140440f60]
movups xmmword [rbx + 0x40], xmm0
movaps xmm1, xmmword [0x140440f70]
movups xmmword [rbx + 0x50], xmm1
movsd xmm0, qword [0x140440f80]
movsd qword [rbx + 0x60], xmm0
lea rcx, [rbx + 0x68]
mov r8, r14
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 0x38
jb 0x1401cb8c5
lea rax, [rcx + 0x38]
mov qword [rbp - 0x78], rax
lea rbx, [rsp + 0x78]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x78]
add rbx, rcx
mov r8d, reloc.WS2_32.dll_getservbyport
lea rdx, str._nadd_quick_exit_nend_dialoggrowscan_dialogCancelOkay
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x38], 0
lea rax, [rsp + 0x78]
jmp 0x1401cb8e6
mov qword [rsp + 0x20], reloc.WS2_32.dll_getservbyport
lea r9, str._nadd_quick_exit_nend_dialoggrowscan_dialogCancelOkay
xor r8d, r8d
lea edx, [r8 + 0x38]
lea rcx, [rsp + 0x78]
call fcn.140131860
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0xb8]
call fcn.140155130
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1401cb957
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cb951
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401cb951
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14040fbd0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1401cb996
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cb991
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401cb991
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14040fbd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.OnDialogRequest]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [0x14043b178]
mov dword [rsp + 0x50], eax
movzx eax, word [0x14043b17c]
mov word [rsp + 0x54], ax
movzx eax, byte [reloc.WS2_32.dll_WSACleanup]
mov byte [rsp + 0x56], al
mov byte [rsp + 0x57], 0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x150]
call fcn.140151000
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1401cba36
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cba31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401cba31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14040fbd0
mov dword [rbp + 0x190], 2
lea rdx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 0x10
cmovae rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc8]
lea rcx, [rbp + 0x1b0]
call fcn.14012ef50
mov dword [rsp + 0x20], 0
mov r9d, r12d
lea r8, [rbp + 0x150]
mov dl, 1
mov rcx, qword [0x140546c20]
call fcn.1401eac90
nop
lea r9, [fcn.14012e210]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x150]
call fcn.14040fac4
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x1401cbaed
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cbae7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401cbae7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14040fbd0
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0x10
jb 0x1401cbb32
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cbb2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401cbb2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14040fbd0
nop
mov al, 1
jmp 0x1401cc02e
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], reloc.WS2_32.dll_listen
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.OnTextOverlay]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [0x14043d5b0]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x14043d5b4]
mov byte [rsp + 0x54], al
mov byte [rsp + 0x55], 0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x150]
call fcn.140151000
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1401cbbc7
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cbbc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cbc7a
call fcn.14040fbd0
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
mov edx, gethostbyaddr
lea rcx, [rbp + 0xf8]
call fcn.14012eef0
mov rdx, rax
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x108], reloc.WLDAP32.dll_Ordinal_33
mov qword [rbp + 0x110], gethostbyaddr
movups xmm0, xmmword [str._4No_floatings_found_on_this_tile]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140440fa0]
movups xmmword [rax + 0x10], xmm1
movzx eax, byte [0x140440fb0]
mov byte [rdx + 0x20], al
mov byte [rdx + 0x21], 0
mov dword [rbp + 0x190], 2
mov r8d, reloc.WLDAP32.dll_Ordinal_33
lea rcx, [rbp + 0x1b0]
call fcn.14012ef50
nop
mov rdx, qword [rbp + 0x110]
cmp rdx, 0x10
jb 0x1401cbc86
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cbc81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401cbc81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14040fbd0
mov dword [rsp + 0x20], r15d
mov r9d, edi
lea r8, [rbp + 0x150]
mov dl, 1
mov rcx, qword [0x140546c20]
call fcn.1401eac90
nop
lea r9, [fcn.14012e210]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x150]
call fcn.14040fac4
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0x10
jb 0x1401cbd06
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cbd00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401cbd00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14040fbd0
nop
mov r10, qword [0x140546c20]
movabs rdx, 0x1000100010001
cmp byte [rbx], 0
jne 0x1401cbe0e
mov ecx, dword [rbx + 0xc]
lea eax, [rcx - 0x20]
test eax, 0xffffffef
mov eax, dword [0x1405385c8]
cmove eax, ecx
mov dword [0x1405385c8], eax
cmp byte [rbx], 0
jne 0x1401cbe0e
mov eax, dword [rbx + 0xc]
cmp eax, 0xc00
je 0x1401cbd75
cmp eax, 0xa80
je 0x1401cbd75
cmp eax, 0xa90
je 0x1401cbd75
add eax, 0xfffff600
cmp eax, 0x30
ja 0x1401cbe0e
cdqe
bt rdx, rax
jae 0x1401cbe0e
cmp byte [0x14054645d], 0
je 0x1401cbe0e
mov word [rbp + 0xf9], 0
mov byte [rbp + 0xfb], 0
mov qword [rbp + 0xfc], 0
mov qword [rbp + 0x104], 0
xorps xmm1, xmm1
movups xmmword [rbp + 0x110], xmm1
mov dword [rbp + 0x120], 0
xor eax, eax
mov qword [rbp + 0x12c], rax
mov byte [rbp + 0xf8], 3
mov dword [rbp + 0x10c], WSAGetLastError
mov eax, dword [rbx + 0x2c]
mov dword [rbp + 0x124], eax
mov eax, dword [rbx + 0x30]
mov dword [rbp + 0x128], eax
mov dword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_60
lea r9, [rbp + 0xf8]
mov r8d, 4
mov dl, 1
mov rcx, r10
call fcn.1401eae00
mov al, 1
jmp 0x1401cc02e
cmp byte [0x1405465b3], 0
je 0x1401cbe51
mov eax, dword [rbx + 0xc]
cmp eax, 0xc00
je 0x1401cc01c
cmp eax, 0xa80
je 0x1401cc01c
cmp eax, 0xa90
je 0x1401cc01c
add eax, 0xfffff600
cmp eax, 0x30
ja 0x1401cbe51
cdqe
bt rdx, rax
jb 0x1401cc01c
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x1401cbfa9
cmp byte [0x1405464a1], 0
je 0x1401cbfa9
cmp byte [rbx], 0
jne 0x1401cbfa9
cmp dword [rbx + 0x14], 0
jne 0x1401cbfa9
mov eax, dword [r13 + 0x2c]
dec eax
cmp eax, 0xfffffffd
ja 0x1401cbfa9
mov r8d, dword [rbx + 0x30]
mov edx, dword [rbx + 0x2c]
mov rcx, qword [0x140546c20]
call fcn.1401e3290
test al, al
je 0x1401cbec7
mov r8d, dword [rbx + 0x30]
mov edx, dword [rbx + 0x2c]
mov rcx, qword [0x140546c20]
call fcn.1401e8ce0
mov al, 1
jmp 0x1401cc02e
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.OnTextOverlay
lea rcx, [rbp - 0x68]
call fcn.14013c770
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x150]
call fcn.140151000
nop
lea rcx, [rbp - 0x68]
call fcn.14012e0b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._9Path_Not_Found
lea rcx, [rsp + 0x48]
call fcn.14013c770
nop
mov dword [rbp + 0x190], 2
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rbp + 0x1b0]
call fcn.14012ef50
nop
lea rcx, [rsp + 0x48]
call fcn.14012e0b0
mov dword [rsp + 0x20], edi
mov r9d, edi
lea r8, [rbp + 0x150]
mov dl, 1
mov rcx, qword [0x140546c20]
call fcn.1401eac90
nop
lea r9, [fcn.14012e210]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x150]
call fcn.14040fac4
nop
mov al, 1
jmp 0x1401cc02e
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x1401cc020
cmp byte [0x1405464a3], 0
je 0x1401cc020
cmp byte [rbx], 0
jne 0x1401cc020
cmp dword [rbx + 0x14], 0
jne 0x1401cc020
mov eax, dword [r13 + 0x2c]
dec eax
cmp eax, 0xfffffffd
ja 0x1401cc020
mov r8d, dword [rbx + 0x30]
mov edx, dword [rbx + 0x2c]
mov rcx, qword [0x140546c20]
call fcn.1401e3290
test al, al
je 0x1401cc01c
mov eax, dword [rbx + 0x30]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
mulss xmm1, dword [0x1404440c8]
mov eax, dword [rbx + 0x2c]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, dword [0x1404440c8]
call fcn.1401cd730
mov al, 1
jmp 0x1401cc02e
cmp byte [0x140548b43], 0
setne al
jmp 0x1401cc02e
xor al, al
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14040ff40
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14012eeb0
nop
call fcn.14012eed0
nop
call fcn.14012eed0
int3