Function at 0x180046940
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180107070]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x100acae
xor r12d, r12d
mov ecx, r12d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x19]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 2
jb 0x180046990
mov byte [rsp + 0x23], r12b
movdqa xmm0, xmmword [0x1800f3c40]
movdqu xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], 0x1008c91
mov rcx, r12
nop
lea eax, [rcx - 0x19]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 0x12
jb 0x1800469c0
mov byte [rsp + 0x4b], r12b
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x38]
call fcn.180045780
mov qword [rbp], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x180046a02
mov rdx, rax
lea rcx, [rbp]
call fcn.180046fa0
nop
mov r14, qword [rbp + 0x18]
cmp r14, 0x10
setae r15b
mov rdi, qword [rbp]
mov rcx, r12
cmp qword [rbp + 0x10], 0
jne 0x180046d59
mov dword [rsp + 0x28], 0x9f87d6c7
mov dword [rsp + 0x2c], 0xd0dfcc87
mov dword [rsp + 0x30], 0x9d8581
mov byte [rsp + 0x34], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x19]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 0xb
jb 0x180046a60
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x70]
call fcn.180045e70
mov rdx, rax
movdqa xmm0, xmmword [0x1800f3d70]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1800f3850]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1800f3880]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1800f3820]
movdqa xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x30], 7
mov byte [rbp - 0x2e], 1
mov rcx, r12
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x19]
xor byte [rbp + rcx - 0x70], al
inc rcx
cmp rcx, 0x41
jb 0x180046ad0
mov byte [rbp - 0x2e], 0
lea rax, [rbp - 0x70]
mov r9, rbx
nop dword [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x180046af0
lea r8, [rbp - 0x70]
mov rcx, rdx
call fcn.18006da50
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x28]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180046b40
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.180064580
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180046bc3
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046bbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046bbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180046c15
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046c10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046c10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x20], 0x100acae
mov rcx, r12
nop word [rax + rax]
lea eax, [rcx - 0x19]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 2
jb 0x180046c50
mov byte [rsp + 0x23], 0
movdqa xmm0, xmmword [0x1800f3c40]
movdqu xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], 0x1008c91
mov rcx, r12
nop
lea eax, [rcx - 0x19]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 0x12
jb 0x180046c80
mov byte [rsp + 0x4b], 0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x38]
call fcn.180045780
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
inc rbx
cmp byte [rax + rbx], 0
jne 0x180046cb6
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.180046fa0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x180046d0c
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046d07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046d07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
test r15b, r15b
je 0x180046e25
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180046e1d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046e1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rsp + 0x28], 0x100acae
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x19]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 2
jb 0x180046d70
mov byte [rsp + 0x2b], 0
movdqa xmm0, xmmword [0x1800f3c40]
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0x1008c91
mov rcx, r12
nop dword [rax]
lea eax, [rcx - 0x19]
xor byte [rbp + rcx - 0x20], al
inc rcx
cmp rcx, 0x12
jb 0x180046da0
mov byte [rbp - 0xd], 0
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x20]
call fcn.180045780
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
inc rbx
cmp byte [rax + rbx], 0
jne 0x180046dd4
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.180046fa0
nop
test r15b, r15b
je 0x180046e25
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180046e1d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046e1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1800cf59c
mov rax, rsi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800cf2e0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret