Function at 0x1400a2fd0
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 - 0x348]
sub rsp, 0x420
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14018e298]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov r13, rdx
mov qword [rbp], rdx
mov rdi, rcx
mov qword [rbp + 0x10], rcx
xor r12d, r12d
mov rax, qword [0x1401923a8]
cmp byte [rax + 0x5fa8], r12b
je 0x1400a4219
movss xmm1, dword [rcx + 0x1c]
movss xmm0, dword [rcx + 0x18]
movss dword [rax + 0x5f9c], xmm0
movss dword [rax + 0x5fa0], xmm1
mov r10, qword [0x1401923a8]
movss xmm0, dword [r10 + 0x5f9c]
movss xmm6, dword [0x140159ac0]
mulss xmm0, xmm6
cvttss2si ecx, xmm0
movss xmm0, dword [r10 + 0x5fa0]
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov dword [0x140191c90], ecx
mov dword [0x140191c8c], eax
lea rsi, [r12 - 1]
cmp dword [rdi + 0x14], r12d
jne 0x1400a3efa
mov eax, dword [rdx + 0x2c]
dec eax
cmp eax, 0xfffffffd
ja 0x1400a3efa
cmp byte [0x140191c29], r12b
je 0x1400a3efa
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x128], xmm1
mov qword [rbp + 0x138], r12
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xe0], r12
xor r8d, r8d
lea rdx, [0x14014d051]
lea rcx, [rbp + 0xc8]
call fcn.140015690
nop
xor cl, cl
mov byte [rsp + 0x40], cl
mov rax, qword [0x1401923a8]
mov rax, qword [rax + 0x6050]
mov qword [rbp + 8], rax
mov rbx, qword [rax]
movabs rdx, 0x7fffffffffffffff
cmp rbx, rax
je 0x1400a38a8
movzx esi, byte [rsp + 0x40]
movzx edi, byte [rsp + 0x40]
movzx r14d, byte [rsp + 0x40]
movzx r15d, byte [rsp + 0x40]
nop word [rax + rax]
movups xmm2, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x70], xmm2
movsd xmm0, qword [rbx + 0x20]
movsd qword [rbp - 0x80], xmm0
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xaa
mulss xmm1, xmm6
cvttss2si eax, xmm1
shufps xmm2, xmm2, 0xff
mulss xmm2, xmm6
cvttss2si ecx, xmm2
cmp eax, dword [r13 + 0x2c]
jne 0x1400a387e
cmp ecx, dword [r13 + 0x30]
jne 0x1400a387e
mov byte [rsp + 0x40], 1
mov rax, qword [rsp + 0x70]
shr rax, 0x20
movzx r12d, ax
mov dword [rsp + 0x68], r12d
mov edx, r12d
lea rcx, [rbp + 0xe8]
call fcn.14000d580
mov qword [rbp - 0x68], rax
mov edx, r12d
lea rcx, [rbp + 0x38]
call fcn.14000d580
mov qword [rbp - 0x70], rax
movzx edx, byte [rbp - 0x80]
lea rcx, [rbp + 0x18]
call fcn.14000d580
mov r12, rax
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x98]
lea rcx, [0x140194ce0]
call fcn.14001c490
mov r8, qword [rax]
add r8, 0x20
mov rdx, qword [r8 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, 0x22
jb 0x1400a425c
mov rax, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400a3213
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, r14b
lea rcx, [rsp + 0x48]
call fcn.140006b90
nop
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x1400a328e
lea rax, [rcx + 3]
mov qword [rsp + 0x58], rax
lea r13, [rsp + 0x48]
cmp rdx, 0x10
cmovae r13, qword [rsp + 0x48]
add r13, rcx
mov r8d, 3
lea rdx, [0x140154894]
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
mov byte [r13 + 3], 0
lea rax, [rsp + 0x48]
jmp 0x1400a32af
mov qword [rsp + 0x20], 3
lea r9, [0x140154894]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x48]
call fcn.14000a590
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, r12
lea r8, [rbp - 0x60]
movzx edx, r15b
lea rcx, [rbp + 0xa8]
call fcn.14000a720
nop
mov rcx, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0xc0]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x1400a3347
lea rax, [rcx + 6]
mov qword [rbp + 0xb8], rax
lea r13, [rbp + 0xa8]
cmp rdx, 0x10
cmovae r13, qword [rbp + 0xa8]
add r13, rcx
mov r8d, 6
lea rdx, str.left
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
mov byte [r13 + 6], 0
lea rax, [rbp + 0xa8]
jmp 0x1400a336a
mov qword [rsp + 0x20], 6
lea r9, str.left
xor r8d, r8d
lea edx, [r8 + 6]
lea rcx, [rbp + 0xa8]
call fcn.14000a590
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x88], xmm1
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
mov r9, qword [rbp - 0x70]
lea r8, [rbp + 0x78]
movzx edx, sil
lea rcx, [rbp - 0x20]
call fcn.14000a720
nop
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rax, rdx
sub rax, rcx
cmp rax, 0xa
jb 0x1400a33ee
lea rax, [rcx + 0xa]
mov qword [rbp - 0x10], rax
lea r13, [rbp - 0x20]
cmp rdx, 0x10
cmovae r13, qword [rbp - 0x20]
add r13, rcx
lea r8d, [r12 + 0xa]
lea rdx, str.floating_
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
mov byte [r13 + 0xa], r12b
lea rax, [rbp - 0x20]
jmp 0x1400a340e
mov qword [rsp + 0x20], 0xa
lea r9, str.floating_
xor r8d, r8d
lea edx, [r8 + 0xa]
lea rcx, [rbp - 0x20]
call fcn.14000a590
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, qword [rbp - 0x68]
lea r8, [rbp + 0x58]
movzx edx, dil
lea rcx, [rbp - 0x40]
call fcn.14000a720
nop
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov rax, rdx
sub rax, rcx
cmp rax, 0xd
jb 0x1400a348e
lea rax, [rcx + 0xd]
mov qword [rbp - 0x30], rax
lea r13, [rbp - 0x40]
cmp rdx, 0x10
cmovae r13, qword [rbp - 0x40]
add r13, rcx
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.noflags00
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
mov byte [r13 + 0xd], 0
lea rax, [rbp - 0x40]
jmp 0x1400a34ae
mov qword [rsp + 0x20], reloc.WS2_32.dll_listen
lea r9, str.noflags00
xor r8d, r8d
lea edx, [r8 + 0xd]
lea rcx, [rbp - 0x40]
call fcn.14000a590
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r9, [rsp + 0x70]
movq r13, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
mov qword [rbp - 0x70], rax
cmp rax, 0x10
cmovae r9, r13
mov rdx, qword [rbp + 0xd8]
mov r8, qword [rbp + 0xe0]
mov rax, r8
sub rax, rdx
movq rcx, xmm1
mov qword [rbp - 0x68], rcx
cmp rcx, rax
ja 0x1400a3554
lea rax, [rcx + rdx]
mov qword [rbp + 0xd8], rax
lea r12, [rbp + 0xc8]
cmp r8, 0x10
cmovae r12, qword [rbp + 0xc8]
add r12, rdx
mov r8, rcx
mov rdx, r9
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rbp - 0x68]
mov byte [rax + r12], 0
mov rax, qword [rbp - 0x70]
xor r12d, r12d
jmp 0x1400a3574
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rcx
lea rcx, [rbp + 0xc8]
call fcn.14000a590
mov rax, qword [rbp - 0x78]
mov r13, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x1400a35ac
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400a35a3
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a394c
mov rcx, r13
call fcn.14012be40
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400a35e7
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a35e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a3953
call fcn.14012be40
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x1400a3633
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a362d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a395a
call fcn.14012be40
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400a366e
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3669
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a3961
call fcn.14012be40
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x1400a36bd
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a36b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a3968
call fcn.14012be40
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x1400a36fe
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a36f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a396f
call fcn.14012be40
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa8], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400a3753
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a374d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a3976
call fcn.14012be40
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400a3790
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a378b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a397d
call fcn.14012be40
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1400a37de
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a37d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a3984
call fcn.14012be40
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1400a3829
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3824
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a398b
call fcn.14012be40
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x1400a387a
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3875
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a3992
call fcn.14012be40
mov r13, qword [rbp]
mov rax, qword [rbx]
mov rbx, rax
cmp rax, qword [rbp + 8]
jne 0x1400a3140
mov rdi, qword [rbp + 0x10]
mov rsi, 0xffffffffffffffff
movzx ecx, byte [rsp + 0x40]
movabs rdx, 0x7fffffffffffffff
mov eax, dword [rdi + 0x2c]
mov dword [0x14018a160], eax
mov eax, dword [rdi + 0x30]
mov dword [0x14018a164], eax
xorps xmm0, xmm0
test cl, cl
je 0x1400a3d26
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa8], 0
mov r14, qword [rbp + 0xd8]
mov rax, rdx
sub rax, r14
cmp rax, 0x68
jb 0x1400a4256
lea r15, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0x10
cmovae r15, qword [rbp + 0xc8]
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rsi, [r14 + 0x68]
mov edi, reloc.WS2_32.dll_ntohs
lea rbx, [rsp + 0x70]
lea r12, [rdi - 0x10]
cmp rsi, rdi
jbe 0x1400a39fb
mov rdi, rsi
or rdi, 0xf
cmp rdi, rdx
jbe 0x1400a3999
mov rdi, rdx
jmp 0x1400a39a5
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 0x1400a39e5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400a4250
mov rcx, rax
call fcn.14012be04
test rax, rax
je 0x1400a3b77
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400a39f6
test rcx, rcx
je 0x1400a39f4
call fcn.14012be04
mov rbx, rax
jmp 0x1400a39f6
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 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 [0x140156bc0]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x140156bd0]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x140156be0]
movups xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [0x140156bf0]
movups xmmword [rbx + 0x40], xmm0
movaps xmm1, xmmword [0x140156c00]
movups xmmword [rbx + 0x50], xmm1
movsd xmm0, qword [0x140156c10]
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 - 0x80]
mov rdx, qword [rbp - 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 0x38
jb 0x1400a3ab2
lea rax, [rcx + 0x38]
mov qword [rbp - 0x80], rax
lea rbx, [rsp + 0x70]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x70]
add rbx, rcx
mov r8d, Ordinal_60
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 + 0x70]
jmp 0x1400a3ad3
mov qword [rsp + 0x20], Ordinal_60
lea r9, str._nadd_quick_exit_nend_dialoggrowscan_dialogCancelOkay
xor r8d, r8d
lea edx, [r8 + 0x38]
lea rcx, [rsp + 0x70]
call fcn.14000a590
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xa8]
call fcn.14002eaa0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400a3b44
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3b3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3b3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1400a3b83
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3b7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3b7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
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 [0x140151110]
mov dword [rsp + 0x50], eax
movzx eax, word [0x140151114]
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 + 0x140]
call fcn.14002a7f0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400a3c23
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3c1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3c1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
mov dword [rbp + 0x180], 2
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae rdx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb8]
lea rcx, [rbp + 0x1a0]
call fcn.140007c80
mov dword [rsp + 0x20], 0
mov r9d, r12d
lea r8, [rbp + 0x140]
mov dl, 1
mov rcx, qword [0x1401923a8]
call fcn.1400c3ee0
nop
lea r9, [fcn.140006f40]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x140]
call fcn.14012bd34
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x1400a3cda
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3cd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3cd4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x1400a3d1f
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3d19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3d19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
nop
mov al, 1
jmp 0x1400a421b
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 [0x1401533b0]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x1401533b4]
mov byte [rsp + 0x54], al
mov byte [rsp + 0x55], 0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x140]
call fcn.14002a7f0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400a3db4
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3daf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a3e67
call fcn.14012be40
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov edx, gethostbyname
lea rcx, [rbp + 0xe8]
call fcn.140007c20
mov rdx, rax
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf8], reloc.WLDAP32.dll_Ordinal_33
mov qword [rbp + 0x100], gethostbyname
movups xmm0, xmmword [str._4No_floatings_found_on_this_tile]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140156c30]
movups xmmword [rax + 0x10], xmm1
movzx eax, byte [0x140156c40]
mov byte [rdx + 0x20], al
mov byte [rdx + 0x21], 0
mov dword [rbp + 0x180], 2
mov r8d, reloc.WLDAP32.dll_Ordinal_33
lea rcx, [rbp + 0x1a0]
call fcn.140007c80
nop
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x1400a3e73
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3e6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3e6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
mov dword [rsp + 0x20], r12d
mov r9d, esi
lea r8, [rbp + 0x140]
mov dl, 1
mov rcx, qword [0x1401923a8]
call fcn.1400c3ee0
nop
lea r9, [fcn.140006f40]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x140]
call fcn.14012bd34
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x1400a3ef3
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3eed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3eed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
nop
mov r10, qword [0x1401923a8]
movabs rdx, 0x1000100010001
cmp byte [rdi], 0
jne 0x1400a3ffb
mov ecx, dword [rdi + 0xc]
lea eax, [rcx - 0x20]
test eax, 0xffffffef
mov eax, dword [0x14018b5b8]
cmove eax, ecx
mov dword [0x14018b5b8], eax
cmp byte [rdi], 0
jne 0x1400a3ffb
mov eax, dword [rdi + 0xc]
cmp eax, 0xc00
je 0x1400a3f62
cmp eax, 0xa80
je 0x1400a3f62
cmp eax, 0xa90
je 0x1400a3f62
add eax, 0xfffff600
cmp eax, 0x30
ja 0x1400a3ffb
cdqe
bt rdx, rax
jae 0x1400a3ffb
cmp byte [0x140191b03], 0
je 0x1400a3ffb
mov word [rbp + 0xe9], 0
mov byte [rbp + 0xeb], 0
mov qword [rbp + 0xec], 0
mov qword [rbp + 0xf4], 0
xorps xmm1, xmm1
movups xmmword [rbp + 0x100], xmm1
mov dword [rbp + 0x110], 0
xor eax, eax
mov qword [rbp + 0x11c], rax
mov byte [rbp + 0xe8], 3
mov dword [rbp + 0xfc], WSAGetLastError
mov eax, dword [rdi + 0x2c]
mov dword [rbp + 0x114], eax
mov eax, dword [rdi + 0x30]
mov dword [rbp + 0x118], eax
mov dword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_60
lea r9, [rbp + 0xe8]
mov r8d, 4
mov dl, 1
mov rcx, r10
call fcn.1400c4050
mov al, 1
jmp 0x1400a421b
cmp byte [0x140191c19], 0
je 0x1400a403e
mov eax, dword [rdi + 0xc]
cmp eax, 0xc00
je 0x1400a4209
cmp eax, 0xa80
je 0x1400a4209
cmp eax, 0xa90
je 0x1400a4209
add eax, 0xfffff600
cmp eax, 0x30
ja 0x1400a403e
cdqe
bt rdx, rax
jb 0x1400a4209
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x1400a4196
cmp byte [0x140191b47], 0
je 0x1400a4196
cmp byte [rdi], 0
jne 0x1400a4196
cmp dword [rdi + 0x14], 0
jne 0x1400a4196
mov eax, dword [r13 + 0x2c]
dec eax
cmp eax, 0xfffffffd
ja 0x1400a4196
mov r8d, dword [rdi + 0x30]
mov edx, dword [rdi + 0x2c]
mov rcx, qword [0x1401923a8]
call fcn.1400bc090
test al, al
je 0x1400a40b4
mov r8d, dword [rdi + 0x30]
mov edx, dword [rdi + 0x2c]
mov rcx, qword [0x1401923a8]
call fcn.1400c1f40
mov al, 1
jmp 0x1400a421b
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.OnTextOverlay
lea rcx, [rbp - 0x60]
call fcn.140015690
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x140]
call fcn.14002a7f0
nop
lea rcx, [rbp - 0x60]
call fcn.140006de0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._9Path_Not_Found
lea rcx, [rsp + 0x48]
call fcn.140015690
nop
mov dword [rbp + 0x180], 2
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rbp + 0x1a0]
call fcn.140007c80
nop
lea rcx, [rsp + 0x48]
call fcn.140006de0
mov dword [rsp + 0x20], esi
mov r9d, esi
lea r8, [rbp + 0x140]
mov dl, 1
mov rcx, qword [0x1401923a8]
call fcn.1400c3ee0
nop
lea r9, [fcn.140006f40]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x140]
call fcn.14012bd34
nop
mov al, 1
jmp 0x1400a421b
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x1400a420d
cmp byte [0x140191b49], 0
je 0x1400a420d
cmp byte [rdi], 0
jne 0x1400a420d
cmp dword [rdi + 0x14], 0
jne 0x1400a420d
mov eax, dword [r13 + 0x2c]
dec eax
cmp eax, 0xfffffffd
ja 0x1400a420d
mov r8d, dword [rdi + 0x30]
mov edx, dword [rdi + 0x2c]
mov rcx, qword [0x1401923a8]
call fcn.1400bc090
test al, al
je 0x1400a4209
mov eax, dword [rdi + 0x30]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
mulss xmm1, dword [0x140159ae8]
mov eax, dword [rdi + 0x2c]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, dword [0x140159ae8]
call fcn.1400a5960
mov al, 1
jmp 0x1400a421b
cmp byte [0x140192f2b], 0
setne al
jmp 0x1400a421b
xor al, al
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.14012c1b0
lea r11, [rsp + 0x420]
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.140007be0
nop
call fcn.140007c00
nop
call fcn.140007c00
int3