Function at 0x180023690
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1801491e0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r13, rdx
mov rsi, rcx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rdx
movdqa xmm0, xmmword [0x18012ec10]
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x18012dde0]
movdqu xmmword [rsp + 0x68], xmm1
mov word [rsp + 0x78], 0x100
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.18003c5d0
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.18001e900
nop
mov dword [rsp + 0x50], 0x85878486
mov dword [rsp + 0x54], 0x1008b83
xor ebx, ebx
mov ecx, ebx
nop dword [rax + rax]
lea eax, [rcx - 0x37]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 6
jb 0x180023720
mov byte [rsp + 0x57], bl
mov qword [rbp], rbx
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], bl
mov r8d, 6
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.18003ffa0
nop
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
cmp r8, qword [rbp + 0x10]
jne 0x1800237d5
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800237d5
movdqa xmm0, xmmword [0x18012ec10]
movdqu xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x68], 0xe9f5e2e0
mov word [rsp + 0x6c], 0xed
mov byte [rsp + 0x6e], 1
mov rcx, rbx
lea eax, [rcx - 0x37]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 0x15
jb 0x1800237b0
mov byte [rsp + 0x6e], 0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, [rsp + 0x58]
jmp 0x1800239d0
movdqa xmm0, xmmword [0x18012ec10]
movdqu xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x18012dbc0]
movdqu xmmword [rbp - 0x48], xmm1
mov dword [rbp - 0x38], 0xaeb2aca2
mov word [rbp - 0x34], 0xa9
mov byte [rbp - 0x32], 1
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.18002cb30
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.18001e900
mov rdi, rax
lea rax, [rbp - 0x20]
cmp rax, rdi
je 0x18002384e
lea rcx, [rbp - 0x20]
call fcn.18003ff40
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
lea rcx, [rsp + 0x58]
call fcn.18003ff40
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
cmp r8, qword [rbp + 0x10]
jne 0x1800238c5
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800238c5
movdqa xmm0, xmmword [0x18012ec10]
movdqu xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x68], 0xe9f5e2e0
mov dword [rsp + 0x6c], 0xd8e7e4ed
mov dword [rsp + 0x70], 0x100d2d9
mov rcx, rbx
lea eax, [rcx - 0x37]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 0x1a
jb 0x1800238b0
jmp 0x1800239c0
movdqa xmm0, xmmword [0x18012e6f0]
movdqu xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x18012dbb0]
movdqu xmmword [rbp - 0x48], xmm1
mov dword [rbp - 0x38], 0xaeb2aca2
mov word [rbp - 0x34], 0xa9
mov byte [rbp - 0x32], 1
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.18002cb30
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.18001e900
mov rdi, rax
lea rax, [rbp - 0x20]
cmp rax, rdi
je 0x18002393e
lea rcx, [rbp - 0x20]
call fcn.18003ff40
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
lea rcx, [rsp + 0x58]
call fcn.18003ff40
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
cmp r8, qword [rbp + 0x10]
jne 0x180023b4d
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180023b4d
movdqa xmm0, xmmword [0x18012e6f0]
movdqu xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x68], 0xb3b8f4a0
mov dword [rsp + 0x6c], 0xd4e7e4b0
mov dword [rsp + 0x70], 0x100d1d5
mov rcx, rbx
nop dword [rax + rax]
lea eax, [rcx - 0x37]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 0x1a
jb 0x1800239b0
lea rdx, [rsp + 0x58]
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov byte [rsp + 0x73], 0
movdqa xmm0, xmmword [0x18012c790]
mov qword [rbp - 0x80], rbx
movdqu xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x80]
call fcn.18003ffa0
lea rcx, [0x180173790]
call fcn.18003ff40
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [0x180173790], xmm0
movups xmm1, xmmword [rbp - 0x70]
movdqa xmm0, xmmword [0x18012c790]
movaps xmmword [0x1801737a0], xmm1
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
lea rcx, [rbp - 0x80]
call fcn.18003ff40
mov dword [rsp + 0x40], 0x82989fe6
mov dword [rsp + 0x44], 0x87888f
mov byte [rsp + 0x48], 1
nop dword [rax + rax]
lea eax, [rbx - 0x37]
xor byte [rsp + rbx + 0x40], al
inc rbx
cmp rbx, 7
jb 0x180023a40
mov byte [rsp + 0x48], 0
mov rdx, qword [0x1801737a0]
lea rax, [rsp + 0x40]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x180023a70
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x180023b98
lea r9, [0x180173790]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r9, qword [0x180173790]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [0x180173790]
movzx edx, byte [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.1800469c0
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x20]
call fcn.18001e900
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x180023ae8
mov rdx, qword [rsi]
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rcx, qword [rbp + 0x20]
mov r8, qword [rbp + 0x30]
cmp r8, qword [rsi + 0x10]
jne 0x180023b43
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180023b43
mov byte [0x1801771ff], 1
lea rcx, [rbp + 0x20]
call fcn.18003ff40
nop
lea rcx, [rbp]
call fcn.18003ff40
nop
lea rcx, [rbp - 0x20]
call fcn.18003ff40
nop
mov rcx, rsi
call fcn.18003ff40
nop
mov rcx, r13
call fcn.18003ff40
mov al, 1
jmp 0x180023b74
lea rcx, [rbp + 0x20]
call fcn.18003ff40
nop
lea rcx, [rbp]
call fcn.18003ff40
nop
lea rcx, [rbp - 0x20]
call fcn.18003ff40
nop
mov rcx, rsi
call fcn.18003ff40
nop
mov rcx, r13
call fcn.18003ff40
xor al, al
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.180107ca0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop rdi
pop rbp
ret
call fcn.180014070
nop
int3