Function at 0x18004a680
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x18013a080]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov edi, r8d
mov rsi, rdx
xor edx, edx
cmp ecx, 0x7b
ja 0x18004a6c8
movsxd rax, ecx
lea rdx, [0x1801f9740]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x180127910]
movdqu xmmword [rbp - 0x30], xmm1
mov byte [rbp - 0x40], 0
lea rax, [0x1800f96e6]
mov rbx, 0xffffffffffffffff
mov r8, rbx
cmp rdx, rax
jne 0x18004a760
movsd xmm0, qword [str.d_U_XH]
movsd qword [rbp - 0x50], xmm0
movzx ecx, word [0x180120560]
mov word [rbp - 0x48], cx
movzx eax, byte [0x180120562]
mov byte [rbp - 0x50], 0x53
xor byte [rbp - 0x4f], 0x38
xor byte [rbp - 0x4e], 0x39
xor byte [rbp - 0x4d], 0x3a
xor byte [rbp - 0x4c], 0x3b
xor byte [rbp - 0x4b], 0x3c
xor byte [rbp - 0x4a], 0x3d
xor byte [rbp - 0x49], 0x3e
xor cl, 0x3f
mov byte [rbp - 0x48], cl
xor byte [rbp - 0x47], 0x40
xor al, 0x41
mov byte [rbp - 0x46], al
lea rax, [rbp - 0x50]
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18004a750
lea rdx, [rbp - 0x50]
jmp 0x18004a76a
inc r8
cmp byte [rdx + r8], 0
jne 0x18004a760
lea rcx, [rbp - 0x40]
call fcn.18007adc0
cmp edi, 1
jne 0x18004a930
movsd xmm0, qword [str.gJIH]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [0x18011f858]
mov dword [rbp - 0x48], eax
movzx eax, word [0x18011f85c]
mov word [rbp - 0x44], ax
cmp byte [0x18011f85d], 0
je 0x18004a913
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18004a8c9
movdqa xmm4, xmmword [0x180127d60]
mov eax, 5
movd xmm6, eax
mov eax, Ordinal_33
movd xmm5, eax
movdqa xmm2, xmmword [0x180127970]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801279b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180127a30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180127ae0]
movd xmm0, dword [str.gJIH]
xorps xmm2, xmm0
movd dword [rbp - 0x50], xmm2
movdqa xmm3, xmmword [0x180127990]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801279b0]
psubd xmm3, xmm0
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, dword [rbp - 0x4c]
xorps xmm2, xmm0
movd dword [rbp - 0x4c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
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, 0xe
jl 0x18004a8e0
lea rax, [rbp - 0x50]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18004a917
mov r8, rbx
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x40]
call fcn.18007adc0
mov dword [rbp - 0x50], 0x42fa0000
mov dword [rbp - 0x4c], 0x41a00000
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
lea rdx, [rbp - 0x50]
call fcn.18002f960
test al, al
je 0x18004a98c
test edi, edi
jne 0x18004a98c
mov rax, qword [0x1801fb1d0]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call rax
test rax, rax
je 0x18004a98c
mov rcx, rax
call qword [0x1801fb208]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18004a9ca
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004a9c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004a9c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e6490
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1800e63a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop rbp
ret