Function at 0x180046990
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 [0x180109070]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x100c6c8
xor r12d, r12d
mov ecx, r12d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 2
jb 0x1800469e0
mov byte [rsp + 0x23], r12b
movdqa xmm0, xmmword [0x1800f5eb0]
movdqu xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], 0x100e6f7
mov rcx, r12
nop
lea eax, [rcx - 0x7f]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 0x12
jb 0x180046a10
mov byte [rsp + 0x4b], r12b
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x38]
call fcn.1800457d0
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 0x180046a52
mov rdx, rax
lea rcx, [rbp]
call fcn.180047020
nop
mov r14, qword [rbp + 0x18]
cmp r14, 0x10
setae r15b
mov rdi, qword [rbp]
mov rcx, r12
cmp qword [rbp + 0x10], 0
jne 0x180046da9
mov dword [rsp + 0x28], 0xf1edbca1
mov dword [rsp + 0x2c], 0xb6b5a6e9
mov dword [rsp + 0x30], 0xe7ffe7
mov byte [rsp + 0x34], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 0xb
jb 0x180046ab0
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x70]
call fcn.180045ec0
mov rdx, rax
movdqa xmm0, xmmword [0x1800f59e0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1800f5d70]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1800f5990]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1800f57d0]
movdqa xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x30], 0xe1
mov byte [rbp - 0x2e], 1
mov rcx, r12
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rbp + rcx - 0x70], al
inc rcx
cmp rcx, 0x41
jb 0x180046b20
mov byte [rbp - 0x2e], 0
lea rax, [rbp - 0x70]
mov r9, rbx
nop dword [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x180046b40
lea r8, [rbp - 0x70]
mov rcx, rdx
call fcn.18006fb70
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 0x180046b90
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.180066590
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 0x180046c13
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046c0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046c0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d15ac
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 0x180046c65
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046c60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046c60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d15ac
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], 0x100c6c8
mov rcx, r12
nop word [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 2
jb 0x180046ca0
mov byte [rsp + 0x23], 0
movdqa xmm0, xmmword [0x1800f5eb0]
movdqu xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], 0x100e6f7
mov rcx, r12
nop
lea eax, [rcx - 0x7f]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 0x12
jb 0x180046cd0
mov byte [rsp + 0x4b], 0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x38]
call fcn.1800457d0
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 0x180046d06
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.180047020
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x180046d5c
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046d57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046d57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d15ac
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
test r15b, r15b
je 0x180046e75
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180046e6d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046e6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rsp + 0x28], 0x100c6c8
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 2
jb 0x180046dc0
mov byte [rsp + 0x2b], 0
movdqa xmm0, xmmword [0x1800f5eb0]
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0x100e6f7
mov rcx, r12
nop dword [rax]
lea eax, [rcx - 0x7f]
xor byte [rbp + rcx - 0x20], al
inc rcx
cmp rcx, 0x12
jb 0x180046df0
mov byte [rbp - 0xd], 0
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x20]
call fcn.1800457d0
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 0x180046e24
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.180047020
nop
test r15b, r15b
je 0x180046e75
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180046e6d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046e6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1800d15ac
mov rax, rsi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800d12f0
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