Function at 0x1800c4790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov r9d, dword [0x1802e1470]
mov rbx, r8
mov rax, qword gs:[0x58]
mov rsi, rdx
mov qword [rsp + 0x78], rdi
mov rdi, rcx
mov ecx, Ordinal_41
mov rax, qword [rax + r9*8]
mov eax, dword [rcx + rax]
cmp dword [0x1802e0ec0], eax
jg 0x1800c4863
mov rcx, qword [rdi]
mov rbx, qword [0x1802e0eb8]
mov rdi, qword [rsp + 0x78]
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x1800c47ef
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x1b
jl 0x1800c4810
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, rbx
lea rcx, [0x1802e0ec0]
mov qword [0x1802e0eb8], rax
call fcn.180157c24
jmp 0x1800c47d0
lea rcx, [0x1802e0ec0]
call fcn.180157c90
cmp dword [0x1802e0ec0], 0xffffffff
jne 0x1800c47d0
movzx eax, word [0x1801aa378]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm3, xmmword [0x1801aa360]
mov word [rsp + 0x38], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_79]
movsd xmm0, qword [0x1801aa370]
mov byte [rsp + 0x3a], al
movups xmmword [rsp + 0x20], xmm3
movsd qword [rsp + 0x30], xmm0
jl 0x1800c4b31
movdqa xmm5, xmmword [0x1801aecf0]
movdqa xmm2, xmmword [0x180168c90]
movdqa xmm4, xmmword [0x18016fe50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movd eax, xmm3
movdqa xmm3, xmmword [0x18016fdb0]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [str.1111]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
movaps xmmword [rsp + 0x40], xmm7
movdqa xmm7, xmmword [str.5555555555555555]
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x18016fd90]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rsp + 0x24]
andps xmm2, xmm4
pmuldq xmm1, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rsp + 0x24], xmm2
movdqa xmm2, xmmword [0x18016fdc0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rsp + 0x28]
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
pmuldq xmm1, xmm5
paddb xmm3, xmm7
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rsp + 0x28], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
movdqa xmm3, xmmword [0x18016fdd0]
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm1, xmm3
movd xmm0, dword [rsp + 0x2c]
andps xmm2, xmm4
punpckldq xmm1, xmm3
mov ecx, Ordinal_27
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
pmuldq xmm1, xmm5
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rsp + 0x2c], xmm2
movdqa xmm2, xmmword [0x18016fde0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rsp + 0x30]
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
pmuldq xmm1, xmm5
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rsp + 0x30], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x50]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x34]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movaps xmm7, xmmword [rsp + 0x40]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov eax, ecx
lea r8, [rsp + 0x20]
add r8, rax
jmp 0x1800c4810