Function at 0x1800b39e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x180249a80]
xor rax, rsp
mov qword [rbp + 0x290], rax
xorps xmm0, xmm0
mov qword [rbp - 0x68], rdx
xor r12d, r12d
lea rcx, [rbp + 0x140]
mov dword [rbp + 0x90], r12d
xor eax, eax
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x180], rax
mov r13d, r12d
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
call fcn.1800640c0
movdqa xmm0, xmmword [0x1801c7110]
lea rax, [rsp + 0x38]
movdqa xmm1, xmmword [0x1801c7330]
mov rdi, 0xffffffffffffffff
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x58], reloc.WS2_32.dll_WSACleanup
mov r8, rdi
movdqu xmmword [rsp + 0x48], xmm1
mov byte [rsp + 0x5a], r12b
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x120], xmm0
movdqu xmmword [rbp + 0x130], xmm1
nop
inc r8
cmp byte [rax + r8], r12b
jne 0x1800b3aa0
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x120]
call fcn.180001450
cmp qword [rbp + 0x160], 0xf
lea rax, [rbp + 0x148]
mov qword [rbp + 0x158], r12
cmova rax, qword [rbp + 0x148]
mov byte [rax], r12b
lea rax, [rbp + 0x168]
cmp qword [rbp + 0x180], 0xf
mov qword [rbp + 0x178], r12
cmova rax, qword [rbp + 0x168]
mov byte [rax], r12b
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x1800b3b4e
cmp qword [rbp + 0x138], 0xf
lea r8, [rbp + 0x120]
mov edx, 0x2712
cmova r8, qword [rbp + 0x120]
call fcn.18015d840
mov rcx, qword [rbp + 0x140]
call fcn.18015b020
test eax, eax
jne 0x1800b3b4e
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0xf0]
call fcn.180063490
jmp 0x1800b3b7c
xorps xmm0, xmm0
lea rdx, str.0123456789ABDEFGHIJKLMNOPQRSTUVWXYZ
xorps xmm1, xmm1
lea rcx, [rbp + 0xf0]
mov r8d, 1
movups xmmword [rbp + 0xf0], xmm0
movdqu xmmword [rbp + 0x100], xmm1
call fcn.180001450
xor edx, edx
lea rcx, [rbp + 0x110]
call fcn.180062b70
cmp qword [rbp + 0x108], 0xf
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x70], r12
cmova rcx, qword [rbp + 0xf0]
lea r8, [rsp + 0x38]
add rcx, qword [rbp + 0x100]
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0x108], 0xf
mov r9b, 1
mov qword [rbp + 0x98], rcx
lea rcx, [rbp - 0x60]
cmova rax, qword [rbp + 0xf0]
mov qword [rbp + 0x90], rax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x90], xmm0
mov byte [rsp + 0x20], r12b
call fcn.18005ef40
lea r8, [rbp + 0x110]
mov dl, 1
mov rcx, rax
call fcn.1800e2b10
lea rcx, [rbp - 0x18]
call fcn.180069030
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1800b3c31
mov rax, qword [rcx]
lea rdx, [rbp - 0x60]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
xorps xmm0, xmm0
mov dword [rbp + 0x92], 0x747261
xorps xmm1, xmm1
mov word [rbp + 0x90], 0x6d73
movups xmmword [rsp + 0x38], xmm0
mov byte [rbp + 0x96], r12b
lea rax, [rbp + 0x90]
movdqu xmmword [rsp + 0x48], xmm1
mov r8, rdi
inc r8
cmp byte [rax + r8], r12b
jne 0x1800b3c66
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x38]
call fcn.180001450
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x110]
call fcn.180069ae0
xorps xmm0, xmm0
mov qword [rbp + 0xc8], r12
mov r15d, reloc.WS2_32.dll_ntohs
mov r14, r12
movups xmmword [rbp + 0xb8], xmm0
cmp byte [rax], 3
mov qword [rbp + 0xd0], r15
mov byte [rbp + 0xb8], r12b
je 0x1800b3cc5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rdx, qword [rax + 8]
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x3f0], rbx
mov qword [rsp + 0x400], rsi
cmp rax, rdx
je 0x1800b3d0c
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], r15
jbe 0x1800b3cf2
mov rdx, qword [rdx]
lea rcx, [rbp + 0xb8]
call fcn.18000ab50
mov r15, qword [rbp + 0xd0]
mov r14, qword [rbp + 0xc8]
xorps xmm0, xmm0
mov word [rbp + 0x97], WSAGetLastError
movups xmmword [rsp + 0x38], xmm0
mov dword [rbp + 0x90], 0x39343938
lea rax, [rbp + 0x90]
mov word [rbp + 0x94], 0x3430
mov r8, rdi
mov byte [rbp + 0x96], WSAGetLastError
mov byte [rbp + 0x99], r12b
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
inc r8
cmp byte [rax + r8], r12b
jne 0x1800b3d52
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x38]
call fcn.180001450
mov rsi, r14
mov qword [rbp + 0xb0], r12
shr rsi, 1
mov rcx, r12
mov rbx, r12
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rbx
je 0x1800b3df9
cmp rsi, 0x1000
jb 0x1800b3dc4
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1800b4412
call fcn.1801a8d04
mov rcx, rax
test rax, rax
je 0x1800b41da
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800b3dcc
mov rcx, rsi
call fcn.1801a8d04
lea rbx, [rsi + rax]
mov qword [rbp + 0xa0], rax
mov r8, rsi
mov qword [rbp + 0xb0], rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbp + 0xa0]
mov qword [rbp + 0xa8], rbx
cmp rbx, rcx
je 0x1800b4036
xor ebx, ebx
mov esi, ebx
nop word [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0xf8
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1801c0250]
mov qword [rbp + 0x190], rax
lea rcx, [rbp + 0x228]
lea rax, [0x1801c0258]
mov qword [rbp + 0x1a0], rax
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
xor r8d, r8d
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0x190]
or r13d, 1
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]
mov rax, qword [rbp + 0x190]
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 + 0x190], rax
mov rax, qword [rbp + 0x190]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x18c], edx
lea rcx, [rbp + 0x1a8]
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 + 0x210], rbx
lea rdx, [0x1800ba810]
mov qword [rbp + 0x1a8], rax
lea rcx, [rbp + 0x1a0]
mov dword [rbp + 0x218], ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
movups xmmword [rsp + 0x78], xmm0
cmp r14, rsi
jb 0x1800b4418
sub r14, rsi
lea rdx, [rbp + 0xb8]
mov r8d, 2
lea rcx, [rsp + 0x78]
cmp r14, r8
cmovb r8, r14
cmp r15, 0xf
cmova rdx, qword [rbp + 0xb8]
add rdx, rsi
call fcn.180001450
cmp qword [rbp - 0x70], 0xf
lea rdx, [rsp + 0x78]
mov r8, qword [rbp - 0x78]
mov rcx, rbx
cmova rdx, qword [rsp + 0x78]
call fcn.180057780
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1800b3f7c
mov rcx, qword [rsp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b3f77
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b402f
call fcn.1801a8d40
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x190]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov rax, qword [rbp + 0xa0]
movzx ecx, byte [rbp + 0x90]
mov byte [r12 + rax], cl
mov rax, qword [rbp + 0x190]
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 + 0x190], rax
mov rax, qword [rbp + 0x190]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x18c], edx
lea rcx, [rbp + 0x1a8]
call fcn.180068e30
lea rcx, [rbp + 0x1b0]
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 + 0x228]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rbx, qword [rbp + 0xa8]
inc r12
mov rcx, qword [rbp + 0xa0]
mov rax, rbx
mov r15, qword [rbp + 0xd0]
sub rax, rcx
add rsi, 2
cmp r12, rax
jae 0x1800b4036
mov r14, qword [rbp + 0xc8]
xor ebx, ebx
jmp 0x1800b3e10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor r12d, r12d
mov rsi, rbx
mov qword [rbp + 0xe8], r12
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd8], xmm0
sub rsi, rcx
je 0x1800b40db
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x1800b441e
cmp rsi, 0x1000
jb 0x1800b409f
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1800b4412
call fcn.1801a8d04
mov rcx, rax
test rax, rax
je 0x1800b41da
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800b40a7
mov rcx, rsi
call fcn.1801a8d04
lea rbx, [rsi + rax]
mov qword [rbp + 0xd8], rax
mov r8, rsi
mov qword [rbp + 0xe8], rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbp + 0xa0]
mov qword [rbp + 0xe0], rbx
mov rbx, qword [rbp + 0xa8]
mov r14, qword [rsp + 0x50]
mov r9, r12
mov rsi, qword [rsp + 0x38]
cmp rbx, rcx
je 0x1800b4138
mov r10, qword [rsp + 0x48]
movzx r8d, byte [r9 + rcx]
mov rax, r9
ror r8b, 3
lea rcx, [rsp + 0x38]
cmp r14, 0xf
cmova rcx, rsi
xor edx, edx
div r10
mov rax, qword [rbp + 0xd8]
xor r8b, byte [rdx + rcx]
mov byte [r9 + rax], r8b
inc r9
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0xa0]
sub rax, rcx
cmp r9, rax
jb 0x1800b40f2
mov r8, qword [rbp + 0xe0]
lea r9, [rsp + 0x30]
mov rdx, qword [rbp + 0xd8]
lea rcx, [rsp + 0x38]
call fcn.1800538f0
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x1800b41a3
mov rdx, qword [rbp + 0xe8]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1800b418c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b41da
call fcn.1801a8d40
xorps xmm0, xmm0
mov qword [rbp + 0xe8], r12
movdqu xmmword [rbp + 0xd8], xmm0
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x1800b41e6
mov rdx, qword [rbp + 0xb0]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1800b41e1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b41e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801a8d40
movaps xmmword [rsp + 0x3b0], xmm6
movaps xmmword [rsp + 0x3a0], xmm7
cmp r15, 0xf
jbe 0x1800b4231
mov rcx, qword [rbp + 0xb8]
lea rdx, [r15 + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b422c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b4361
call fcn.1801a8d40
movups xmm7, xmmword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x48]
movups xmmword [rbp + 0xb8], xmm7
movups xmmword [rbp + 0xc8], xmm6
cmp r14, 0xf
jbe 0x1800b4280
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1800b4278
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b4361
mov rcx, rsi
call fcn.1801a8d40
psrldq xmm6, 8
lea rdx, [rbp + 0xb8]
movq rax, xmm6
movq rcx, xmm7
cmp rax, 0xf
cmova rdx, rcx
nop
inc rdi
cmp byte [rdx + rdi], r12b
jne 0x1800b42a0
mov r8, rdi
lea rcx, [0x1802491b0]
call fcn.18000ab50
mov rbx, qword [rbp - 0x68]
lea rdx, [0x1802491b0]
mov rcx, rbx
call fcn.180063490
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0xf
jbe 0x1800b4308
mov rcx, qword [rbp + 0xb8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b4303
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b4361
call fcn.1801a8d40
xor edx, edx
lea rcx, [rbp + 0x110]
call fcn.180073d30
movzx edx, byte [rbp + 0x110]
lea rcx, [rbp + 0x118]
call fcn.180083150
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x1800b436d
mov rcx, qword [rbp + 0xf0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b4368
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b4368
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801a8d40
mov r8, qword [rbp + 0x138]
movdqa xmm0, xmmword [0x1801c6e30]
mov byte [rbp + 0xf0], r12b
movdqu xmmword [rbp + 0x100], xmm0
cmp r8, 0xf
jbe 0x1800b43ac
mov rdx, qword [rbp + 0x120]
lea rcx, [rbp + 0x120]
call fcn.180071df0
movdqa xmm0, xmmword [0x1801c6e30]
lea rcx, [rbp + 0x140]
mov byte [rbp + 0x120], r12b
movdqu xmmword [rbp + 0x130], xmm0
call fcn.1800693a0
movaps xmm6, xmmword [rsp + 0x3b0]
mov rax, rbx
mov rbx, qword [rsp + 0x3f0]
movaps xmm7, xmmword [rsp + 0x3a0]
mov rsi, qword [rsp + 0x400]
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1801a9230
mov rdi, qword [rsp + 0x408]
add rsp, 0x3c0
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18000aaf0
int3
call fcn.1800737f0
int3
call fcn.1800737d0
int3