Function at 0x14004ffb0
Capabilities:
Encode data using xor
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 - 0x48]
sub rsp, 0x120
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
mov rax, qword [0x1401b51c0]
xor rax, rsp
mov qword [rbp - 0x50], rax
cmp qword [0x1401db480], 0
jne 0x14005000f
call fcn.140026b20
mov rdi, qword [0x1401daf80]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1401db4a0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x6c]
sub eax, dword [rsp + 0x64]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rsp + 0x68]
sub eax, dword [rsp + 0x60]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
sub rax, qword [0x1401db4a8]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1401db4b0]
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1401db4a8], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x130], al
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x131], al
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x132], al
mov byte [rdi + 0x133], 0
mov rcx, qword [0x1401daf80]
lea rbx, [rcx + 0x118]
cmp byte [rcx + 0x3af], 0
je 0x14005011b
cvttss2si eax, dword [rbx]
mov dword [rbp - 0x68], eax
cvttss2si eax, dword [rcx + 0x11c]
mov dword [rbp - 0x64], eax
lea rdx, [rbp - 0x68]
mov rcx, qword [0x1401db4a0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x64]
mov ecx, dword [rbp - 0x68]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1401db4a0]
jne 0x140050177
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140050177
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1401db4a0]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140050177
movd xmm1, dword [rsp + 0x54]
cvtdq2ps xmm1, xmm1
movd xmm0, dword [rsp + 0x50]
cvtdq2ps xmm0, xmm0
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
mov rbx, 0xffffffffffffffff
cmp byte [rdi + 0xd0], 0
je 0x14005018b
mov eax, ebx
jmp 0x140050198
mov rax, qword [0x1401daf80]
mov eax, dword [rax + 0x1ec0]
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x1400501ab
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.140026d20
call fcn.140008010
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400501cd
cmp byte [reloc.WS2_32.dll_accept], 0
sete byte [0x1401d8ec8]
cmp byte [0x1401d9072], 0
je 0x1400501e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, reloc.WS2_32.dll_recvfrom
jmp 0x1400501eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
mov rcx, qword [0x1401db4c8]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
movss xmm9, dword [0x140188778]
xorps xmm10, xmm10
cmp byte [0x1401d9026], 0
je 0x140050531
movaps xmm1, xmm9
mov rax, qword [0x1401daf80]
divss xmm1, dword [rax + 0x18]
movsd xmm0, qword [0x140187fe8]
movsd qword [rbp - 0x80], xmm0
movzx eax, word [0x140187ff0]
mov word [rbp - 0x78], ax
cmp byte [0x140187ff1], 0
je 0x14005026b
mov byte [rbp - 0x80], 0x46
xor byte [rbp - 0x7f], 0x38
xor byte [rbp - 0x7e], 0x39
xor byte [rbp - 0x7d], 0x3a
xor byte [rbp - 0x7c], 0x3b
xor byte [rbp - 0x7b], 0x3c
xor byte [rbp - 0x7a], 0x3d
xor byte [rbp - 0x79], 0x3e
xor byte [rbp - 0x78], 0x3f
xor byte [rbp - 0x77], 0x40
cvtps2pd xmm3, xmm1
movq r9, xmm3
lea r8, [rbp - 0x80]
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x60]
call fcn.1400390b0
mov rdi, qword [0x1401daf80]
add rdi, 0x1e18
movaps xmm0, xmmword [0x140188ae0]
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.140004ba0
mov esi, eax
mov qword [rsp + 0x50], 0
test eax, 0xff000000
je 0x140050531
lea rax, [rbp - 0x60]
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400502c6
lea r9, [rbp - 0x60]
add r9, rcx
lea rax, [rbp - 0x60]
movsd xmm6, qword [rsp + 0x50]
cmp rax, r9
je 0x14005033d
mov rax, qword [rdi + 0x38]
movsxd r8, dword [rdi + 0x60]
add r8, r8
mov rdx, qword [rdi + 0x68]
movups xmm0, xmmword [rdx + r8*8 - 0x10]
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm10
mov qword [rsp + 0x38], r9
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
movq r9, xmm6
movss xmm2, dword [rax + 0x10]
mov rdx, rdi
mov rcx, qword [rax + 8]
call fcn.140024e30
lea rcx, [rbp - 0x60]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x140050344
lea rcx, [rbp - 0x60]
add rcx, rax
lea rax, [rbp - 0x60]
cmp rax, rcx
je 0x1400503b5
mov rax, qword [rdi + 0x38]
movsxd r8, dword [rdi + 0x60]
add r8, r8
mov rdx, qword [rdi + 0x68]
movups xmm0, xmmword [rdx + r8*8 - 0x10]
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm10
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
movq r9, xmm6
movss xmm2, dword [rax + 0x10]
mov rdx, rdi
mov rcx, qword [rax + 8]
call fcn.140024e30
lea rcx, [rbp - 0x60]
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400503c0
lea rcx, [rbp - 0x60]
add rcx, rax
lea rax, [rbp - 0x60]
cmp rax, rcx
je 0x140050431
mov rax, qword [rdi + 0x38]
movsxd r8, dword [rdi + 0x60]
add r8, r8
mov rdx, qword [rdi + 0x68]
movups xmm0, xmmword [rdx + r8*8 - 0x10]
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm10
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
movq r9, xmm6
movss xmm2, dword [rax + 0x10]
mov rdx, rdi
mov rcx, qword [rax + 8]
call fcn.140024e30
lea rcx, [rbp - 0x60]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140050440
lea rcx, [rbp - 0x60]
add rcx, rax
lea rax, [rbp - 0x60]
cmp rax, rcx
je 0x1400504b1
mov rax, qword [rdi + 0x38]
movsxd r8, dword [rdi + 0x60]
add r8, r8
mov rdx, qword [rdi + 0x68]
movups xmm0, xmmword [rdx + r8*8 - 0x10]
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm10
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
movq r9, xmm6
movss xmm2, dword [rax + 0x10]
mov rdx, rdi
mov rcx, qword [rax + 8]
call fcn.140024e30
lea rcx, [rbp - 0x60]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400504c0
lea rcx, [rbp - 0x60]
add rcx, rax
lea rax, [rbp - 0x60]
cmp rax, rcx
je 0x140050531
mov rax, qword [rdi + 0x38]
movsxd r9, dword [rdi + 0x60]
add r9, r9
mov r8, qword [rdi + 0x68]
movups xmm0, xmmword [r8 + r9*8 - 0x10]
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm10
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
movq r9, xmm6
movss xmm2, dword [rax + 0x10]
mov rdx, rdi
mov rcx, qword [rax + 8]
call fcn.140024e30
movaps xmm0, xmmword [0x140188ae0]
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.140004ba0
mov esi, eax
mov dword [rsp + 0x50], 0x42b40000
mov dword [rsp + 0x54], 0x41c80000
movups xmm0, xmmword [0x140187ce8]
movups xmmword [rbp - 0x80], xmm0
movzx ecx, word [0x140187cf8]
mov word [rbp - 0x70], cx
xor r14d, r14d
mov edi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x140187cf9], r14b
je 0x140050701
mov r8d, r14d
cmp edi, 2
jl 0x1400506c5
movdqa xmm5, xmmword [0x1401889c0]
movdqa xmm4, xmmword [0x140188a70]
movdqa xmm6, xmmword [0x1401889f0]
movdqa xmm0, xmmword [0x140188a80]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x60]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140188a60]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140188a60]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1400505c0
cmp r8d, 0x12
jge 0x140050701
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x37
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x1400506d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp - 0x80]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140050716
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140067c60
nop
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], esi
movss xmm3, dword [0x140188858]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1401daff8]
call fcn.140043e90
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140050799
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050794
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050794
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102c20
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x140050e60
mov rax, qword [0x140186f58]
mov qword [rbp - 0x68], rax
cmp byte [0x140186f5f], 0
je 0x140050901
cmp edi, 2
jl 0x1400508bf
movdqa xmm4, xmmword [0x140188a70]
movdqa xmm2, xmmword [0x1401889c0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401889f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140188a60]
packuswb xmm2, xmm2
mov eax, dword [0x140188a80]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x68]
xorps xmm2, xmm1
movd dword [rbp - 0x68], xmm2
movdqa xmm3, xmmword [0x1401889e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401889f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140188a60]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x64]
xorps xmm2, xmm1
movd dword [rbp - 0x64], xmm2
jmp 0x140050901
lea r9, [rbp - 0x68]
mov r8d, r14d
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x37
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400508d0
xor edx, edx
lea r8d, [rdx + 0x2b]
lea rcx, [rbp - 0x68]
call fcn.14000b960
mov r13, qword [0x1401daf80]
add r13, 0x1e18
mov esi, 4
mov ebx, esi
mov rax, qword gs:[0x58]
mov rax, qword [rax]
lea rdi, [0x1401dbd80]
mov r12d, reloc.WS2_32.dll_WSAStartup
mov eax, dword [rsi + rax]
cmp dword [0x1401dc118], eax
jle 0x14005098b
lea rcx, [0x1401dc118]
call fcn.140102898
cmp dword [0x1401dc118], 0xffffffff
jne 0x14005098b
mov rax, rdi
mov edx, r12d
nop dword [rax]
nop dword [rax + rax]
mov qword [rax], r14
lea rax, [rax + 8]
sub rdx, 1
jne 0x140050970
mov ebx, esi
lea rcx, [0x1401dc118]
call fcn.14010282c
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov eax, dword [rdi + rbx]
cmp dword [0x1401db9bc], eax
jle 0x1400509ce
lea rcx, [0x1401db9bc]
call fcn.140102898
cmp dword [0x1401db9bc], 0xffffffff
jne 0x1400509ce
mov qword [0x1401db9b0], 0
lea rcx, [0x1401db9bc]
call fcn.14010282c
lea rsi, [0x1401db9e0]
mov eax, dword [rdi + rbx]
cmp dword [0x1401db9d0], eax
jle 0x140050a19
lea rcx, [0x1401db9d0]
call fcn.140102898
cmp dword [0x1401db9d0], 0xffffffff
jne 0x140050a19
mov rax, rsi
mov rdx, r12
nop dword [rax + rax]
mov qword [rax], r14
lea rax, [rax + 8]
sub rdx, 1
jne 0x140050a00
lea rcx, [0x1401db9d0]
call fcn.14010282c
lea rdi, [0x1401dbd80]
cmp byte [0x1401db944], 0
jne 0x140050b2f
mov rbx, r14
movss xmm11, dword [0x1401888cc]
nop dword [rax]
mov rax, qword [0x1401daf80]
mov rcx, qword [rax + 0x19f8]
movss xmm6, dword [rcx + 0x1c]
movss xmm7, dword [rcx + 0x14]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm8, eax
cvtdq2ps xmm8, xmm8
mulss xmm8, xmm6
divss xmm8, xmm11
addss xmm8, xmm7
mov rax, qword [0x1401daf80]
mov rcx, qword [rax + 0x19f8]
movss xmm7, dword [rcx + 0x10]
movss xmm6, dword [rcx + 0x18]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
divss xmm0, xmm11
addss xmm0, xmm7
movss dword [rbx + rdi], xmm0
movss dword [rbx + rdi + 4], xmm8
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xb
sub r8d, ecx
sub r8d, 5
movd xmm6, r8d
cvtdq2ps xmm6, xmm6
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xb
sub r8d, ecx
sub r8d, 5
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
movss dword [rbx + rsi], xmm0
movss dword [rbx + rsi + 4], xmm6
add rbx, 8
cmp rbx, 0x398
jl 0x140050a40
mov byte [0x1401db944], 1
mov rax, qword [0x1401daf80]
movsd xmm0, qword [rax + 0x118]
movsd qword [rsp + 0x50], xmm0
mov r15d, r14d
lea rsi, [0x1401dbd84]
movss xmm7, dword [rsp + 0x54]
movss xmm8, dword [rsp + 0x50]
movss xmm6, dword [0x140188874]
movss xmm11, dword [0x140188870]
nop dword [rax]
lea ecx, [r15 + 1]
cmp ecx, 0x73
jge 0x140050c32
lea rbx, [rsi + 4]
movsxd rax, ecx
lea rdi, [rdi + rax*8]
mov r14d, r12d
sub r14d, ecx
lea r12, [0x1401dbd80]
nop word [rax + rax]
movss xmm1, dword [rbx + 4]
subss xmm1, dword [rsi]
movss xmm0, dword [rbx]
subss xmm0, dword [rsi - 4]
call sub.api_ms_win_crt_math_l1_1_0.dll__hypotf
divss xmm0, xmm6
movaps xmm1, xmm9
subss xmm1, xmm0
comiss xmm1, xmm10
jbe 0x140050c1c
mov dword [rsp + 0x60], 0x3f800000
mov dword [rsp + 0x64], 0x3f800000
mov dword [rsp + 0x68], 0x3f800000
mov rax, qword [0x1401daf80]
mulss xmm1, dword [rax + 0x1550]
movss dword [rsp + 0x6c], xmm1
lea rcx, [rsp + 0x60]
call fcn.140004ba0
mov r9d, eax
mov eax, r15d
lea rdx, [r12 + rax*8]
movss dword [rsp + 0x20], xmm9
mov r8, rdi
mov rcx, r13
call fcn.140020c10
add rdi, 8
add rbx, 8
sub r14, 1
jne 0x140050ba0
lea r12d, [r14 + 0x73]
movaps xmm1, xmm7
subss xmm1, dword [rsi]
movaps xmm0, xmm8
subss xmm0, dword [rsi - 4]
call sub.api_ms_win_crt_math_l1_1_0.dll__hypotf
divss xmm0, xmm11
movaps xmm1, xmm9
subss xmm1, xmm0
comiss xmm1, xmm10
jbe 0x140050cb3
mov dword [rbp - 0x80], 0x3f800000
mov dword [rbp - 0x7c], 0x3f800000
mov dword [rbp - 0x78], 0x3f800000
mov rax, qword [0x1401daf80]
mulss xmm1, dword [rax + 0x1550]
movss dword [rbp - 0x74], xmm1
lea rcx, [rbp - 0x80]
call fcn.140004ba0
mov r9d, eax
mov eax, r15d
lea rdi, [0x1401dbd80]
lea r8, [rdi + rax*8]
movss dword [rsp + 0x20], xmm9
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.140020c10
jmp 0x140050cba
lea rdi, [0x1401dbd80]
inc r15d
add rsi, 8
cmp r15d, 0x73
jl 0x140050b70
mov rax, qword [0x1401daf80]
movss xmm6, dword [rax + 0x18]
movaps xmm0, xmmword [0x140188ad0]
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.140004ba0
mov r15d, eax
mov r14d, eax
and r14d, 0xff000000
mov rsi, rdi
xor ebx, ebx
movss xmm7, dword [0x140188824]
movss xmm8, dword [0x140188794]
movaps xmm2, xmm6
lea rax, [0x1401db9e0]
mulss xmm2, dword [rbx + rax]
addss xmm2, dword [rbx + rdi]
movss dword [rbx + rdi], xmm2
movaps xmm1, xmm6
mulss xmm1, dword [rbx + rax + 4]
addss xmm1, dword [rbx + rdi + 4]
movss dword [rbx + rdi + 4], xmm1
mov rcx, qword [0x1401daf80]
mov rax, qword [rcx + 0x19f8]
movss xmm3, dword [rax + 0x10]
movss xmm0, dword [rax + 0x18]
addss xmm0, xmm3
comiss xmm3, xmm2
jbe 0x140050d66
movss dword [rbx + rdi], xmm0
jmp 0x140050d70
comiss xmm2, xmm0
jbe 0x140050d70
movss dword [rbx + rdi], xmm3
mov rax, qword [rcx + 0x19f8]
movss xmm2, dword [rax + 0x14]
movss xmm0, dword [rax + 0x1c]
addss xmm0, xmm2
comiss xmm2, xmm1
jbe 0x140050d92
movss dword [rbx + rdi + 4], xmm0
jmp 0x140050d9d
comiss xmm1, xmm0
jbe 0x140050d9d
movss dword [rbx + rdi + 4], xmm2
test r14d, r14d
je 0x140050e15
mov dword [rsp + 0x28], reloc.WS2_32.dll_inet_ntoa
movss dword [rsp + 0x20], xmm7
movaps xmm3, xmm10
movaps xmm2, xmm8
mov rdx, rsi
mov rcx, r13
call fcn.140020680
mov r9d, r15d
mov r8d, dword [r13 + 0x80]
mov rdx, qword [r13 + 0x88]
mov rcx, r13
call fcn.14001fe50
mov ecx, dword [r13 + 0x84]
test ecx, ecx
jns 0x140050e03
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor edx, edx
test eax, eax
cmovg edx, eax
lea rcx, [r13 + 0x80]
call fcn.140015cb0
mov dword [r13 + 0x80], 0
lea rdi, [0x1401dbd80]
add rsi, 8
add rbx, 8
sub r12, 1
jne 0x140050d10
mov rax, qword [0x1401daf80]
mov rcx, qword [rax + 0x19f8]
and dword [rcx + 0xb0], 0xfffffff1
xor r14d, r14d
mov qword [rcx + 0x90], r14
mov dword [rcx + 0x20], 0x44228000
mov dword [rcx + 0x24], 0x44228000
call fcn.14003be40
call fcn.14000e780
jmp 0x140050e6e
mov rax, qword [0x1401daf80]
mov byte [rax + 0xd0], 0
movss xmm2, dword [0x1401db934]
movss xmm1, dword [0x1401d9174]
movss xmm3, dword [0x140188704]
ucomiss xmm1, xmm3
jp 0x140050eab
jne 0x140050eab
ucomiss xmm2, xmm10
jp 0x140050eab
jne 0x140050eab
movss xmm0, dword [0x1401db988]
addss xmm0, xmm3
movss dword [0x1401db988], xmm0
jmp 0x140050eb3
movss xmm0, dword [0x1401db988]
movss xmm4, dword [0x140188774]
comiss xmm0, xmm4
jbe 0x140050ee0
ucomiss xmm2, xmm10
jp 0x140050ee0
jne 0x140050ee0
movaps xmm0, xmm9
movss dword [0x1401db988], xmm0
addss xmm1, xmm3
movss dword [0x1401d9174], xmm1
movss xmm5, dword [0x1401888e8]
comiss xmm1, xmm4
jbe 0x140050f0d
ucomiss xmm2, xmm10
jp 0x140050f0d
jne 0x140050f0d
movaps xmm1, xmm9
movss dword [0x1401d9174], xmm1
addss xmm0, xmm5
movss dword [0x1401db988], xmm0
comiss xmm3, xmm0
jbe 0x140050f32
ucomiss xmm1, xmm9
jp 0x140050f32
jne 0x140050f32
movaps xmm0, xmm10
movss dword [0x1401db988], xmm0
addss xmm2, xmm3
movss dword [0x1401db934], xmm2
comiss xmm2, xmm4
jbe 0x140050f57
ucomiss xmm0, xmm10
jp 0x140050f57
jne 0x140050f57
movaps xmm2, xmm9
movss dword [0x1401db934], xmm2
addss xmm1, xmm5
movss dword [0x1401d9174], xmm1
comiss xmm3, xmm1
jbe 0x140050f7c
ucomiss xmm2, xmm9
jp 0x140050f7c
jne 0x140050f7c
movaps xmm1, xmm10
movss dword [0x1401d9174], xmm1
addss xmm0, xmm3
movss dword [0x1401db988], xmm0
comiss xmm0, xmm4
jbe 0x140050fa1
ucomiss xmm1, xmm10
jp 0x140050fa1
jne 0x140050fa1
movaps xmm0, xmm9
movss dword [0x1401db988], xmm0
addss xmm2, xmm5
movss dword [0x1401db934], xmm2
comiss xmm3, xmm2
jbe 0x140050fd3
ucomiss xmm1, xmm10
jp 0x140050fd3
jne 0x140050fd3
mov dword [0x1401db934], 0
addss xmm0, xmm5
movss dword [0x1401db988], xmm0
comiss xmm3, xmm0
jbe 0x140050fd3
mov dword [0x1401d9174], 0x3c23d70a
call fcn.140046f30
mov rcx, qword [0x1401db4d0]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401db4d0]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401db4d0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x1401db4d0]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r14d
movss dword [rsp + 0x28], xmm9
mov dword [rsp + 0x20], r14d
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x1401db4d0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14005108d
call fcn.1400095d0
mov rcx, qword [0x1401daf80]
add rcx, 0x1c70
cmp byte [rcx], 0
cmove rcx, r14
call fcn.140026240
mov rcx, qword [0x1401db4d0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1401db4d0]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140051150
mov rcx, qword [0x1401db4d0]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140051150
cmp qword [0x1401db490], 0
je 0x140051134
mov rcx, qword [0x1401db498]
test rcx, rcx
je 0x1400510f0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401db498], r14
mov rcx, qword [0x1401db488]
test rcx, rcx
je 0x140051109
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401db488], r14
mov rbx, qword [0x1401daf80]
mov rcx, qword [0x1401db480]
test rcx, rcx
je 0x140051122
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401db480], r14
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], r14
mov rcx, qword [0x1401db4d0]
mov rax, qword [rcx]
lea rdx, [0x1401db030]
call qword [rax + 0x80]
call fcn.140026b20
mov rcx, qword [rbp - 0x50]
xor rcx, rsp
call fcn.1401027d0
lea r11, [rsp + 0x120]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret