Function at 0x14001d944
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15, qword [0x140075988]
xor r14d, r14d
mov rbx, rcx
mov eax, dword [r15 + 0x3f60]
and byte [rcx + 0xc8], 0xfb
mov dword [rcx + 0xac], eax
mov qword [rcx + 0xa0], r14
mov qword [rcx + 0x98], r14
cmp qword [rcx + 0x18], r14
jne 0x14001d9b7
call fcn.14001d7ec
mov r13d, 1
cmp qword [rbx + 0x40], r14
je 0x14001d9d6
mov eax, dword [rbx + 0x10]
shr eax, 0xc
test r13b, al
je 0x14001d9d6
mov rcx, rbx
call fcn.14001ed54
mov r8, qword [rbx + 0x18]
mov r9b, r14b
mov r10d, 0x400
test r8, r8
jne 0x14001db2c
test dword [rbx + 0x10], r10d
jne 0x14001db2c
mov edx, dword [rbx + 0x30]
cmp edx, r13d
jg 0x14001da1e
cmp qword [rbx + 0x20], r14
jne 0x14001da1e
cmp byte [r15 + 0x72], r14b
jne 0x14001da1e
test edx, edx
je 0x14001da1b
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r14b
jne 0x14001da1e
mov r9b, r13b
cmp dword [rbx + 0xa8], r14d
je 0x14001da30
test r9b, r9b
je 0x14001db2c
cmp edx, r13d
jne 0x14001dad1
mov rax, qword [rbx + 0x38]
mov rdi, qword [rax]
mov eax, dword [rbx + 0xc4]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rdi + 0x48]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rbx + 0x48], xmm0
movsd xmm1, qword [rdi + 0x58]
and eax, 0xfffffffa
or eax, 2
movsd qword [rbx + 0x50], xmm1
mov dword [rbx + 0xc4], eax
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14001da92
cmp qword [r15 + 0x4268], rax
jne 0x14001da92
mov rcx, rdi
call fcn.140012864
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14001dad1
mov rdx, qword [rax + 0x30]
mov qword [rdi + 0x30], rdx
mov rax, qword [rbx + 0x88]
mov ecx, dword [rax + 0x38]
mov dword [rdi + 0x38], ecx
mov rax, qword [rbx + 0x88]
cmp byte [rax + 0xca], r14b
je 0x14001dad1
mov qword [rdx + 0x88], rdi
mov byte [rdi + 0xca], r13b
mov rcx, rbx
call fcn.14001d388
mov al, byte [rbx + 0xc8]
and al, 0xbf
mov dword [rbx + 0x14], r13d
and al, 0xe7
mov dword [rbx + 0xc0], r14d
mov byte [rbx + 0xc8], al
mov eax, dword [r15 + 0x3f60]
mov dword [rbx + 0xb0], eax
test byte [rbx + 0xc9], r13b
je 0x14001e28d
cmp dword [rbx + 0x30], r13d
jne 0x14001e28d
mov rdx, qword [rbx + 0x38]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.14001d780
jmp 0x14001e28d
test byte [rbx + 0xc8], r13b
je 0x14001db8b
cmp qword [rbx + 0x88], r14
jne 0x14001db8b
test r8, r8
jne 0x14001db8b
test dword [rbx + 0x10], r10d
jne 0x14001db8b
cmp qword [rbx + 0x20], r14
jne 0x14001db8b
mov edx, dword [rbx + 0xbc]
test edx, edx
je 0x14001db66
mov rcx, rbx
call fcn.14001d468
test rax, rax
jne 0x14001db6d
mov rax, qword [rbx + 0x38]
mov rax, qword [rax]
cmp byte [rax + 0xe4], r14b
jg 0x14001db7f
cmp byte [rax + 0xe5], r14b
jle 0x14001db8b
mov dword [rbx + 0x14], 2
jmp 0x14001e28d
mov r8d, dword [rbx + 0x30]
mov r12d, dword [rbx + 0x10]
test r8d, r8d
jle 0x14001dba1
mov cl, 0x10
bt r12d, 0xe
jae 0x14001dba4
mov cl, r14b
mov al, byte [rbx + 0xc8]
mov r10d, r14d
and al, 0xef
or al, cl
mov ecx, r12d
and al, 0xf7
mov byte [rbx + 0xc8], al
test r8d, r8d
jle 0x14001dc13
mov r9, r14
mov rax, qword [rbx + 0x38]
mov rdx, qword [r9 + rax]
lea r9, [r9 + 8]
mov al, byte [rbx + 0xc8]
mov cl, byte [rdx + 0xd5]
shl cl, 3
or cl, al
and al, 0xf7
and cl, 8
xor cl, al
mov byte [rbx + 0xc8], cl
cmp r8d, r13d
mov al, byte [rdx + 0x401]
setg cl
and al, 0xfe
or cl, al
add r10d, r13d
mov byte [rdx + 0x401], cl
mov r8d, dword [rbx + 0x30]
cmp r10d, r8d
jl 0x14001dbc4
mov ecx, dword [rbx + 0x10]
bt r12d, 0xf
jae 0x14001dc21
and byte [rbx + 0xc8], 0xf7
shr ecx, 0xa
mov rdi, r14
mov byte [rbp - 0x39], r14b
xorps xmm7, xmm7
test r13b, cl
je 0x14001dc3f
mov rdi, qword [rbx + 0x88]
jmp 0x14001dde3
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x14001ddae
test byte [rbx + 0xc8], r13b
je 0x14001ddc6
test r8d, r8d
jle 0x14001dc67
mov rax, qword [rbx + 0x38]
mov r10, qword [rax]
jmp 0x14001dc6a
mov r10, r14
mov eax, dword [rbx + 0xc4]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x14001dc86
test r10, r10
je 0x14001dca0
lea rcx, [r10 + 0x48]
jmp 0x14001dc8f
cmp eax, r13d
jne 0x14001dca0
lea rcx, [rbx + 0x48]
and dword [rbp - 0x35], edi
lea r8, [rbp - 0x35]
and dword [rbp - 0x31], edi
xor edx, edx
call fcn.140013010
mov eax, dword [rbx + 0xc4]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x14001dcbc
test r10, r10
je 0x14001dccc
lea rcx, [r10 + 0x58]
jmp 0x14001dcc5
cmp eax, r13d
jne 0x14001dccc
lea rcx, [rbx + 0x50]
xor edx, edx
call fcn.140013054
mov eax, dword [rbx + 0xc4]
and al, 0x38
cmp al, 0x10
jne 0x14001dce9
test r10, r10
je 0x14001dce9
mov cl, byte [r10 + 0xce]
call fcn.1400130b8
mov eax, dword [rbx + 0xc4]
and eax, 0x1c0
cmp eax, 0x80
jne 0x14001dd09
test r10, r10
je 0x14001dd09
mov ecx, dword [r10 + 0x38]
call fcn.1400130f0
lea rcx, [rbx + 0x64]
call fcn.140013108
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.14001bad4
xorps xmm0, xmm0
call fcn.1400130d8
and dword [rbp - 0x35], edi
lea rdx, [rbp - 0x35]
and dword [rbp - 0x31], edi
mov ecx, 2
call fcn.140007cbc
xor edx, edx
lea rcx, [rbp - 0x11]
mov r8d, 0x20081139
call fcn.1400102f8
mov ecx, r13d
call fcn.140007d3c
mov rdi, qword [r15 + 0x3fe0]
mov rcx, rbx
mov rdx, rdi
mov byte [rbp - 0x39], r13b
call fcn.14001d910
movss xmm0, dword [rdi + 0x48]
movss xmm1, dword [rdi + 0x4c]
movss dword [rdi + 0x118], xmm0
movss dword [rdi + 0x11c], xmm1
mov rcx, qword [rbx + 0x88]
movss dword [rbx + 0x48], xmm0
movss dword [rbx + 0x4c], xmm1
movsd xmm0, qword [rdi + 0x50]
movsd qword [rbx + 0x50], xmm0
cmp byte [rcx + 0xd1], r14b
je 0x14001ddbc
call fcn.1400126d4
jmp 0x14001ddbc
mov rdi, qword [rax + 0x88]
mov qword [rbx + 0x88], rdi
and dword [rbx + 0xc4], 0xfffffe00
test byte [rbx + 0xc9], r13b
je 0x14001dde3
mov rdx, qword [rbx + 0x88]
test rdx, rdx
je 0x14001dde3
mov rcx, rbx
call fcn.14001d780
mov rdx, qword [rbx + 0x18]
test rdx, rdx
jne 0x14001de1c
mov rax, qword [r15 + 0x4268]
test rax, rax
je 0x14001de1c
mov rcx, qword [rax + 0x3a0]
mov rax, qword [rcx + 0x420]
test rax, rax
je 0x14001de1c
cmp qword [rcx + 0x390], rdi
jne 0x14001de1c
mov eax, dword [rax]
mov dword [rbx + 0xb8], eax
mov rsi, qword [rbx + 0x98]
test rdx, rdx
jne 0x14001df8b
test rdi, rdi
je 0x14001df8b
test r12b, 8
je 0x14001df8b
test rsi, rsi
je 0x14001df8b
cmp qword [rsi + 0x20], r14
jne 0x14001df8b
cmp dword [rsi + 0x30], r14d
jne 0x14001df8b
call fcn.1400193c0
mov r14, rax
test rax, rax
je 0x14001de9e
cmp dword [rax + 0x14], 0xffffffff
je 0x14001de9e
lea rdx, [rax + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14001de9e
mov rdx, qword [r14]
mov rcx, rdi
mov rdx, qword [rdx]
call fcn.14001ee34
xor r14d, r14d
test al, al
jne 0x14001df8e
jmp 0x14001dea1
xor r14d, r14d
mov rax, qword [rsi + 0x18]
mov rcx, rsi
jmp 0x14001deb1
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14001deaa
movss xmm1, dword [rsi + 0x48]
comiss xmm1, dword [rcx + 0x48]
movss xmm0, dword [rsi + 0x4c]
movaps xmm3, xmm1
addss xmm3, dword [rsi + 0x50]
movss xmm5, dword [rcx + 0x48]
movaps xmm2, xmm0
addss xmm2, dword [rsi + 0x54]
movss xmm6, dword [rcx + 0x4c]
addss xmm5, dword [rcx + 0x50]
addss xmm6, dword [rcx + 0x54]
movss xmm4, dword [0x14006f1dc]
movss dword [rbp - 0x19], xmm3
movss dword [rbp - 0x15], xmm2
movss dword [rbp - 0x21], xmm1
movss dword [rbp - 0x1d], xmm0
jbe 0x14001df0f
addss xmm1, xmm4
movss dword [rbp - 0x21], xmm1
comiss xmm5, xmm3
jbe 0x14001df1d
subss xmm3, xmm4
movss dword [rbp - 0x19], xmm3
comiss xmm0, dword [rcx + 0x4c]
jbe 0x14001df2c
addss xmm0, xmm4
movss dword [rbp - 0x1d], xmm0
comiss xmm6, xmm2
jbe 0x14001df3a
subss xmm2, xmm4
movss dword [rbp - 0x15], xmm2
comiss xmm1, xmm3
ja 0x14001df8e
comiss xmm0, xmm2
ja 0x14001df8e
subss xmm3, xmm1
mov rcx, rdi
subss xmm2, xmm0
lea r8, [rbp - 0x35]
lea rdx, [rbp - 0x21]
movss dword [rbp - 0x35], xmm3
movss dword [rbp - 0x31], xmm2
call fcn.140012fc0
mov rcx, qword [rdi + 0x390]
test rcx, rcx
je 0x14001df8e
lea r8, [rbp - 0x35]
movss dword [rbp - 0x35], xmm3
lea rdx, [rbp - 0x21]
movss dword [rbp - 0x31], xmm2
call fcn.140012fc0
jmp 0x14001df8e
mov r13b, r14b
movss xmm6, dword [0x14006f19c]
cmp qword [rbx + 0x18], r14
jne 0x14001dfdb
test rdi, rdi
je 0x14001e1a1
mov rdx, qword [rdi + 0x2c0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.14002d174
mov r8, qword [rdi + 0x50]
xor r9d, r9d
mov rdx, qword [rdi + 0x48]
mov rcx, rbx
call fcn.1400202d4
mov rcx, rbx
call fcn.1400206dc
jmp 0x14001dfe4
test rdi, rdi
je 0x14001e1a1
cmp qword [rbx + 0x20], r14
jne 0x14001e07f
cmp dword [rbx + 0x30], r14d
jne 0x14001e07f
test byte [rbx + 0xc8], 1
je 0x14001e07f
mov rdx, qword [rdi + 0x2c0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.14002d174
test r12b, 8
je 0x14001e022
mov eax, r14d
jmp 0x14001e02f
movaps xmm1, xmm6
mov ecx, 0x27
call fcn.140007aac
mov dword [rbx + 0x80], eax
test eax, eax
je 0x14001e078
mov rcx, qword [rdi + 0x2c0]
lea rdx, [rbx + 0x48]
movss xmm0, dword [rdx]
lea r8, [rbp - 0x35]
movss xmm1, dword [rdx + 4]
mov r9d, eax
addss xmm0, dword [rbx + 0x50]
addss xmm1, dword [rbx + 0x54]
mov dword [rsp + 0x28], r14d
movss dword [rsp + 0x20], xmm7
movss dword [rbp - 0x35], xmm0
movss dword [rbp - 0x31], xmm1
call fcn.14002c920
or byte [rbx + 0xc8], 4
test rdi, rdi
je 0x14001e1a1
cmp qword [rbx + 0x18], r14
jne 0x14001e175
test r12b, 8
je 0x14001e175
test byte [rbx + 0xc8], 1
je 0x14001e175
mov rdx, qword [rdi + 0x2c0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.14002d174
movaps xmm1, xmm6
mov ecx, 2
call fcn.140007aac
mov rcx, qword [rdi + 0x2c0]
mov r9d, eax
test r13b, r13b
je 0x14001e140
movss xmm0, dword [rsi + 0x4c]
lea r8, [rbp - 0x21]
movss xmm5, dword [rsi + 0x48]
lea rdx, [rbp - 0x35]
movss xmm1, dword [rbx + 0x4c]
movss dword [rbp - 0x1d], xmm0
addss xmm0, dword [rsi + 0x54]
movss dword [rbp - 0x21], xmm5
addss xmm5, dword [rsi + 0x50]
movss dword [rbp - 0x31], xmm1
addss xmm1, dword [rbx + 0x54]
movss dword [rbp - 0x15], xmm0
movss xmm0, dword [rbx + 0x48]
movss dword [rbp - 0x35], xmm0
addss xmm0, dword [rbx + 0x50]
movss dword [rbp - 0x19], xmm5
movss dword [rbp - 0x29], xmm1
movss dword [rsp + 0x20], xmm7
movss dword [rbp - 0x2d], xmm0
call fcn.140030b30
jmp 0x14001e175
movss xmm1, dword [rbx + 0x54]
lea rdx, [rbx + 0x48]
movss xmm0, dword [rdx]
lea r8, [rbp - 0x35]
addss xmm0, dword [rbx + 0x50]
addss xmm1, dword [rdx + 4]
mov dword [rsp + 0x28], r14d
movss dword [rsp + 0x20], xmm7
movss dword [rbp - 0x35], xmm0
movss dword [rbp - 0x31], xmm1
call fcn.14002c920
mov rdx, qword [rdi + 0x2c0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.14002d174
cmp dword [rbx + 0x30], r14d
jle 0x14001e1a1
mov rdx, rdi
mov rcx, rbx
call fcn.14001e45c
jmp 0x14001e1b8
mov al, byte [rbx + 0xc8]
and al, 0xbf
mov dword [rbx + 0xc0], r14d
and al, 0xfd
mov byte [rbx + 0xc8], al
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x14001e1d0
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x14001e1d0
mov dword [rbx + 0xbc], ecx
jmp 0x14001e1e6
cmp dword [rbx + 0x30], r14d
jle 0x14001e1e6
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 8]
mov dword [rbx + 0xbc], eax
test rdi, rdi
je 0x14001e217
test byte [rbx + 0xc8], 1
je 0x14001e217
cmp qword [rbx + 0x18], r14
jne 0x14001e217
mov rax, qword [r15 + 0x4000]
test rax, rax
je 0x14001e20f
cmp qword [rax + 0x3b0], rdi
je 0x14001e217
mov rcx, rdi
call fcn.140021544
mov eax, dword [r15 + 0x3f60]
mov dword [rbx + 0xb0], eax
test rdi, rdi
je 0x14001e282
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001e237
call fcn.14001d944
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14001e245
call fcn.14001d944
cmp qword [rbx + 0x18], r14
jne 0x14001e26c
mov rdx, qword [rdi + 0x2c0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.14002d174
mov rcx, rdi
call fcn.14000f1b4
mov rdx, qword [rdi + 0x2c0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.14002d174
cmp byte [rbp - 0x39], r14b
je 0x14001e28d
call fcn.1400124dc
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140041740
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret