Function at 0x18004a790
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0xc8
mov rax, qword [0x1800e4080]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rax, qword [0x1800f4540]
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], r12
mov qword [r11 + 0x20], r14
xor r14d, r14d
mov rcx, qword [rax + 0x10]
mov qword [r11 - 0x18], r15
mov rdx, qword [rcx]
test rdx, rdx
je 0x18004a7f7
mov rdx, qword [rdx + 8]
test rdx, rdx
je 0x18004a7f7
mov rax, qword [0x1800f4530]
mov rcx, qword [rax + 0x48]
mov rdi, qword [rdx + rcx]
test rdi, rdi
je 0x18004a7f7
mov rdi, qword [rdi + 0x20]
jmp 0x18004a7fa
mov rdi, r14
mov rax, qword [0x1800f4420]
mov qword [rsp + 0xe0], rbx
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm7
cmp byte [rax + 0x182], r14b
je 0x18004a9c7
mov rax, qword [0x1800f3f20]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x4890]
mov rcx, qword [rcx]
call fcn.18000a2b0
mov rcx, qword [0x1800f3f20]
lea rsi, str.SKUN.PVP_2.0___DISCORD.GG_SKUNSHOP
movss xmm0, dword [0x1800d5d14]
lea rdx, [rbp - 0x29]
movss xmm3, dword [0x1800d5cfc]
mov rbx, rax
mov qword [rsp + 0x30], r14
movss xmm2, dword [rcx + 0x3c18]
mov rcx, qword [rcx + 0x3c10]
mov qword [rsp + 0x28], rsi
movss dword [rsp + 0x20], xmm0
call fcn.18002d850
movss xmm0, dword [rbp - 0x29]
lea rcx, [rbp - 0x19]
addss xmm0, dword [0x1800d5b58]
mov dword [rbp + 3], 0x40c00000
mov dword [rbp - 0x29], 0x40c00000
mov dword [rbp - 0x25], 0x40800000
cvttss2si eax, xmm0
movaps xmm0, xmmword [0x1800d5f20]
movups xmmword [rbp - 0x19], xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, dword [0x1800d5bfc]
addss xmm6, dword [0x1800d5be8]
movss dword [rbp - 1], xmm6
call fcn.180006b50
xorps xmm7, xmm7
mov dword [rsp + 0x28], r14d
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea rdx, [rbp - 0x29]
mov rcx, rbx
lea r8, [rbp - 1]
call fcn.1800293c0
movaps xmm0, xmmword [0x1800d5f40]
lea rcx, [rbp - 0x19]
movups xmmword [rbp - 0x19], xmm0
mov dword [rbp - 0x25], 0x41c80000
movss dword [rbp - 0x29], xmm6
mov dword [rbp - 1], 0x40c00000
mov dword [rbp + 3], 0x40c00000
call fcn.180006b50
mov r9d, eax
mov dword [rsp + 0x28], r14d
lea rdx, [rbp - 1]
movss dword [rsp + 0x20], xmm7
lea r8, [rbp - 0x29]
mov rcx, rbx
call fcn.1800293c0
movaps xmm0, xmmword [0x1800d5f30]
lea rcx, [rbp - 0x19]
movups xmmword [rbp - 0x19], xmm0
call fcn.180006b50
mov dword [rbp - 0x29], 0x41200000
mov dword [rbp - 0x25], 0x40c00000
test eax, 0xff000000
je 0x18004a9c7
mov rdx, qword [rbx + 0x38]
lea r8, [0x1800d4ff2]
movups xmm0, xmmword [rbx + 0x88]
mov byte [rsp + 0x48], r14b
lea r9, [rbp - 0x29]
movss dword [rsp + 0x40], xmm7
mov rcx, qword [rdx + 8]
movss xmm2, dword [rdx + 0x10]
mov rdx, rbx
mov qword [rsp + 0x38], r8
lea r8, [rbp - 0x19]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r8
movups xmmword [rbp - 0x19], xmm0
mov dword [rsp + 0x20], eax
call fcn.18002da70
mov rax, qword [0x1800f4420]
cmp byte [rax + 0x181], r14b
je 0x18004a9ea
test rdi, rdi
je 0x18004a9ea
mov rax, qword [0x1800f4530]
mov rcx, qword [rax]
mov dword [rdi + rcx], r14d
mov rax, qword [0x1800f4420]
cmp byte [rax + 0x183], r14b
je 0x18004aa0e
test rdi, rdi
je 0x18004aa0e
mov rax, qword [0x1800f4530]
mov rcx, qword [rax + 0x60]
mov dword [rdi + rcx], r14d
mov rax, qword [0x1800f4420]
cmp byte [rax + 0x184], r14b
je 0x18004aa35
test rdi, rdi
je 0x18004aa35
mov rax, qword [0x1800f4530]
mov rcx, qword [rax + 0x58]
mov dword [rdi + rcx], 0x41a00000
mov rax, qword [0x1800f4420]
mov r15d, Ordinal_30
mov esi, dword [reloc.WS2_32.dll_accept]
movaps xmmword [rsp + 0x90], xmm8
lea r12d, [r15 + 6]
cmp byte [rax + 0x17e], r14b
je 0x18004ae2b
cmp byte [0x1800f4385], r14b
jne 0x18004ae2b
xor ecx, ecx
mov word [rbp + 7], 0x9090
mov byte [rbp + 9], 0x90
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x1800d5009], r14b
movups xmm0, xmmword [0x1800d4ff8]
movzx eax, word [0x1800d5008]
mov word [rbp - 9], ax
movups xmmword [rbp - 0x19], xmm0
je 0x18004ac31
mov r8d, r14d
cmp esi, 2
jl 0x18004abf5
movdqa xmm0, xmmword [0x1800d5e60]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x1800d5db0]
movdqa xmm4, xmmword [0x1800d5fc0]
movdqa xmm7, xmmword [0x1800d5e40]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movd xmm6, r15d
movd xmm8, r12d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d5e20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d5e20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x18004aaf0
cmp r8d, 0x12
jge 0x18004ac31
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop
mov eax, 0x45b74e4d
lea r9, [r9 + 1]
imul r8d
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x79
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x18004ac00
xor r9d, r9d
lea r8, [rbp - 0x19]
xor edx, edx
call fcn.18005d350
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 3
mov qword [rsp + 0x20], r14
mov rcx, rax
lea r8, [rbp + 7]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [0x1800d501b], r14b
movsd xmm0, qword [0x1800d5010]
mov eax, dword [0x1800d5018]
movsd qword [rbp - 0x29], xmm0
mov dword [rbp - 0x21], eax
je 0x18004ade2
mov r8d, r14d
cmp esi, 2
jl 0x18004ada7
movdqa xmm2, xmmword [0x1800d5db0]
mov r8d, 8
movdqa xmm4, xmmword [0x1800d5fc0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800d5dd0]
movdqa xmm0, xmm2
mov eax, dword [0x1800d5e60]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r15d
movd xmm5, r12d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800d5e40]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d5e20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1800d5010]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x29], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800d5e40]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d5e20]
movd xmm1, dword [rbp - 0x25]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x25], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
mov eax, 0x45b74e4d
lea r9, [r9 + 1]
imul r8d
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x79
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x18004adb1
xor r9d, r9d
lea r8, [rbp - 0x29]
xor edx, edx
call fcn.18005d350
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 3
mov qword [rsp + 0x20], r14
mov rcx, rax
lea r8, [rbp + 7]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [0x1800f4385], 1
mov rax, qword [0x1800f4420]
cmp byte [rax + 0x17f], r14b
je 0x18004b05a
cmp byte [0x1800f4386], r14b
jne 0x18004b05a
xor ecx, ecx
mov word [rbp + 7], 0x9090
mov byte [rbp + 9], 0x90
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x1800d5009], r14b
movups xmm0, xmmword [0x1800d4ff8]
movzx eax, word [0x1800d5008]
mov word [rbp - 9], ax
movups xmmword [rbp - 0x19], xmm0
je 0x18004b011
mov r8d, r14d
cmp esi, 2
jl 0x18004afd5
movdqa xmm0, xmmword [0x1800d5e60]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x1800d5db0]
movdqa xmm4, xmmword [0x1800d5fc0]
movdqa xmm7, xmmword [0x1800d5e40]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movd xmm6, r15d
movd xmm8, r12d
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d5e20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d5e20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x18004aed0
cmp r8d, 0x12
jge 0x18004b011
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop
mov eax, 0x45b74e4d
lea r9, [r9 + 1]
imul r8d
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x79
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x18004afe0
xor r9d, r9d
lea r8, [rbp - 0x19]
xor edx, edx
call fcn.18005d350
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 3
mov qword [rsp + 0x20], r14
mov rcx, rax
lea r8, [rbp + 7]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [0x1800f4386], 1
mov rax, qword [0x1800f4420]
movaps xmm8, xmmword [rsp + 0x90]
cmp byte [rax + 0x180], r14b
je 0x18004b25a
cmp byte [0x1800f4384], r14b
jne 0x18004b25a
xor ecx, ecx
mov word [rbp + 7], 0x9090
mov byte [rbp + 9], 0x90
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x1800d501b], r14b
movsd xmm0, qword [0x1800d5010]
mov eax, dword [0x1800d5018]
movsd qword [rbp - 0x29], xmm0
mov dword [rbp - 0x21], eax
je 0x18004b211
mov r8d, r14d
cmp esi, 2
jl 0x18004b1ca
movdqa xmm2, xmmword [0x1800d5db0]
mov r8d, 8
movdqa xmm4, xmmword [0x1800d5fc0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800d5dd0]
movdqa xmm0, xmm2
mov eax, dword [0x1800d5e60]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r15d
movd xmm5, r12d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800d5e40]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d5e20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1800d5010]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x29], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800d5e40]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d5e20]
movd xmm1, dword [rbp - 0x25]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x25], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x45b74e4d
lea r9, [r9 + 1]
imul r8d
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x79
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x18004b1e0
xor r9d, r9d
lea r8, [rbp - 0x29]
xor edx, edx
call fcn.18005d350
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 3
mov qword [rsp + 0x20], r14
mov rcx, rax
lea r8, [rbp + 7]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [0x1800f4384], 1
mov rax, qword [0x1800f4420]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
mov r15, qword [rsp + 0xc0]
cmp byte [rax + 0x185], 0
mov r14, qword [rsp + 0xf8]
mov r12, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xe0]
je 0x18004b2b1
test rdi, rdi
je 0x18004b2b1
mov dword [rdi + 0x120], Ordinal_301
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.18009fa70
add rsp, 0xc8
pop rdi
pop rbp
ret