Function at 0x14002d124
Capabilities:
Create directory
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, rcx
mov ecx, 0x104
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, 0xd2307f99
mov ecx, 0xdb56355c
mov r8d, 0x9b7a3a2b
mov ebx, eax
call fcn.140001978
lea rcx, [rdi + rbx*2]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor r14d, r14d
movsxd rcx, eax
mov esi, r14d
lea rdi, [rdi + rcx*2]
movzx ebx, byte [rsi + rbp + 0x25c]
mov edx, 0x6a229f61
mov ecx, 0x6344d5d0
mov r8d, 0x2368dadf
call fcn.140001978
mov r8d, ebx
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
inc rsi
add rdi, 4
cmp rsi, 8
jl 0x14002d193
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov dword [rdi], 0x74002e
mov dword [rdi + 4], 0x740078
mov word [rdi + 8], r14w
mov rdi, qword [rsp + 0x48]
mov al, 1
add rsp, 0x20
pop r14
ret

Function at 0x140030f5c
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor ebx, ebx
test byte [rdx], 0xc0
mov r13, rcx
mov rcx, qword [rbp + 0x1c0]
mov esi, r9d
mov r15, r8
mov rdi, rdx
je 0x1400310be
movabs rax, 0xb31fa6feddf8a00b
lea rdx, [rsp + 0x30]
mov qword [rbp + 0x140], rax
movabs rax, 0x780f056a569fdfd8
mov qword [rbp + 0x148], rax
call fcn.140091ca0
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x130]
mov rcx, rdi
call fcn.140002700
lea rax, [rbp + 0x130]
mov r8, rdi
sub r8, rax
mov edx, ebx
lea rcx, [rbp + 0x130]
add rcx, rdx
inc rdx
mov al, byte [r8 + rcx]
xor byte [rcx], al
cmp rdx, 0x10
jl 0x140030ff4
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x130]
call fcn.14009144c
lea rax, [rbp + 0x30]
lea r8d, [rsi - 0x10]
lea rdx, [r15 + 0x10]
lea rcx, [rdi + 0x10]
lea r9, [rbp + 0x140]
mov qword [rsp + 0x20], rax
call fcn.140092b04
cmp dword [r13 + 0x270], ebx
jbe 0x140031084
mov edi, ebx
test esi, esi
jle 0x140031084
mov r14, r15
mov rdx, qword [r13 + 0x268]
mov r8d, edi
mov r9d, 0x800
sar r8d, 0xb
mov rcx, r14
add r8d, dword [rbp + 0x1c8]
call fcn.14003d2f0
add edi, 0x800
add r14, 0x800
cmp edi, esi
jl 0x140031050
mov eax, 0x2aaaaaab
mov ecx, 1
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd r8, edx
cmp rcx, r8
jge 0x1400310be
lea rax, [r15 + 0xc4]
cmp byte [rax], 0x47
jne 0x1400310be
inc rcx
inc ebx
add rax, 0xc0
cmp rcx, r8
jl 0x1400310a9
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400e8bc0
add rsp, 0x260
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140031738
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
call fcn.140031670
sub rdi, rbx
mov ecx, 4
mov eax, dword [rdi + rbx]
xor dword [rbx], eax
lea rbx, [rbx + 4]
dec rcx
jne 0x140031755
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret