Function at 0x14002e5a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14009d438]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
xor r12d, r12d
mov qword [rbp - 0x40], r8
mov r15d, edx
mov dword [rbp - 0x80], edx
mov rdi, rcx
mov dword [rsp + 0x44], r12d
lea r8, [rsp + 0x44]
mov dword [rsp + 0x4c], r12d
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], r12d
lea rcx, [rsp + 0x4c]
mov dword [rsp + 0x50], r12d
mov r14d, r12d
mov dword [rsp + 0x54], r12d
mov esi, r12d
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x38], r9
call fcn.140027000
mov ebx, dword [rsp + 0x48]
mov r13, rax
mov qword [rbp - 0x48], rax
mov eax, dword [rsp + 0x44]
mov dword [rbp - 0x7c], eax
test eax, eax
jne 0x14002ed23
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0x80d
xor ecx, ecx
call qword [sym.imp.WINMM.dll_waveInMessage]
test eax, eax
jne 0x14002e67b
mov ecx, dword [rsp + 0x50]
lea ecx, [rcx*2 + 2]
call fcn.14001e890
mov r9d, dword [rsp + 0x50]
mov r8, rax
mov edx, 0x80c
mov qword [rbp - 0x70], rax
xor ecx, ecx
call qword [sym.imp.WINMM.dll_waveInMessage]
xor r9d, r9d
lea r8, [rsp + 0x54]
mov edx, 0x80d
xor ecx, ecx
call qword [sym.imp.WINMM.dll_waveOutMessage]
test eax, eax
jne 0x14002e6bd
mov ecx, dword [rsp + 0x54]
lea ecx, [rcx*2 + 2]
call fcn.14001e890
mov r9d, dword [rsp + 0x54]
mov r8, rax
mov edx, 0x80c
mov qword [rbp - 0x68], rax
xor ecx, ecx
call qword [sym.imp.WINMM.dll_waveOutMessage]
test ebx, ebx
jle 0x14002ed11
mov rcx, qword [rdi + 0x108]
mov edx, 0x10
call fcn.1400351a0
mov qword [rsp + 0x58], rax
mov r14, rax
test rax, rax
je 0x14002ed23
mov qword [rax + 8], 0xffffffffffffffff
lea edx, [rbx*8]
mov rcx, qword [rdi + 0x108]
call fcn.1400351a0
mov qword [r14], rax
test rax, rax
je 0x14002ed23
mov rcx, qword [rdi + 0x108]
imul edx, ebx, 0x168
call fcn.1400351a0
mov rcx, rax
test rax, rax
je 0x14002ed23
test ebx, ebx
jle 0x14002e767
mov rdx, r12
mov r8, rbx
nop word [rax + rax]
mov dword [rcx], 2
lea rdx, [rdx + 8]
mov dword [rcx + 0x10], r15d
mov qword [rcx + 8], r12
mov rax, qword [r14]
mov qword [rdx + rax - 8], rcx
add rcx, 0x168
sub r8, 1
jne 0x14002e740
mov edi, dword [rsp + 0x4c]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x44], edi
test edi, edi
jle 0x14002ed11
mov eax, dword [rsp + 0x44]
xor edi, edi
movaps xmmword [rsp + 0x300], xmm6
movsd xmm6, qword [0x140078770]
movaps xmmword [rsp + 0x2f0], xmm7
movsd xmm7, qword [0x140078768]
lea ebx, [rdi + 1]
mov qword [rbp - 0x60], rsi
mov qword [rsp + 0x70], rdi
mov r15, qword [r13 + rsi*8]
xorps xmm0, xmm0
mov qword [rsp + 0x68], r15
movups xmmword [rbp - 0x58], xmm0
test r15, r15
je 0x14002ece1
call fcn.140035070
mov qword [rsp + 0x78], rax
mov r8, rax
test rax, rax
je 0x14002ecbf
xor r12d, r12d
cmp dword [r15 + 0x430], r12d
jle 0x14002e92d
mov r13, qword [rbp - 0x58]
xor r15d, r15d
mov rcx, qword [rsp + 0x68]
mov qword [rbp - 0x78], r13
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx + 0x438]
mov rsi, qword [r15 + rax]
test rsi, rsi
je 0x14002e908
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rsi + 0x10]
cmp eax, 1
cmovb eax, ebx
cmp r14d, eax
jae 0x14002e903
mov rcx, qword [rsi + 8]
test rcx, rcx
jne 0x14002e851
lea rcx, [rsi + 0x14]
jmp 0x14002e855
mov rcx, qword [rcx + r14*8]
cmp dword [rsi + 0x268], 2
mov eax, 0x811c9dd7
mov edx, 0x811feb0b
cmove edx, eax
movzx eax, word [rcx]
xor ebx, ebx
test ax, ax
je 0x14002e894
nop dword [rax]
nop word [rax + rax]
imul ebx, edx
lea rcx, [rcx + 2]
movzx eax, ax
xor ebx, eax
movzx eax, word [rcx]
test ax, ax
jne 0x14002e880
xor edi, edi
mov rax, r13
test r13, r13
je 0x14002e8b1
nop
cmp dword [rax + 8], ebx
je 0x14002e8f3
mov rdi, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14002e8a0
mov edx, 0x18
mov rcx, r8
call fcn.1400351a0
test rax, rax
je 0x14002eca7
mov dword [rax + 8], ebx
mov ebx, 1
mov dword [rax + 4], ebx
test rdi, rdi
je 0x14002e8db
mov qword [rdi + 0x10], rax
mov r8, qword [rsp + 0x78]
test r13, r13
cmove r13, rax
inc r14d
mov qword [rbp - 0x78], r13
jmp 0x14002e830
inc dword [rax + 4]
mov ebx, 1
inc r14d
jmp 0x14002e830
mov rcx, qword [rsp + 0x68]
inc r12d
add r15, 8
cmp r12d, dword [rcx + 0x430]
jl 0x14002e810
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
jmp 0x14002e935
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x14002e956
mov rdx, rax
lea rcx, [r15 + 8]
call fcn.14004c0c0
mov dword [rsp + 0x4c], 1
test eax, eax
je 0x14002e95e
mov dword [rsp + 0x4c], 0
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x14002e982
mov rdx, rax
lea rcx, [r15 + 8]
call fcn.14004c0c0
test eax, eax
jne 0x14002e982
mov r8d, 1
mov r13d, r8d
jmp 0x14002e989
xor r13d, r13d
lea r8d, [r13 + 1]
xor edx, edx
mov dword [rsp + 0x60], edx
cmp dword [r15 + 0x430], edx
jle 0x14002ec76
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov rax, qword [r15 + 0x438]
mov rsi, qword [rcx + rax]
test rsi, rsi
je 0x14002ec5b
xor r12d, r12d
nop dword [rax]
mov eax, dword [rsi + 0x10]
cmp eax, 1
cmovb eax, r8d
cmp r12d, eax
jae 0x14002ec53
mov rax, qword [r14]
lea rcx, [rbp - 0x30]
mov r14d, dword [rsi + 0x268]
mov r8d, 0x104
mov rdi, qword [rax + rdi*8]
mov eax, dword [rbp - 0x80]
mov qword [rdi + 0x150], r15
lea r15, [rdi + 0x48]
mov qword [rdi + 8], r15
mov dword [rdi], 2
mov dword [rdi + 0x10], eax
mov eax, dword [rsi + 0x22c]
mov dword [rdi + 0x158], eax
mov rbx, qword [rsi + 8]
test rbx, rbx
jne 0x14002ea36
lea rdx, [rsi + 0x14]
call fcn.1400486d4
mov dword [rdi + 0x15c], 0xffffffff
mov eax, dword [rsi + 0x230]
jmp 0x14002ea4f
mov rbx, qword [rbx + r12*8]
mov rdx, rbx
call fcn.1400486d4
mov dword [rdi + 0x15c], r12d
mov eax, dword [rbx + 0x210]
mov dword [rdi + 0x160], eax
mov rbx, 0xffffffffffffffff
lea rax, [rbp - 0x30]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14002ea60
cmp r14d, 2
lea rdx, [rbp - 0x30]
mov eax, 0x811c9dd7
mov r8d, 0x811feb0b
cmove r8d, eax
movzx eax, word [rbp - 0x30]
xor ecx, ecx
test ax, ax
je 0x14002eaa5
nop dword [rax]
imul ecx, r8d
lea rdx, [rdx + 2]
movzx eax, ax
xor ecx, eax
movzx eax, word [rdx]
test ax, ax
jne 0x14002ea90
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x14002eaf0
nop
cmp dword [rax + 8], ecx
je 0x14002eac0
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14002eab0
jmp 0x14002eaf0
cmp dword [rax + 4], 1
jbe 0x14002eaf0
add dword [rax], 1
mov r9d, dword [rax]
je 0x14002eaf0
mov edx, 0x104
lea rcx, [rbp - 0x30]
sub rdx, rbx
lea rcx, [rcx + rbx*2]
lea r8, [0x140077fa8]
call fcn.14002f6c0
movsxd rcx, eax
add rbx, rcx
mov r9, qword [rsp + 0x68]
lea rcx, [rbp - 0x30]
mov edx, 0x104
lea rcx, [rcx + rbx*2]
add r9, 0x448
lea r8, str.___s_
sub rdx, rbx
call fcn.14002f6c0
xor ebx, ebx
lea r8, [rbp - 0x30]
mov qword [rsp + 0x38], rbx
xor edx, edx
mov qword [rsp + 0x30], rbx
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0x104
lea r9d, [rbx - 1]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp r14d, 2
jne 0x14002eb7a
mov eax, dword [rsi + 0x278]
mov dword [rdi + 0x14], eax
mov dword [rdi + 0x18], ebx
cmp qword [rbp - 0x70], rbx
je 0x14002eb64
cmp dword [rsp + 0x4c], ebx
je 0x14002eba7
mov r14, qword [rsp + 0x58]
mov ebx, dword [rsp + 0x40]
cmp dword [r14 + 8], 0xffffffff
jne 0x14002ebb0
mov dword [r14 + 8], ebx
jmp 0x14002ebb0
mov dword [rdi + 0x14], ebx
mov eax, dword [rsi + 0x278]
mov dword [rdi + 0x18], eax
cmp qword [rbp - 0x68], rbx
je 0x14002eb91
test r13d, r13d
je 0x14002eba7
mov r14, qword [rsp + 0x58]
mov ebx, dword [rsp + 0x40]
cmp dword [r14 + 0xc], 0xffffffff
jne 0x14002ebb0
mov dword [r14 + 0xc], ebx
jmp 0x14002ebb0
mov ebx, dword [rsp + 0x40]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x68]
mov ecx, dword [r15 + 0x418]
sub ecx, 1
je 0x14002ebe4
cmp ecx, 1
jne 0x14002ec20
movabs rax, 0x3f847ae147ae147b
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rax
movabs rax, 0x3fa47ae147ae147b
jmp 0x14002ec07
call fcn.140028600
test eax, eax
je 0x14002ebf2
movaps xmm0, xmm6
jmp 0x14002ebf5
movaps xmm0, xmm7
unpcklpd xmm0, xmm0
movabs rax, 0x3fb5d867c3ece2a5
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rax
movd xmm0, dword [rsi + 0x280]
cvtdq2pd xmm0, xmm0
movsd qword [rdi + 0x40], xmm0
mov rax, qword [rdi + 0x150]
test rax, rax
je 0x14002ec32
inc dword [rax + 0x668]
mov rdi, qword [rsp + 0x70]
inc ebx
inc rdi
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x70], rdi
inc r12d
mov r8d, 1
jmp 0x14002e9c0
mov rcx, qword [rbp - 0x58]
mov edx, dword [rsp + 0x60]
inc edx
add rcx, 8
mov dword [rsp + 0x60], edx
mov qword [rbp - 0x58], rcx
cmp edx, dword [r15 + 0x430]
jl 0x14002e9a2
cmp dword [r15 + 0x668], 0
jne 0x14002ec88
mov rcx, r15
call fcn.140027c20
mov rcx, qword [rsp + 0x78]
call fcn.140035140
mov rcx, qword [rsp + 0x78]
call fcn.1400350f0
mov r12d, dword [rsp + 0x48]
mov rsi, qword [rbp - 0x60]
jmp 0x14002ecd1
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
mov r12d, dword [rsp + 0x48]
mov rsi, qword [rbp - 0x60]
mov rcx, r8
call fcn.140035140
mov rcx, qword [rsp + 0x78]
call fcn.1400350f0
mov eax, dword [rsp + 0x44]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov ebx, 1
mov r13, qword [rbp - 0x48]
inc r12d
inc rsi
mov dword [rsp + 0x48], r12d
mov qword [rbp - 0x60], rsi
cmp r12d, eax
jl 0x14002e7b3
mov esi, dword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x2f0]
movaps xmm6, xmmword [rsp + 0x300]
mov rax, qword [rbp - 0x40]
mov qword [rax], r14
mov rax, qword [rbp - 0x38]
mov dword [rax], esi
mov eax, dword [rbp - 0x7c]
jmp 0x14002ed31
mov r8d, ebx
mov rdx, r14
mov rcx, rdi
call fcn.140027930
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14003ca20
mov rbx, qword [rsp + 0x358]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret