Function at 0x140048d00
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
mov rax, qword [0x1400f0080]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor r13d, r13d
mov rcx, qword [0x1400f14a0]
call fcn.14000eaa0
mov rax, qword [0x1400f1340]
mov rax, qword [rax + 0x1e10]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.140005690
mov r14, rax
mov qword [rsp + 0x60], rax
cmp byte [0x1400f03f4], r13b
jne 0x140048daa
call fcn.14003c240
movaps xmm0, xmmword [0x1400deef0]
movups xmmword [rbp - 0x70], xmm0
mov ecx, dword [0x1400f03ac]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xorps xmm12, xmm12
test ax, ax
jne 0x140048de4
cmp byte [0x1400f140c], r13b
je 0x140048dff
movss xmm0, dword [0x1400f13e8]
comiss xmm0, dword [0x1400deaec]
jbe 0x140048dff
cmp byte [0x1400f1339], r13b
je 0x140048dff
movss xmm0, dword [0x1400f143c]
addss xmm0, dword [0x1400deac0]
jmp 0x140048e0f
movss xmm0, dword [0x1400f143c]
subss xmm0, dword [0x1400deac0]
movss xmm11, dword [0x1400deb5c]
comiss xmm0, xmm11
jb 0x140048e24
movaps xmm0, xmm11
jmp 0x140048e29
maxss xmm0, xmm12
movss dword [0x1400f143c], xmm0
movss xmm8, dword [0x1400deb10]
subss xmm0, xmm8
movss xmm9, dword [0x1400debc4]
mulss xmm0, xmm9
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movsd xmm10, qword [0x1400deba0]
addsd xmm0, xmm10
movsd xmm13, qword [0x1400deb98]
mulsd xmm0, xmm13
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm3, xmm3
cvtsi2ss xmm3, dword [0x1400f0398]
xorps xmm2, xmm2
cvtsi2ss xmm2, dword [0x1400f0394]
subss xmm3, xmm2
mulss xmm3, xmm1
addss xmm3, xmm2
cvttss2si edi, xmm3
cmp byte [0x1400f03c5], r13b
je 0x140048f56
lea rcx, [rbp - 0x70]
call fcn.1400034f0
mov ebx, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm6, eax
cvtdq2ps xmm6, xmm6
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm6
mov eax, edi
cdq
sub eax, edx
sar eax, 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
test ebx, 0xff000000
je 0x140048f56
comiss xmm2, xmm12
jbe 0x140048f56
subss xmm2, xmm8
mov dword [rsp + 0x20], Ordinal_50
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1400204e0
mov r8d, dword [r14 + 0x78]
dec r8d
mov dword [r14 + 0x78], r8d
movss dword [rsp + 0x28], xmm11
mov dword [rsp + 0x20], 1
mov r9d, ebx
mov rdx, qword [r14 + 0x80]
mov rcx, r14
call fcn.14001f040
mov dword [r14 + 0x78], r13d
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.Unsigned_Software_1.0.2
lea rcx, [rbp + 0x120]
call fcn.140038570
nop
lea rbx, [rbp + 0x120]
cmp qword [rbp + 0x138], 0x10
cmovae rbx, qword [rbp + 0x120]
lea rcx, [rbp - 0x70]
call fcn.1400034f0
mov edi, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x28
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov dword [rsp + 0x50], 0x41200000
movss dword [rsp + 0x54], xmm1
mov rsi, 0xffffffffffffffff
test edi, 0xff000000
je 0x140049041
mov rcx, rsi
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140048fe0
add rcx, rbx
cmp rbx, rcx
je 0x140049041
mov rax, qword [r14 + 0x38]
movups xmm0, xmmword [r14 + 0x88]
movups xmmword [rbp + 0x100], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm12
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0x100]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, qword [rsp + 0x50]
movss xmm2, dword [rax + 0x10]
mov rdx, r14
mov rcx, qword [rax + 8]
call fcn.1400255f0
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x140049085
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049080
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049080
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
movabs r15, 0x70f6ab2f72643e6
movabs r12, 0x4e491dbb8237a1d5
mov qword [rbp + 0x148], r15
mov qword [rbp + 0x128], r15
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400490e9
movabs rax, 0x4e491dbbe753c8bd
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x120], r12
movdqa xmm0, xmmword [rbp + 0x140]
pxor xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x140], xmm0
lea rbx, [rbp + 0x140]
jmp 0x140049120
movabs rax, 0x4e491dbbf558c9a6
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x140], r12
movdqa xmm0, xmmword [rbp + 0x120]
pxor xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rbp + 0x120], xmm0
lea rbx, [rbp + 0x120]
movabs rax, 0x4e491dceec52ccf5
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
lea rax, [rsp + 0x50]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140049170
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.140038570
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x1400491a0
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140038570
nop
movabs rax, 0x4e491dbba258d5f5
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], r15
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r15
movdqa xmm0, xmmword [rbp + 0x120]
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x120], xmm0
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x40]
call fcn.140050ac0
nop
lea r9, [rbp - 0x20]
mov r8, rax
movzx edx, byte [rsp + 0x68]
lea rcx, [rbp + 0x80]
call fcn.1400517a0
nop
movsxd rax, dword [0x1400f03c0]
lea rbx, str.Unknown
mov rbx, qword [rbx + rax*8]
movabs rax, 0x4e493dc8f152d385
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rax, [rsp + 0x50]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140049284
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.140038570
nop
mov r8, rsi
inc r8
cmp byte [rbx + r8], 0
jne 0x1400492a0
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1400506b0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x140], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x150], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x140]
movzx edx, byte [rsp + 0x68]
lea rcx, [rbp - 0x60]
call fcn.1400517a0
nop
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rbx, qword [rbp - 0x60]
lea rcx, [rbp - 0x70]
call fcn.1400034f0
mov edi, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x19
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x50], 0x41200000
movss dword [rsp + 0x54], xmm0
test edi, 0xff000000
je 0x1400493a1
mov rcx, rsi
nop
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140049340
add rcx, rbx
cmp rbx, rcx
je 0x1400493a1
mov rax, qword [r14 + 0x38]
movups xmm0, xmmword [r14 + 0x88]
movups xmmword [rbp + 0x100], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm12
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0x100]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, qword [rsp + 0x50]
movss xmm2, dword [rax + 0x10]
mov rdx, r14
mov rcx, qword [rax + 8]
call fcn.1400255f0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400493df
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400493da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400493da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
movdqa xmm0, xmmword [0x1400ded20]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp + 0x158]
cmp rdx, 0x10
jb 0x140049435
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004942f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004942f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140049473
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004946e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004946e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
movdqa xmm0, xmmword [0x1400ded20]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x1400494c9
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400494c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400494c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x140049507
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049502
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049502
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
movdqa xmm0, xmmword [0x1400ded20]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140049557
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049552
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049552
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
movdqa xmm0, xmmword [0x1400ded20]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400495a7
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400495a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400495a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
mov rax, qword [0x1400f1340]
movss xmm6, dword [rax + 0x39c]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
lea rcx, [0x1400dcf50]
call fcn.140038110
movsxd rbx, eax
mov rdx, rbx
lea rcx, [rbp + 0xe0]
call fcn.14004fde0
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rcx, qword [rbp + 0xe0]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
movq r9, xmm6
lea r8, [0x1400dcf50]
call fcn.140038050
nop
movabs rax, 0x4e491dbbd167e7f5
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], r15
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r15
movdqa xmm0, xmmword [rbp + 0x140]
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x140], xmm0
movabs rax, 0x4e491dbb8237a1fb
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rsp + 0x50], xmm0
lea rax, [rsp + 0x50]
mov rdi, rsi
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140049690
lea r14, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae r14, qword [rbp + 0xe0]
mov r13, qword [rbp + 0xf0]
cmp rdi, r13
ja 0x140049739
mov rax, r13
sub rax, rdi
test rdi, rdi
jne 0x1400496cb
xor ebx, ebx
jmp 0x14004973c
lea r15, [rax + r14]
movsx r12d, byte [rsp + 0x50]
lea r8, [r15 + 1]
sub r8, r14
mov edx, r12d
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140049725
nop
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140049806
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400496f0
movabs r15, 0x70f6ab2f72643e6
movabs r12, 0x4e491dbb8237a1d5
mov rbx, rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
cmp r13, rbx
cmovb rbx, r13
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rdx, qword [rbp + 0xe0]
mov r8, rbx
lea rcx, [rbp + 0x120]
call fcn.140038570
nop
lea rax, [rbp + 0x140]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140049790
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x120]
call fcn.1400506b0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x140049827
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049822
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049822
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r14
movabs r15, 0x70f6ab2f72643e6
movabs r12, 0x4e491dbb8237a1d5
jmp 0x14004973c
call fcn.1400b3e90
movups xmmword [rbp + 0xe0], xmm6
movups xmmword [rbp + 0xf0], xmm7
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x140049879
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049874
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049874
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
movss xmm6, dword [0x1400f144c]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
lea rcx, [0x1400dcf50]
call fcn.140038110
movsxd rbx, eax
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.14004fde0
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rcx, qword [rbp + 0xc0]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
movq r9, xmm6
lea r8, [0x1400dcf50]
call fcn.140038050
nop
movabs rax, 0x2b3b68cff256e2f5
mov qword [rbp + 0x140], rax
movabs rax, 0x70f6ab2f72663ca
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r15
movdqa xmm0, xmmword [rbp + 0x140]
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x140], xmm0
movabs rax, 0x4e491dbb8237a1fb
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rsp + 0x50], xmm0
lea rax, [rsp + 0x50]
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], 0
jne 0x140049960
lea r14, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae r14, qword [rbp + 0xc0]
mov r13, qword [rbp + 0xd0]
cmp rdi, r13
ja 0x140049a19
mov rax, r13
sub rax, rdi
test rdi, rdi
jne 0x14004999f
xor ebx, ebx
jmp 0x140049a1c
lea r15, [r14 + rax]
movsx r12d, byte [rsp + 0x50]
lea r8, [r15 + 1]
sub r8, r14
mov edx, r12d
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140049a05
nop dword [rax]
nop word [rax + rax]
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140049b25
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400499d0
movabs r15, 0x70f6ab2f72643e6
movabs r12, 0x4e491dbb8237a1d5
mov rbx, rsi
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
cmp r13, rbx
cmovb rbx, r13
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rdx, qword [rbp + 0xc0]
mov r8, rbx
lea rcx, [rbp]
call fcn.140038570
nop
movabs rax, 0x4e491dbb823789f5
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], r15
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r15
movdqa xmm0, xmmword [rbp + 0x120]
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x120], xmm0
lea r8, [rbp]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x60]
call fcn.140050ac0
nop
lea rcx, [rbp + 0x140]
mov r8, rsi
inc r8
cmp byte [rcx + r8], 0
jne 0x140049ab3
lea rdx, [rbp + 0x140]
mov rcx, rax
call fcn.1400506b0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x140049b46
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049b41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049b41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r14
movabs r15, 0x70f6ab2f72643e6
movabs r12, 0x4e491dbb8237a1d5
jmp 0x140049a1c
call fcn.1400b3e90
movups xmmword [rbp + 0xc0], xmm6
movups xmmword [rbp + 0xd0], xmm7
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140049b92
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049b8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049b8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
movdqa xmm0, xmmword [0x1400ded20]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140049be1
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049bdc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049bdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
movss xmm6, dword [0x1400f1448]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
lea rcx, [0x1400dcf50]
call fcn.140038110
movsxd rbx, eax
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.14004fde0
lea rcx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rcx, qword [rbp + 0xa0]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
movq r9, xmm6
lea r8, [0x1400dcf50]
call fcn.140038050
nop
movabs rax, 0x202c6fdee459e8f5
mov qword [rbp + 0x140], rax
movabs rax, 0x70f6ab2f70f2685
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r15
movdqa xmm0, xmmword [rbp + 0x140]
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x140], xmm0
movabs rax, 0x4e491dbb8237a1fb
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rsp + 0x50], xmm0
lea rax, [rsp + 0x50]
mov rdi, rsi
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140049cd0
lea r14, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae r14, qword [rbp + 0xa0]
mov r13, qword [rbp + 0xb0]
cmp rdi, r13
ja 0x140049d75
mov rax, r13
sub rax, rdi
test rdi, rdi
jne 0x140049d0f
xor r12d, r12d
mov ebx, r12d
jmp 0x140049d7b
lea r15, [rax + r14]
movsx r12d, byte [rsp + 0x50]
lea r8, [r15 + 1]
sub r8, r14
mov edx, r12d
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140049d75
nop dword [rax]
nop word [rax + rax]
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140049e2f
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140049d40
mov rbx, rsi
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
cmp r13, rbx
cmovb rbx, r13
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rdx, qword [rbp + 0xa0]
mov r8, rbx
lea rcx, [rbp + 0x20]
call fcn.140038570
nop
lea rax, [rbp + 0x140]
mov r8, rsi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140049dc0
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x20]
call fcn.1400506b0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x140049e3c
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049e37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049e37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r14
jmp 0x140049d78
call fcn.1400b3e90
movups xmmword [rbp + 0xa0], xmm6
movups xmmword [rbp + 0xb0], xmm7
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x140049e88
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049e83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049e83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0xd0]
sub rax, rcx
mov rdx, qword [rbp + 0xb0]
cmp rax, rdx
jb 0x14004a5b1
lea r9, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae r9, qword [rbp + 0xc0]
lea rax, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rax, qword [rbp + 0xa0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.140051990
nop
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rbp + 0xe0]
call fcn.1400506b0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140049f54
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049f4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049f4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
cmp byte [0x1400f03f6], 0
je 0x14004a09c
lea rbx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rbx, qword [rbp + 0xe0]
lea rcx, [rbp - 0x70]
call fcn.1400034f0
mov edi, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x19
movd xmm7, eax
cvtdq2ps xmm7, xmm7
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rdx, qword [rbp + 0xe0]
mov rcx, qword [0x1400f1340]
test rdx, rdx
jne 0x140049fc1
movaps xmm6, xmm12
jmp 0x14004a00b
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rdx
movss xmm0, dword [0x1400decbc]
movss dword [rsp + 0x20], xmm0
movss xmm2, dword [rcx + 0x1990]
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx + 0x1988]
call fcn.1400253a0
movss xmm0, dword [rsp + 0x50]
addss xmm0, dword [0x1400deb54]
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x19
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm6
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm7
test edi, 0xff000000
je 0x14004a09c
inc rsi
cmp byte [rbx + rsi], 0
jne 0x14004a035
add rsi, rbx
mov r14, qword [rsp + 0x60]
cmp rbx, rsi
je 0x14004a0a1
mov rax, qword [r14 + 0x38]
movups xmm0, xmmword [r14 + 0x88]
movups xmmword [rbp + 0x100], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm12
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0x100]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, qword [rsp + 0x50]
movss xmm2, dword [rax + 0x10]
mov rdx, r14
mov rcx, qword [rax + 8]
call fcn.1400255f0
jmp 0x14004a0a1
mov r14, qword [rsp + 0x60]
cmp byte [0x1400f03c4], 0
je 0x14004a1b3
mov edi, r12d
mov r8, qword [0x1400f18d0]
mov rcx, r8
mov r9, qword [0x1400f18c8]
sub rcx, r9
movabs r15, 0x2aaaaaaaaaaaaaab
mov rax, r15
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14004a1a5
movaps xmm0, xmmword [0x1400dee20]
movups xmmword [rbp + 0x100], xmm0
lea rcx, [rbp + 0x100]
call fcn.1400034f0
mov esi, eax
mov rbx, r12
nop dword [rax + rax]
movups xmm3, xmmword [r9 + rbx]
movaps xmm1, xmm3
shufps xmm1, xmm3, 0xaa
addss xmm1, xmm3
movss dword [rsp + 0x50], xmm1
movaps xmm2, xmm3
shufps xmm2, xmm3, 0xff
movaps xmm0, xmm3
shufps xmm0, xmm3, 0x55
addss xmm2, xmm0
movss dword [rsp + 0x54], xmm2
movss dword [rsp + 0x60], xmm3
movss dword [rsp + 0x64], xmm0
mov dword [rsp + 0x28], r12d
movss dword [rsp + 0x20], xmm12
mov r9d, esi
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140021610
inc edi
add rbx, 0x18
mov r8, qword [0x1400f18d0]
mov rcx, r8
mov r9, qword [0x1400f18c8]
sub rcx, r9
mov rax, r15
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, edi
cmp rax, rdx
jb 0x14004a110
cmp r9, r8
cmovne r8, r9
mov qword [0x1400f18d0], r8
movss xmm0, dword [0x1400f143c]
subss xmm0, xmm8
mulss xmm0, xmm9
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
addsd xmm0, xmm10
mulsd xmm0, xmm13
xorps xmm4, xmm4
cvtsd2ss xmm4, xmm0
movss xmm9, dword [0x1400f13b0]
subss xmm9, dword [0x1400f1450]
mulss xmm9, xmm4
addss xmm9, dword [0x1400f1450]
movss xmm10, dword [0x1400f13b4]
subss xmm10, dword [0x1400f1454]
mulss xmm10, xmm4
addss xmm10, dword [0x1400f1454]
movss xmm8, dword [0x1400f13b8]
subss xmm8, dword [0x1400f1458]
mulss xmm8, xmm4
addss xmm8, dword [0x1400f1458]
movss xmm7, dword [0x1400f13bc]
subss xmm7, dword [0x1400f145c]
mulss xmm7, xmm4
addss xmm7, dword [0x1400f145c]
cmp byte [0x1400f03fd], 0
je 0x14004a3b7
movaps xmm0, xmmword [0x1400dede0]
movups xmmword [rbp + 0x100], xmm0
lea rcx, [rbp + 0x100]
call fcn.1400034f0
addss xmm8, xmm9
movss dword [rsp + 0x50], xmm8
addss xmm7, xmm10
movss dword [rsp + 0x54], xmm7
movss dword [rsp + 0x60], xmm9
movss dword [rsp + 0x64], xmm10
mov dword [rsp + 0x28], r12d
movss dword [rsp + 0x20], xmm12
mov r9d, eax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140021610
cvttss2si ebx, xmm10
movd xmm6, ebx
cvtdq2ps xmm6, xmm6
comiss xmm6, xmm7
jae 0x14004a358
nop dword [rax]
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp ebx, ecx
jne 0x14004a34a
movaps xmm0, xmmword [0x1400dede0]
movups xmmword [rbp + 0x100], xmm0
lea rcx, [rbp + 0x100]
call fcn.1400034f0
movss dword [rsp + 0x50], xmm8
movss dword [rsp + 0x54], xmm6
movss dword [rsp + 0x60], xmm9
movss dword [rsp + 0x64], xmm6
movss dword [rsp + 0x20], xmm11
mov r9d, eax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.1400213a0
inc ebx
movd xmm6, ebx
cvtdq2ps xmm6, xmm6
comiss xmm6, xmm7
jb 0x14004a2e0
movaps xmm0, xmmword [0x1400defe0]
movups xmmword [rbp + 0x100], xmm0
lea rcx, [rbp + 0x100]
call fcn.1400034f0
movss dword [rsp + 0x50], xmm8
movss dword [rsp + 0x54], xmm7
movss dword [rsp + 0x60], xmm9
movss dword [rsp + 0x64], xmm10
movss xmm0, dword [0x1400deba8]
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x20], xmm12
mov r9d, eax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140021500
cmp byte [0x1400f03fe], 0
je 0x14004a455
movaps xmm0, xmmword [0x1400dee20]
movups xmmword [rbp + 0x100], xmm0
lea rcx, [rbp + 0x100]
call fcn.1400034f0
mov r9d, dword [0x1400f13c8]
mov edx, dword [0x1400f1468]
add edx, r9d
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mov r8d, dword [0x1400f13cc]
mov edx, dword [0x1400f133c]
add edx, r8d
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm1
movd xmm1, r9d
cvtdq2ps xmm1, xmm1
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm1
mov dword [rsp + 0x28], r12d
movss dword [rsp + 0x20], xmm12
mov r9d, eax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140021610
call fcn.140046400
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x14004a49f
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a49a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a49a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14004a4fc
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a4f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a4f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
mov qword [rbp + 0xd0], r12
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x14004a559
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a554
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a554
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400b3da0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140038310
nop
int3