Function at 0x18004d410
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0xa8
mov rax, qword [0x180108080]
xor rax, rsp
mov qword [rbp + 7], rax
mov rax, qword [0x1801095b0]
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]
mov rcx, qword [0x1801095a0]
test rdx, rdx
je 0x18004d477
mov rdx, qword [rdx + 8]
test rdx, rdx
je 0x18004d477
mov rax, qword [rcx + 0x48]
mov rdi, qword [rdx + rax]
test rdi, rdi
je 0x18004d477
mov rdi, qword [rdi + 0x20]
jmp 0x18004d47a
mov rdi, r14
mov rax, qword [0x1801094d0]
cmp byte [rax + 0x181], r14b
je 0x18004d4ad
test rdi, rdi
je 0x18004d4ad
mov rax, qword [rcx]
movss xmm0, dword [0x1801080bc]
movss dword [rdi + rax], xmm0
mov rax, qword [0x1801094d0]
mov rcx, qword [0x1801095a0]
cmp byte [rax + 0x182], r14b
je 0x18004d4d1
test rdi, rdi
je 0x18004d4d1
mov rax, qword [rcx + 0x60]
mov dword [rdi + rax], r14d
mov rax, qword [0x1801094d0]
mov rcx, qword [0x1801095a0]
cmp byte [rax + 0x183], r14b
je 0x18004d4f1
test rdi, rdi
je 0x18004d4f1
mov rax, qword [rcx + 0x58]
mov dword [rdi + rax], 0x41a00000
mov rax, qword [0x1801094d0]
mov r15d, reloc.WLDAP32.dll_Ordinal_26
mov esi, dword [reloc.WS2_32.dll_accept]
mov qword [rsp + 0xc0], rbx
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
lea r12d, [r15 + 5]
movaps xmmword [rsp + 0x70], xmm8
cmp byte [rax + 0x17e], r14b
je 0x18004d914
cmp byte [0x180109346], r14b
jne 0x18004d914
xor ecx, ecx
mov word [rbp - 1], 0x9090
mov byte [rbp + 1], 0x90
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x1800f69c1], r14b
movups xmm0, xmmword [0x1800f69b0]
movzx eax, word [0x1800f69c0]
mov word [rbp - 9], ax
movups xmmword [rbp - 0x19], xmm0
je 0x18004d704
mov r8d, r14d
cmp esi, 2
jl 0x18004d6bd
movdqa xmm0, xmmword [0x1800f7790]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x1800f76d0]
movdqa xmm4, xmmword [0x1800f7970]
movdqa xmm7, xmmword [0x1800f7760]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movd xmm6, r15d
movd xmm8, r12d
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
paddd xmm1, xmm2
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 [0x1800f7740]
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
paddd xmm1, xmm3
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 [0x1800f7740]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x18004d5b0
cmp r8d, 0x12
jge 0x18004d704
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop word [rax + rax]
mov eax, 0x8b6e9cd3
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x76
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x18004d6d0
xor r9d, r9d
lea r8, [rbp - 0x19]
xor edx, edx
call fcn.18005cde0
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 - 1]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [0x1800f69ab], r14b
movsd xmm0, qword [0x1800f69a0]
mov eax, dword [0x1800f69a8]
movsd qword [rbp - 0x29], xmm0
mov dword [rbp - 0x21], eax
je 0x18004d8c4
mov r8d, r14d
cmp esi, 2
jl 0x18004d882
movdqa xmm2, xmmword [0x1800f76d0]
mov r8d, 8
movdqa xmm3, xmmword [0x1800f76f0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1800f7970]
movdqa xmm0, xmm2
mov eax, dword [0x1800f7790]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r15d
movd xmm5, r12d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f7760]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800f7740]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1800f69a0]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x29], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f7760]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f7740]
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]
mov eax, 0x8b6e9cd3
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x76
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x18004d890
xor r9d, r9d
lea r8, [rbp - 0x29]
xor edx, edx
call fcn.18005cde0
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 - 1]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [0x1801094d0]
mov byte [0x180109346], 1
cmp byte [rax + 0x17f], r14b
je 0x18004db54
cmp byte [0x180109344], r14b
jne 0x18004db54
xor ecx, ecx
mov word [rbp - 1], 0x9090
mov byte [rbp + 1], 0x90
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x1800f69c1], r14b
movups xmm0, xmmword [0x1800f69b0]
movzx eax, word [0x1800f69c0]
mov word [rbp - 9], ax
movups xmmword [rbp - 0x19], xmm0
je 0x18004db04
mov r8d, r14d
cmp esi, 2
jl 0x18004dabd
movdqa xmm0, xmmword [0x1800f7790]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x1800f76d0]
movdqa xmm4, xmmword [0x1800f7970]
movdqa xmm7, xmmword [0x1800f7760]
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
paddd xmm1, xmm2
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 [0x1800f7740]
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
paddd xmm1, xmm3
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 [0x1800f7740]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x18004d9b0
cmp r8d, 0x12
jge 0x18004db04
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop word [rax + rax]
mov eax, 0x8b6e9cd3
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x76
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x18004dad0
xor r9d, r9d
lea r8, [rbp - 0x19]
xor edx, edx
call fcn.18005cde0
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 - 1]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [0x1801094d0]
mov byte [0x180109344], 1
movaps xmm8, xmmword [rsp + 0x70]
cmp byte [rax + 0x180], r14b
je 0x18004dd54
cmp byte [0x180109345], r14b
jne 0x18004dd54
xor ecx, ecx
mov word [rbp - 1], 0x9090
mov byte [rbp + 1], 0x90
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x1800f69ab], r14b
movsd xmm0, qword [0x1800f69a0]
mov eax, dword [0x1800f69a8]
movsd qword [rbp - 0x29], xmm0
mov dword [rbp - 0x21], eax
je 0x18004dd04
mov r8d, r14d
cmp esi, 2
jl 0x18004dcc2
movdqa xmm2, xmmword [0x1800f76d0]
mov r8d, 8
movdqa xmm3, xmmword [0x1800f76f0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1800f7970]
movdqa xmm0, xmm2
mov eax, dword [0x1800f7790]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r15d
movd xmm5, r12d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f7760]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800f7740]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1800f69a0]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x29], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f7760]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f7740]
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]
mov eax, 0x8b6e9cd3
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x76
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x18004dcd0
xor r9d, r9d
lea r8, [rbp - 0x29]
xor edx, edx
call fcn.18005cde0
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 - 1]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [0x1801094d0]
mov byte [0x180109345], 1
cmp byte [rax + 0x184], 0
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xc0]
je 0x18004dda4
test rdi, rdi
je 0x18004dda4
mov dword [rdi + 0x120], Ordinal_301
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1800bdf30
add rsp, 0xa8
pop rdi
pop rbp
ret