Function at 0x1800477e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x18013a080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xor r12d, r12d
cmp byte [reloc.WS2_32.dll_accept], r12b
je 0x18004794d
mov eax, dword [str.uwm:]
mov dword [rbp - 0x38], eax
cmp byte [0x18011f567], r12b
je 0x180047913
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800478cc
movdqa xmm3, xmmword [0x180127970]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x180127d60]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x180127d60]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
mov ecx, 5
movd xmm0, ecx
psrad xmm2, xmm0
mov ecx, Ordinal_33
movd xmm0, ecx
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1801279b0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180127a30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180127ae0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x38], xmm2
jmp 0x180047913
lea r9, [rbp - 0x38]
mov r8d, r12d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x1800478e0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rbp - 0x38]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x180047930
mov r8, rbx
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.18005a420
jmp 0x180047f94
test rdx, rdx
jne 0x180047a8d
mov eax, dword [str.uwm:]
mov dword [rbp - 0x38], eax
cmp byte [0x18011f567], r12b
je 0x180047a53
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180047a0a
movdqa xmm3, xmmword [0x180127970]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x180127d60]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x180127d60]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
mov ecx, 5
movd xmm0, ecx
psrad xmm2, xmm0
mov ecx, Ordinal_33
movd xmm0, ecx
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1801279b0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180127a30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180127ae0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x38], xmm2
jmp 0x180047a53
lea r9, [rbp - 0x38]
mov r8d, r12d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x180047a20
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rbp - 0x38]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x180047a70
mov r8, rbx
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.18005a420
jmp 0x180047f94
mov qword [rbp - 0x38], r12
lea rcx, [rdx + 0xae8]
mov r8d, 8
lea rdx, [rbp - 0x38]
call fcn.180043270
mov rbx, qword [rbp - 0x38]
test rbx, rbx
jne 0x180047bdd
mov eax, dword [str.uwm:]
mov dword [rbp - 0x38], eax
cmp byte [0x18011f567], r12b
je 0x180047ba3
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180047b68
movdqa xmm3, xmmword [0x180127970]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x180127d60]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x180127d60]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
mov ecx, 5
movd xmm0, ecx
psrad xmm2, xmm0
mov ecx, Ordinal_33
movd xmm0, ecx
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1801279b0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180127a30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180127ae0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x38], xmm2
jmp 0x180047ba3
lea r9, [rbp - 0x38]
mov r8d, r12d
nop
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x180047b70
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rbp - 0x38]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x180047bc0
mov r8, rbx
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.18005a420
jmp 0x180047f94
mov dword [rbp - 0x38], r12d
lea rcx, [rbx + 0x10]
mov r8d, 4
lea rdx, [rbp - 0x38]
call fcn.180043270
movsxd rsi, dword [rbp - 0x38]
test rsi, rsi
jne 0x180047d2d
mov eax, dword [str.uwm:]
mov dword [rbp - 0x38], eax
cmp byte [0x18011f567], r12b
je 0x180047cf3
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180047cb5
movdqa xmm3, xmmword [0x180127970]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x180127d60]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x180127d60]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
mov ecx, 5
movd xmm0, ecx
psrad xmm2, xmm0
mov ecx, Ordinal_33
movd xmm0, ecx
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1801279b0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180127a30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180127ae0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x38], xmm2
jmp 0x180047cf3
lea r9, [rbp - 0x38]
mov r8d, r12d
nop dword [rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x180047cc0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rbp - 0x38]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x180047d10
mov r8, rbx
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.18005a420
jmp 0x180047f94
mov qword [rbp - 0x38], r12
lea rcx, [rbx + 8]
mov r8d, 8
lea rdx, [rbp - 0x38]
call fcn.180043270
cmp qword [rbp - 0x38], r12
jne 0x180047e7d
mov eax, dword [str.uwm:]
mov dword [rbp - 0x38], eax
cmp byte [0x18011f567], r12b
je 0x180047e43
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180047e02
movdqa xmm3, xmmword [0x180127970]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x180127d60]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x180127d60]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
mov ecx, 5
movd xmm0, ecx
psrad xmm2, xmm0
mov ecx, Ordinal_33
movd xmm0, ecx
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1801279b0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180127a30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180127ae0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x38], xmm2
jmp 0x180047e43
lea r9, [rbp - 0x38]
mov r8d, r12d
nop dword [rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x180047e10
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rbp - 0x38]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x180047e60
mov r8, rbx
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.18005a420
jmp 0x180047f94
mov eax, 2
mul rsi
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.1800e6cb4
mov r14, rax
lea r8, [rsi + rsi]
mov rdx, rax
mov rcx, qword [rbp - 0x38]
call fcn.180043270
mov r9d, r12d
mov rdx, r14
lea ecx, [rsi - 1]
mov r8d, r12d
movzx ecx, cl
test esi, esi
cmovne r8d, ecx
and r8d, 3
nop dword [rax]
nop dword [rax + rax]
lea eax, [rsi - 1]
test esi, esi
cmove eax, r12d
cmp r9d, eax
jge 0x180047ef6
add r8d, 3
inc r9d
movzx eax, r8w
and ax, 7
add word [rdx], ax
add rdx, 2
jmp 0x180047ed0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
inc rbx
cmp word [r14 + rbx*2], r12w
jne 0x180047f05
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.18007d240
nop
mov rcx, r14
call fcn.1800e6490
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x20]
cmp qword [rbp - 0x18], 8
jb 0x180047f40
mov rdx, qword [rbp - 0x30]
lea r8, [rdx + rax*2]
jmp 0x180047f48
lea r8, [rcx + rax*2]
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.18007b940
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x180047f94
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180047f8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180047f8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e6490
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800e63a0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret