Function at 0x1800f7430
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x1802138c0]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r13, rcx
xor edi, edi
mov r12d, edi
mov dword [rsp + 0x20], edi
mov r8, qword [0x1802d8c28]
mov rax, qword [r8 + 0x140]
test rax, rax
je 0x1800a17f6
mov r14d, edi
cmp dword [rax + 8], edi
jle 0x1800a17f6
mov r15d, edi
nop word [rax + rax]
mov r9, qword [r8 + 0x140]
movsxd rdx, r14d
sar rdx, 5
mov rax, qword [r9 + 0x30]
mov ecx, r14d
and ecx, 0x1f
mov edx, dword [rax + rdx*4]
shr edx, cl
test dl, 1
je 0x1800a17de
mov rax, qword [r9]
mov rsi, qword [r15 + rax]
test rsi, rsi
je 0x1800a17de
movzx eax, byte [rsi + 0x9d]
and al, 0x1f
cmp al, 5
jne 0x1800a17de
lea rdx, [rsi + 0x2a4]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1800a1274
lea rcx, [rbp - 0x50]
call fcn.180025970
nop
lea rdx, [rsi + 0x298]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1800a12a5
lea rcx, [rbp - 0x70]
call fcn.180025970
nop
lea r10, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r10, qword [rbp - 0x70]
mov r9d, edi
mov r11, qword [rbp - 0x60]
add r11, r10
cmp r10, r11
je 0x1800a1316
nop word [rax + rax]
movzx r8d, byte [r10]
lea edx, [r8 - 0x41]
movzx eax, r8b
or al, 0x20
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
inc r10
cmp r10, r11
jne 0x1800a12e0
lea ecx, [r9 + r9*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul ebx, ecx, 0x8001
call fcn.180026500
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
movabs rcx, 0xdedf1c8bd47c2200
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
mov edx, dword [rcx]
mov rax, qword [r13]
cmp edx, dword [rax + 0xfd8]
jne 0x1800a17c4
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1801af638]
mov qword [rbp - 0x30], rax
lea rax, [0x1801af630]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r12d, 1
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x50], rdi
mov dword [rbp + 0x58], edi
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.180025820
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.180025820
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
seta r8b
mov rdx, qword [rsp + 0x70]
cmova rcx, rdx
cmp byte [rcx], 0
jne 0x1800a1450
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
cmp byte [rax], 0
je 0x1800a16dd
lea rbx, [rsp + 0x70]
test r8b, r8b
cmovne rbx, rdx
call fcn.180026500
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], rbx
inc dword [rax + 8]
movabs rcx, 0x7b5280eba9840c72
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
mov r9, qword [rcx]
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp byte [r9 + rdi], 0
jne 0x1800a14a0
mov rax, qword [rbp - 0x78]
cmp rdi, rax
ja 0x1800a14da
lea rbx, [rsp + 0x70]
cmp rax, 0xf
cmova rbx, qword [rsp + 0x70]
mov qword [rbp - 0x80], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1800a14e7
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1800318f0
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, qword [rsp + 0x50]
call fcn.180026500
xor ecx, ecx
mov dword [rax + 8], ecx
mov dword [rax + 0x18], ecx
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], rbx
inc dword [rax + 8]
movabs rcx, 0x7b5280eba9840c72
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
mov r9, qword [rcx]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [r9 + rdi], 0
jne 0x1800a1540
mov rax, qword [rsp + 0x68]
cmp rdi, rax
ja 0x1800a157c
lea rbx, [rsp + 0x50]
cmp rax, 0xf
cmova rbx, qword [rsp + 0x50]
mov qword [rsp + 0x60], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1800a1589
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1800318f0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
seta r10b
mov r8, qword [rsp + 0x70]
cmova rdx, r8
mov r9, qword [rbp - 0x80]
xor edi, edi
lea r11, str.NULL
cmp r9, 4
jne 0x1800a15e1
mov ecx, edi
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x1800a15d8
cmp rcx, 4
jne 0x1800a15c0
mov eax, edi
jmp 0x1800a15dd
sbb eax, eax
or eax, 1
test eax, eax
je 0x1800a1621
lea rdx, [rsp + 0x70]
test r10b, r10b
cmovne rdx, r8
cmp r9, 4
jne 0x1800a1698
mov rcx, rdi
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x1800a1618
cmp rcx, 4
jne 0x1800a1600
mov eax, edi
jmp 0x1800a161d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1800a1698
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
seta r10b
mov r8, qword [rsp + 0x50]
cmova rdx, r8
mov r9, qword [rsp + 0x60]
cmp r9, 4
jne 0x1800a1683
mov rax, rdi
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r11 + rax - 1]
jne 0x1800a1668
cmp rax, 4
jne 0x1800a1650
mov eax, edi
jmp 0x1800a166d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1800a1683
lea rdx, str.Unknown
lea rcx, [rbp - 0x20]
call fcn.18003dd00
jmp 0x1800a16dd
lea rdx, [rsp + 0x50]
test r10b, r10b
cmovne rdx, r8
mov r8, r9
lea rcx, [rbp - 0x20]
jmp 0x1800a16d8
lea rdx, [rsp + 0x70]
test r10b, r10b
cmovne rdx, r8
mov r8, r9
lea rcx, [rbp - 0x20]
call fcn.1800e9710
lea rdx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rax
call fcn.18003dd00
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rax
call fcn.1800e9710
mov rbx, qword [r13]
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x18]
call fcn.18003dc00
or r12d, 2
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x48], eax
mov rdx, qword [rbx + 0xfc8]
cmp rdx, qword [rbx + 0xfd0]
je 0x1800a174d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rdi
mov qword [rdx + 0x18], rdi
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
mov eax, dword [rsp + 0x48]
mov dword [rdx + 0x20], eax
add qword [rbx + 0xfc8], 0x28
jmp 0x1800a175f
lea r8, [rsp + 0x28]
lea rcx, [rbx + 0xfc0]
call fcn.1800e9b30
nop
lea rcx, [rsp + 0x28]
call fcn.180004250
nop
lea rcx, [rsp + 0x50]
call fcn.180004250
nop
lea rcx, [rsp + 0x70]
call fcn.180004250
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x18]
call fcn.18003eaa0
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x70]
call fcn.180004250
nop
lea rcx, [rbp - 0x50]
call fcn.180004250
mov r8, qword [0x1802d8c28]
inc r14d
add r15, 8
mov rax, qword [r8 + 0x140]
cmp r14d, dword [rax + 8]
jl 0x1800a1210
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.180168800
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
add rcx, 8
jmp 0x1800a11a0