Function at 0x18008d5e0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x180174838]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r14d, r14d
mov dword [rbp - 0x71], r14d
xor r9d, r9d
lea r8, [rbp - 0x59]
xor edx, edx
lea rbx, [0x180177c28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x18008df2f
lea rdi, [r14 - 1]
cmp dword [rbp - 0x59], r14d
je 0x18008d6ee
mov qword [rbp - 0x69], rbx
mov dword [rbp - 0x61], 4
movdqa xmm0, xmmword [0x18012ae90]
movdqu xmmword [rbp - 0x51], xmm0
mov dword [rbp - 0x41], 0xfec6a7a8
mov word [rbp - 0x3d], 0xed
mov byte [rbp - 0x3b], 1
mov ecx, r14d
nop word [rax + rax]
lea eax, [rcx + 0x78]
xor byte [rbp + rcx - 0x51], al
inc rcx
cmp rcx, 0x15
jb 0x18008d680
mov byte [rbp - 0x3b], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], r14
lea rax, [rbp - 0x51]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18008d6b0
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x39]
call fcn.18005c5d0
lea rdx, [rbp - 0x39]
lea rcx, [0x180177b10]
call fcn.180090470
nop
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x18008df35
mov dword [rbp - 0x69], 0x33f5a5b
mov dword [rbp - 0x65], 0xb0b1e19
mov dword [rbp - 0x61], 0xe5e4f3ef
mov word [rbp - 0x5d], 0xe5
mov byte [rbp - 0x5b], 1
mov rcx, r14
lea eax, [rcx + 0x78]
xor byte [rbp + rcx - 0x69], al
inc rcx
cmp rcx, 0xd
jb 0x18008d710
mov byte [rbp - 0x5b], 0
xor edx, edx
lea r8d, [rdx + 0xb]
lea rcx, [rbp - 0x69]
call fcn.18001c690
mov dword [rbp - 0x69], 0x5b1b0c34
mov dword [rbp - 0x65], 0x1c1b0539
mov dword [rbp - 0x61], 0xf1edf5f5
mov word [rbp - 0x5d], 0x100
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x78]
xor byte [rbp + rcx - 0x69], al
inc rcx
cmp rcx, 0xc
jb 0x18008d760
mov byte [rbp - 0x5c], 0
call fcn.180059700
lea rcx, [rbp - 0x79]
call fcn.180024280
movss xmm6, dword [rax]
movss xmm7, dword [0x1801014bc]
movss dword [rsp + 0x20], xmm7
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x59]
call fcn.18001fe50
mulss xmm6, dword [0x180101428]
movss xmm2, dword [rax]
mulss xmm2, dword [0x180101428]
subss xmm6, xmm2
movaps xmm1, xmm7
movaps xmm0, xmm6
call fcn.180030bc0
lea rcx, [rbp - 0x69]
call fcn.180059950
call fcn.180059700
mov ecx, 1
call fcn.18008cc10
mov dword [rbp - 0x59], 0x44480000
mov dword [rbp - 0x55], 0x43fa0000
xor edx, edx
lea rcx, [rbp - 0x59]
call fcn.180031eb0
mov ecx, dword [0x180178278]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x180177f80], eax
jg 0x18008deec
call fcn.180068910
mov rdx, rax
lea rcx, [0x180177c30]
call fcn.18006c230
mov byte [0x180177cab], 0
call fcn.1800661f0
mov rdx, rax
lea rcx, [0x180177c30]
call fcn.18006c490
xor edx, edx
lea rcx, [0x180177c30]
call fcn.18006c4d0
lea rcx, [rbp - 0x79]
call fcn.180024280
movss xmm6, dword [rax + 4]
subss xmm6, dword [0x180101610]
lea rcx, [rbp - 0x69]
call fcn.180024280
movss xmm0, dword [rax]
movss dword [rbp - 0x59], xmm0
movss dword [rbp - 0x55], xmm6
xor r9d, r9d
lea r8, [rbp - 0x59]
lea rdx, str.TextEditor
lea rcx, [0x180177c30]
call fcn.18006bc50
mov qword [rbp - 0x59], 0
mov dword [rbp - 0x69], 0x91b3a58
mov dword [rbp - 0x65], 0x1e19180e
mov dword [rbp - 0x61], 0xece1a1f2
mov dword [rbp - 0x5d], 0x100e0e0
mov rcx, r14
nop dword [rax]
lea eax, [rcx + 0x78]
xor byte [rbp + rcx - 0x69], al
inc rcx
cmp rcx, 0xe
jb 0x18008d8d0
mov byte [rbp - 0x5a], 0
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x69]
call fcn.18004d5b0
test al, al
je 0x18008d90d
lea rdx, [rbp - 0x19]
lea rcx, [0x180177c30]
call fcn.180066840
mov rcx, rax
call fcn.180096fa0
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.180030bc0
mov qword [rbp - 0x59], 0
mov dword [rbp - 0x69], 0x16133558
mov dword [rbp - 0x65], 0xc1c0c
mov byte [rbp - 0x61], 1
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx + 0x78]
xor byte [rbp + rcx - 0x69], al
inc rcx
cmp rcx, 7
jb 0x18008d940
mov byte [rbp - 0x61], 0
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x69]
call fcn.18004d5b0
test al, al
je 0x18008d9f3
mov byte [0x1801773d0], 0
xor r8d, r8d
lea rdx, [0x1801380eb]
lea rcx, [0x180174428]
call fcn.18000b3a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x39], 0
lea rdx, [rbp - 0x39]
lea rcx, [0x180177c30]
call fcn.18006c940
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x18008d9ec
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d9e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008d9e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
mov byte [0x180176494], 0
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.180030bc0
mov qword [rbp - 0x79], 0
mov dword [rbp - 0x59], 0xe365758
mov word [rbp - 0x55], Ordinal_30
mov byte [rbp - 0x53], 1
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx + 0x78]
xor byte [rbp + rcx - 0x59], al
inc rcx
cmp rcx, 5
jb 0x18008da20
mov byte [rbp - 0x53], 0
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x59]
call fcn.18004d5b0
test al, al
je 0x18008dc84
mov dword [rbp - 0x59], 0x1a0f1556
mov word [rbp - 0x55], 0x100
mov rcx, r14
nop dword [rax]
lea eax, [rcx + 0x78]
xor byte [rbp + rcx - 0x59], al
inc rcx
cmp rcx, 4
jb 0x18008da60
mov byte [rbp - 0x54], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
lea rax, [rbp - 0x59]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18008da90
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x19]
call fcn.18005c5d0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r14
mov edx, 1
lea rcx, [rbp - 0x51]
call fcn.180015140
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
lea rbx, [rax + 0x20]
mov qword [rbp - 0x41], rbx
lea rcx, [rbp - 0x51]
mov qword [rbp - 0x69], rcx
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x51]
mov qword [rbp - 0x29], rcx
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.18000a7a0
nop
mov qword [rbp - 0x49], rbx
lea rdx, [rbp - 0x51]
lea rcx, [0x180177b10]
call fcn.1800909b0
nop
mov rbx, qword [rbp - 0x51]
test rbx, rbx
je 0x18008dbbb
mov rsi, qword [rbp - 0x49]
cmp rbx, rsi
je 0x18008db74
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18008db58
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18008db53
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008dba0
mov rcx, r8
call fcn.1800f5030
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rsi
jne 0x18008db22
mov rbx, qword [rbp - 0x51]
mov rdx, qword [rbp - 0x41]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18008dba7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008dba7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800f5030
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r14
lea r9, [fcn.18000a670]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea r8d, [rdx - 0x1f]
lea rcx, [rbp - 0x19]
call fcn.1800f520c
mov rbx, qword [0x180177bc8]
mov r8, qword [rbx + 8]
lea rdx, [0x180177bc8]
lea rcx, [0x180177bc8]
call fcn.180075140
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x180177bd0], r14
mov rax, qword [0x180177bf0]
mov byte [rax], 0
mov byte [0x180177b63], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
movdqa xmm6, xmmword [0x180109f10]
mov byte [rbp - 0x19], 0
mov rdx, qword [0x180177b80]
cmp rdx, 0x10
jb 0x18008dc69
mov rcx, qword [0x180177b68]
inc rdx
cmp rdx, 0x1000
jb 0x18008dc64
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008dea1
mov rcx, r8
call fcn.1800f5030
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [0x180177b68], xmm0
movups xmmword [0x180177b78], xmm6
mov word [0x180177b60], 1
call fcn.180021770
cmp byte [0x180177b63], 0
je 0x18008dead
cmp qword [0x180177bd0], 0
jne 0x18008dcb2
lea rdx, [0x180177ba8]
lea rcx, [rbp - 0x39]
call fcn.180081cc0
jmp 0x18008dce1
mov rax, qword [0x180177bc8]
mov rbx, qword [rax]
lea rdx, [0x180177ba8]
lea rcx, [rbp - 0x39]
call fcn.180081cc0
mov dword [rbp - 0x71], 2
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x39]
call fcn.180087110
nop
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.18009e9d0
mov rdx, rax
lea rcx, [0x1801744a8]
call fcn.18000a6d0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x18008dd3b
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008dd36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008dd36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
movdqa xmm0, xmmword [0x180109f10]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
lea rcx, [rbp - 0x39]
call fcn.18000a270
mov rbx, qword [0x180177bc8]
mov r8, qword [rbx + 8]
lea rdx, [0x180177bc8]
lea rcx, [0x180177bc8]
call fcn.180075140
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x180177bd0], r14
mov rax, qword [0x180177bf0]
mov byte [rax], 0
mov byte [0x180177b63], 0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
movdqa xmm6, xmmword [0x180109f10]
movdqu xmmword [rbp + 0x17], xmm6
mov byte [rbp + 7], 0
lea rdx, [0x1801744a8]
lea rcx, [rbp - 0x19]
call fcn.18008ce50
lea rcx, [rbp + 7]
cmp rcx, rax
je 0x18008dde6
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm6, xmmword [rax + 0x10]
movdqu xmmword [rbp + 0x17], xmm6
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x18008de24
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008de1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008de1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
lea rdx, [rbp + 7]
psrldq xmm6, 8
movq rax, xmm6
cmp rax, 0x10
cmovae rdx, qword [rbp + 7]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], r14
nop word [rax + rax]
inc rdi
cmp byte [rdx + rdi], 0
jne 0x18008de50
mov r8, rdi
lea rcx, [rbp - 0x39]
call fcn.18005c5d0
lea rcx, [rbp - 0x39]
call fcn.180096fa0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x18008dead
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008dea8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008dea8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
lea rcx, [0x180177b10]
call fcn.180088470
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800f5150
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
lea rcx, [0x180177f80]
call fcn.1800f5704
cmp dword [0x180177f80], 0xffffffff
jne 0x18008d822
lea rcx, [0x180177c30]
call fcn.180060060
lea rcx, [0x1800fa850]
call fcn.1800f5644
nop
lea rcx, [0x180177f80]
call fcn.1800f5698
jmp 0x18008d822
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
int3
call fcn.1800f44a0
int3