Function at 0x14002d100
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, 0x614dd986
mov ecx, 0x61862c19
mov r8d, 0xa3799f0d
mov ebx, eax
call fcn.140001974
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, 0x15328ebd
mov ecx, 0x15f97b56
mov r8d, 0xd706c83a
call fcn.140001974
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 0x14002d16f
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 0x140030f38
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 0x14003109a
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 0x140030fd0
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 0x140031060
mov edi, ebx
test esi, esi
jle 0x140031060
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 0x14003102c
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 0x14003109a
lea rax, [r15 + 0xc4]
cmp byte [rax], 0x47
jne 0x14003109a
inc rcx
inc ebx
add rax, 0xc0
cmp rcx, r8
jl 0x140031085
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 0x140031714
Capabilities:
Encode data using xor

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