Function at 0x18004f900
Capabilities:
Encode data using xor
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x100
movaps xmmword [rsp + 0xa0], xmm11
mov rax, qword [0x1800e6080]
xor rax, rsp
mov qword [rbp - 0x49], rax
mov rax, qword [0x1800e7ca0]
mov rdx, qword [0x1800e7bb8]
mov rcx, qword [rax + 0x10]
cmp byte [rdx + 0x1b0], 0
mov rdi, qword [rcx]
je 0x18004f9a2
test rdi, rdi
je 0x18004f9a2
mov r8, qword [rdi + 8]
test r8, r8
je 0x18004f9a2
mov rax, qword [0x1800e7c90]
mov rcx, qword [rax + 0x68]
mov rax, qword [r8 + rcx]
test rax, rax
je 0x18004f9a2
mov rax, qword [rax + 0x30]
test rax, rax
je 0x18004f9a2
mov rax, qword [rax + 0x10]
test rax, rax
je 0x18004f9a2
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x18004f9a2
mov rax, qword [rcx + 0x70]
test rax, rax
je 0x18004f9a2
mov rax, qword [rax]
test rax, rax
je 0x18004f9a2
mov dword [rax + 0x2c], 0xbf800000
mov rdx, qword [0x1800e7bb8]
cmp byte [rdx + 0x1b8], 0
mov qword [rsp + 0x120], rbx
mov qword [rsp + 0x128], rsi
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movaps xmmword [rsp + 0xd0], xmm8
je 0x18004facd
call fcn.18004f650
mov rsi, rax
test rax, rax
je 0x18004fac6
mov rcx, qword [0x1800e7bb8]
mov ecx, dword [rcx + 0x1ac]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18004fac6
mov rcx, qword [0x1800e7ca0]
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x18004fa1a
mov rax, qword [rax]
jmp 0x18004fa1e
mov rax, qword [rbp - 0x79]
movsd xmm0, qword [rax + 0x3d0]
movsd xmm2, qword [rax + 0x60]
movaps xmm6, xmm0
movss xmm1, dword [0x1800d7f34]
movaps xmm7, xmm0
movss xmm8, dword [rax + 0x3d8]
mov rbx, qword [rcx + 0x50]
movsd qword [rbp - 0x79], xmm0
movaps xmm0, xmm2
shufps xmm6, xmm6, 0x55
mulss xmm8, xmm1
mulss xmm6, xmm1
addss xmm8, dword [rax + 0x68]
mov rax, qword [rcx + 0x60]
mov rcx, rsi
mulss xmm7, xmm1
shufps xmm0, xmm0, 0x55
addss xmm6, xmm0
movsd qword [rbp - 0x79], xmm2
addss xmm7, xmm2
call rax
mov ecx, eax
call rbx
mov rax, qword [rsi + 0x30]
xorps xmm0, xmm0
test rax, rax
je 0x18004fa93
movups xmmword [rax + 0x30], xmm0
movss dword [rsi + 0x90], xmm7
movss dword [rsi + 0x94], xmm6
movss dword [rsi + 0x98], xmm8
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x18004fac6
movaps xmm0, xmm7
unpcklps xmm0, xmm6
movsd qword [rcx + 0x50], xmm0
movss dword [rcx + 0x58], xmm8
mov rdx, qword [0x1800e7bb8]
cmp byte [rdx + 0x1b1], 0
je 0x18004fb1c
test rdi, rdi
je 0x18004fb1c
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18004fb1c
mov r8, qword [0x1800e7c90]
mov rax, qword [r8 + 0x68]
mov rcx, qword [rcx + rax]
test rcx, rcx
je 0x18004fb1c
mov rax, qword [r8 + 0x20]
mov rcx, qword [rcx + rax]
test rcx, rcx
je 0x18004fb1c
movd xmm0, dword [rdx + 0x1bc]
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x4c], xmm0
mov rdx, qword [0x1800e7bb8]
cmp byte [rdx + 0x1b2], 0
je 0x18004fb61
test rdi, rdi
je 0x18004fb61
mov r8, qword [rdi + 8]
test r8, r8
je 0x18004fb61
mov rax, qword [0x1800e7c90]
mov rcx, qword [rax + 0x68]
mov rax, qword [r8 + rcx]
test rax, rax
je 0x18004fb61
movd xmm0, dword [rdx + 0x1bc]
cvtdq2ps xmm0, xmm0
movss dword [rax + 0xc3c], xmm0
mov rdx, qword [0x1800e7bb8]
xor r15d, r15d
movaps xmmword [rsp + 0xc0], xmm9
cmp byte [rdx + 0x1d0], r15b
je 0x18004fd85
mov rax, qword [0x1800e6d40]
movups xmm9, xmmword [rdx + 0x90]
or dword [rax + 0x4790], 3
cmp byte [0x1800d728f], r15b
mov dword [rax + 0x47a0], 0x40a00000
mov qword [rax + 0x47a4], 0x44820000
mov dword [rax + 0x47ac], r15d
mov dword [rax + 0x4794], 1
mov dword [rax + 0x47b0], 0x43960000
mov dword [rax + 0x47b4], 0x41a00000
mov dword [rax + 0x4798], 1
mov rax, qword [0x1800d7288]
mov qword [rbp - 0x59], rax
je 0x18004fd31
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18004fcf9
movdqa xmm2, xmmword [0x1800d8100]
mov eax, reloc.WS2_32.dll_sendto
movdqa xmm4, xmmword [0x1800d8170]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800d8120]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, Ordinal_32
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800d8190]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x59]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d8160]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800d81c0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x59], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800d8190]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x55]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d8160]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800d81c0]
xorps xmm2, xmm0
movd dword [rbp - 0x55], xmm2
jmp 0x18004fd31
lea r9, [rbp - 0x59]
mov r8d, r15d
mov eax, 0x22dba73
lea r9, [r9 + 1]
imul r8d
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x77
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x18004fd00
xor edx, edx
lea rcx, [rbp - 0x59]
mov r8d, 0x87
call fcn.18000f8d0
test al, al
je 0x18004fd79
mov rax, qword [0x1800e6d40]
lea r8, [0x1800d7290]
lea rdx, str.LunarClient___s____.1f_FPS
lea rcx, [rbp - 0x79]
movups xmmword [rbp - 0x79], xmm9
movss xmm3, dword [rax + 0xe0]
cvtps2pd xmm3, xmm3
movq r9, xmm3
call fcn.180030700
call fcn.180011d10
mov rdx, qword [0x1800e7bb8]
cmp byte [rdx + 0x1d1], r15b
je 0x18004fe7f
mov rax, qword [0x1800e6d40]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x4890]
mov rcx, qword [rcx]
call fcn.180009b40
movaps xmm0, xmmword [0x1800d82c0]
lea rcx, [rbp - 0x69]
movups xmmword [rbp - 0x69], xmm0
mov r10, rax
mov dword [rbp - 0x59], 0x44728000
mov dword [rbp - 0x55], 0x44070000
mov dword [rbp - 0x79], 0x446d8000
mov dword [rbp - 0x75], 0x44070000
call fcn.1800067c0
movss xmm0, dword [0x1800d7e54]
lea r8, [rbp - 0x59]
mov r9d, eax
movss dword [rsp + 0x20], xmm0
lea rdx, [rbp - 0x79]
mov rcx, r10
call fcn.180028690
mov rax, qword [0x1800e6d40]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x4890]
mov rcx, qword [rcx]
call fcn.180009b40
movaps xmm0, xmmword [0x1800d82c0]
lea rcx, [rbp - 0x69]
movups xmmword [rbp - 0x69], xmm0
mov r10, rax
mov dword [rbp - 0x79], 0x44700000
mov dword [rbp - 0x75], 0x44098000
mov dword [rbp - 0x59], 0x44700000
mov dword [rbp - 0x55], 0x44048000
call fcn.1800067c0
movss xmm0, dword [0x1800d7e54]
lea r8, [rbp - 0x79]
mov r9d, eax
movss dword [rsp + 0x20], xmm0
lea rdx, [rbp - 0x59]
mov rcx, r10
call fcn.180028690
mov rdx, qword [0x1800e7bb8]
xorps xmm11, xmm11
cmp byte [rdx + 0x1b9], r15b
je 0x1800501c3
mov ecx, dword [rdx + 0x160]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18004feb2
cmp byte [0x1800e71b3], r15b
sete al
mov byte [0x1800e71b3], al
jmp 0x18004feb9
movzx eax, byte [0x1800e71b3]
mov qword [rsp + 0x130], r14
test al, al
je 0x180050177
mov rax, qword [0x1800e7ca0]
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x18004fede
mov rbx, qword [rbx]
jmp 0x18004fee2
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x1800501b4
mov rcx, qword [0x1800e7c90]
lea rsi, [rdi + 8]
movaps xmmword [rsp + 0x90], xmm12
movaps xmmword [rsp + 0x80], xmm13
movaps xmmword [rsp + 0xb0], xmm10
test rdi, rdi
je 0x18004ffb6
mov rdx, qword [rsi]
test rdx, rdx
je 0x18004ff3f
mov rax, qword [rcx + 0x68]
mov r8, qword [rdx + rax]
test r8, r8
je 0x18004ff3f
mov dword [r8 + 0xc3c], r15d
mov rcx, qword [0x1800e7c90]
jmp 0x18004ff44
test rdi, rdi
je 0x18004ffb6
mov rdx, qword [rsi]
test rdx, rdx
je 0x18004ff70
mov rax, qword [rcx + 0x68]
mov r8, qword [rdx + rax]
test r8, r8
je 0x18004ff70
mov rax, qword [r8 + 0x30]
xorps xmm0, xmm0
test rax, rax
je 0x18004ff70
movups xmmword [rax + 0x30], xmm0
mov rcx, qword [0x1800e7c90]
test rdi, rdi
je 0x18004ffb6
mov r14, qword [rsi]
test r14, r14
je 0x18004ffb6
mov rax, qword [rcx + 0x68]
mov r14, qword [r14 + rax]
test r14, r14
je 0x18004ffb6
movsd xmm9, qword [r14 + 0x90]
mov r14d, dword [r14 + 0x98]
movaps xmm10, xmm9
movsd qword [rbp - 0x79], xmm9
movss xmm8, dword [rbp - 0x79]
shufps xmm10, xmm10, 0x55
movd xmm7, r14d
jmp 0x18004ffd4
xorps xmm10, xmm10
xorps xmm9, xmm9
unpcklps xmm9, xmm10
xorps xmm7, xmm7
movsd qword [rbp - 0x79], xmm9
xorps xmm8, xmm8
movd r14d, xmm7
movsd xmm6, qword [rbx + 0x3d0]
mov ecx, 0x57
mov ebx, dword [rbx + 0x3d8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm12, xmm6
movsd qword [rbp - 0x59], xmm6
movss xmm6, dword [rbp - 0x59]
movd xmm13, ebx
shufps xmm12, xmm12, 0x55
test ax, ax
jns 0x18005002f
addss xmm8, xmm6
addss xmm10, xmm12
addss xmm7, xmm13
movaps xmm0, xmm8
unpcklps xmm0, xmm10
movaps xmm9, xmm0
movsd qword [rbp - 0x79], xmm0
movd r14d, xmm7
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180050064
subss xmm8, xmm6
subss xmm10, xmm12
subss xmm7, xmm13
movaps xmm0, xmm8
unpcklps xmm0, xmm10
movaps xmm9, xmm0
movsd qword [rbp - 0x79], xmm0
movd r14d, xmm7
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm13, xmmword [rsp + 0x80]
movaps xmm12, xmmword [rsp + 0x90]
movaps xmm10, xmmword [rsp + 0xb0]
test ax, ax
jns 0x1800500ab
movsd xmm1, qword [rbp - 0x79]
addss xmm8, dword [0x1800d7e54]
movss xmm1, xmm8
movsd qword [rbp - 0x79], xmm1
movaps xmm9, xmm1
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm6, dword [0x1800d805c]
test ax, ax
jns 0x1800500db
movsd xmm1, qword [rbp - 0x79]
addss xmm8, xmm6
movss xmm1, xmm8
movsd qword [rbp - 0x79], xmm1
movaps xmm9, xmm1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800500f8
addss xmm7, dword [0x1800d7e54]
movd r14d, xmm7
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180050111
addss xmm7, xmm6
movd r14d, xmm7
test rdi, rdi
je 0x1800501b4
mov rdx, qword [rsi]
test rdx, rdx
je 0x180050146
mov rax, qword [0x1800e7c90]
mov rcx, qword [rax + 0x68]
mov rax, qword [rdx + rcx]
test rax, rax
je 0x180050146
movsd qword [rax + 0x90], xmm9
mov dword [rax + 0x98], r14d
mov rdx, qword [rsi]
test rdx, rdx
je 0x1800501b4
mov rax, qword [0x1800e7c90]
mov rcx, qword [rax + 0x68]
mov rax, qword [rdx + rcx]
test rax, rax
je 0x1800501b4
mov rax, qword [rax + 0x30]
test rax, rax
je 0x1800501b4
movsd qword [rax + 0x50], xmm9
mov dword [rax + 0x58], r14d
jmp 0x1800501b4
test rdi, rdi
je 0x1800501b4
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x1800501b4
mov rax, qword [0x1800e7c90]
mov rcx, qword [rax + 0x68]
mov r8, qword [rdx + rcx]
test r8, r8
je 0x1800501b4
mov rax, qword [0x1800e7bb8]
movd xmm0, dword [rax + 0x1bc]
cvtdq2ps xmm0, xmm0
movss dword [r8 + 0xc3c], xmm0
mov rdx, qword [0x1800e7bb8]
mov r14, qword [rsp + 0x130]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
cmp byte [rdx + 0x1ba], r15b
je 0x1800502c9
call fcn.18004f650
test rax, rax
jne 0x180050202
xorps xmm6, xmm6
movd esi, xmm11
unpcklps xmm6, xmm11
jmp 0x180050210
movsd xmm6, qword [rax + 0x90]
mov esi, dword [rax + 0x98]
mov rax, qword [0x1800e7ca0]
lea r8, [rbp - 0x55]
mov rbx, qword [0x1800e6d40]
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
movsd qword [rbp - 0x79], xmm6
mov dword [rbp - 0x71], esi
mov qword [rbp - 0x59], r15
call qword [rax + gethostname]
movss xmm1, dword [rbp - 0x59]
lea rax, [rbp - 0x69]
mulss xmm1, dword [rbx + 0x10]
mov dword [rsp + 0x30], r15d
movss xmm2, dword [rbp - 0x55]
movaps xmm0, xmmword [0x1800d8220]
movss xmm3, dword [0x1800d7ef0]
movss dword [rbp - 0x59], xmm1
mulss xmm2, dword [rbx + 0x14]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm3
movaps xmmword [rbp - 0x69], xmm0
movss dword [rbp - 0x55], xmm2
call fcn.180054ce0
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800502c9
test rdi, rdi
je 0x1800502c9
mov rax, qword [rdi + 8]
test rax, rax
je 0x1800502c9
movsd qword [rax + 0x90], xmm6
mov dword [rax + 0x98], esi
mov rax, qword [rdi + 8]
test rax, rax
je 0x1800502c9
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x1800502c9
movsd qword [rcx + 0x50], xmm6
mov dword [rcx + 0x58], esi
movaps xmm6, xmmword [rsp + 0xf0]
mov rsi, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x120]
mov rcx, qword [rbp - 0x49]
xor rcx, rsp
call fcn.1800a1f30
movaps xmm11, xmmword [rsp + 0xa0]
add rsp, 0x100
pop r15
pop rdi
pop rbp
ret