Function at 0x14000afa0
Capabilities:
Create directory
Get common file path
Reference cloudflare dns server

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2be0]
mov eax, 0x2ce0
call fcn.1400258a0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2bd0], rax
mov r10d, dword [0x140036d20]
lea rsi, [0x14004bd60]
xor r12d, r12d
mov qword [rsp + 0x40], rcx
mov rdi, rcx
mov rbx, 0xffffffffffffffff
test r10d, r10d
jne 0x14000b599
lea rdi, str.HOME
mov word [rbp + 0xbd0], r12w
mov qword [rsp + 0x28], rdi
lea r14, [rbp + 0xbd0]
mov r15d, 0x1000
mov eax, r12d
mov ecx, 0x7b
cmp cx, 0x7b
jne 0x14000b044
lea rax, [rbp - 0x30]
mov word [rbp - 0x30], r12w
jmp 0x14000b54f
movzx ecx, word [rdi]
cmp cx, 0x7d
jne 0x14000b528
lea rdx, [0x14002fd60]
mov word [rax], r12w
lea rcx, [rbp - 0x30]
xor r13b, r13b
call fcn.140018ef8
test eax, eax
jne 0x14000b080
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r13b, 1
jmp 0x14000b4e1
lea rdx, [0x14002fd70]
lea rcx, [rbp - 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000b0ee
mov rbx, r15
call fcn.14001116c
mov rcx, qword [rax]
mov rax, r14
mov rdx, qword [rcx]
cmp word [r14], r12w
je 0x14000b0bd
nop dword [rax + rax]
add rax, 2
dec rbx
cmp word [rax], r12w
jne 0x14000b0b0
movzx ecx, word [rdx]
test cx, cx
je 0x14000b0e5
cmp rbx, 1
jb 0x14000b672
add rdx, 2
mov word [rax], cx
add rax, 2
dec rbx
movzx ecx, word [rdx]
test cx, cx
jne 0x14000b0c5
mov word [rax], r12w
jmp 0x14000b4da
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp - 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000b16a
mov rax, rbx
inc rax
cmp word [r14 + rax*2], r12w
jne 0x14000b105
mov r8, r15
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, r14
call fcn.14000a6d0
test al, al
je 0x14000b67e
mov rax, rbx
nop
inc rax
cmp word [r14 + rax*2], r12w
jne 0x14000b130
cmp rax, 4
jb 0x14000b4e1
lea rbx, [r14 + rax*2]
lea rcx, [rbx - 8]
lea rdx, str..exe
call fcn.140018ef8
test eax, eax
jne 0x14000b4da
mov word [rbx - 8], r12w
jmp 0x14000b4da
lea rdx, [0x14002fdc8]
lea rcx, [rbp - 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000b24a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14002fd5c]
mov edx, 0x80
mov r9d, eax
lea rcx, [rsp + 0x50]
call fcn.140001060
lea rsi, [rsp + 0x50]
mov rdi, r15
mov rbx, r14
cmp word [r14], r12w
je 0x14000b1bf
add rbx, 2
dec rdi
cmp word [rbx], r12w
jne 0x14000b1b2
movzx eax, byte [rsp + 0x50]
test al, al
je 0x14000b4d5
nop dword [rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r12b
lea rcx, [rsp + 0x30]
call fcn.140010ef0
cmp rax, 1
jne 0x14000b66c
mov rax, rdi
mov rcx, rbx
cmp word [rbx], r12w
je 0x14000b21d
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], r12w
jne 0x14000b210
cmp rax, 1
jb 0x14000b66c
movzx eax, word [rsp + 0x30]
inc rsi
mov word [rcx], ax
add rbx, 2
dec rdi
mov word [rcx + 2], r12w
movzx eax, byte [rsi]
test al, al
jne 0x14000b1d0
jmp 0x14000b4d5
lea rdx, [0x14002fdd0]
lea rcx, [rbp - 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000b265
mov edx, 0x28
jmp 0x14000b27e
lea rdx, str.CACHE_DIR
lea rcx, [rbp - 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000b299
mov edx, 0x1c
mov r8, r15
mov rcx, r14
call fcn.14000a610
test al, al
je 0x14000b67e
mov r13b, 1
jmp 0x14000b4e1
lea rdx, str.COMPANY
lea rcx, [rbp - 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000b309
mov rdx, r15
mov rcx, r14
cmp word [r14], r12w
je 0x14000b2cd
nop dword [rax]
add rcx, 2
dec rdx
cmp word [rcx], r12w
jne 0x14000b2c0
lea r8, str.CODAP_SARL
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000b672
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r12w
jne 0x14000b2e0
mov word [rcx], r12w
jmp 0x14000b4e1
lea rdx, str.PRODUCT
lea rcx, [rbp - 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000b379
mov rdx, r15
mov rcx, r14
cmp word [r14], r12w
je 0x14000b33d
nop dword [rax]
add rcx, 2
dec rdx
cmp word [rcx], r12w
jne 0x14000b330
lea r8, str.Codap_TraceV3_Parser
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000b672
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r12w
jne 0x14000b350
mov word [rcx], r12w
jmp 0x14000b4e1
lea rdx, str.VERSION
lea rcx, [rbp - 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000b3e9
mov rdx, r15
mov rcx, r14
cmp word [r14], r12w
je 0x14000b3ad
nop dword [rax]
add rcx, 2
dec rdx
cmp word [rcx], r12w
jne 0x14000b3a0
lea r8, str.1.0.0.1
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000b672
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r12w
jne 0x14000b3c0
mov word [rcx], r12w
jmp 0x14000b4e1
lea rdx, str.TIME
lea rcx, [rbp - 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000b67e
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], r12
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r9, qword [rsp + 0x38]
lea r8, str._lld
mov edx, 0x400
lea rcx, [rbp + 0x7d0]
call fcn.140001060
lea rsi, [rbp + 0x7d0]
mov rdi, r15
mov rbx, r14
cmp word [r14], r12w
je 0x14000b44e
add rbx, 2
dec rdi
cmp word [rbx], r12w
jne 0x14000b441
movzx eax, byte [rbp + 0x7d0]
test al, al
je 0x14000b4d5
nop dword [rax]
mov r8d, 2
mov byte [rsp + 0x24], al
lea rdx, [rsp + 0x24]
mov byte [rsp + 0x25], r12b
lea rcx, [rsp + 0x34]
call fcn.140010ef0
cmp rax, 1
jne 0x14000b678
mov rax, rdi
mov rcx, rbx
cmp word [rbx], r12w
je 0x14000b4ad
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], r12w
jne 0x14000b4a0
cmp rax, 1
jb 0x14000b678
movzx eax, word [rsp + 0x34]
inc rsi
mov word [rcx], ax
add rbx, 2
dec rdi
mov word [rcx + 2], r12w
movzx eax, byte [rsi]
test al, al
jne 0x14000b460
mov rdi, qword [rsp + 0x28]
mov rbx, 0xffffffffffffffff
cmp word [r14], r12w
je 0x14000b4fd
nop word [rax + rax]
add r14, 2
dec r15
cmp word [r14], r12w
jne 0x14000b4f0
test r13b, r13b
je 0x14000b523
cmp word [r14 - 2], 0x5c
jne 0x14000b523
nop word [rax + rax]
sub r14, 2
inc r15
mov word [r14], r12w
cmp word [r14 - 2], 0x5c
je 0x14000b510
mov rax, r12
jmp 0x14000b54f
test rax, rax
je 0x14000b536
mov word [rax], cx
add rax, 2
jmp 0x14000b54f
cmp r15, 1
jb 0x14000b67e
mov word [r14], cx
add r14, 2
dec r15
mov word [r14], r12w
movzx ecx, word [rdi + 2]
add rdi, 2
mov qword [rsp + 0x28], rdi
test cx, cx
jne 0x14000b030
lea rcx, [rbp + 0xbd0]
mov word [r14], r12w
call fcn.140018d90
movsxd r10, dword [0x140036d20]
lea rsi, [0x14004bd60]
mov rdi, qword [rsp + 0x40]
mov qword [rsi + r10*8], rax
inc r10d
mov dword [0x140036d20], r10d
test r10d, r10d
jle 0x14000b5d4
mov r9, rsi
nop
mov r8, qword [r9]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000b5c4
add rax, 2
test ecx, ecx
jne 0x14000b5b0
test edx, edx
je 0x14000b5eb
inc r12d
add r9, 8
cmp r12d, r10d
jl 0x14000b5a0
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14000b5d4
cmp rbx, 2
jne 0x14000b5ef
cmp word [rdi + 2], 0x3a
jne 0x14000b5ef
mov al, 1
jmp 0x14000b63c
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000b612
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b639
mov bl, 1
cmp dword [0x140036d20], 0x400
jge 0x14000b639
mov rcx, rdi
call fcn.140018d90
movsxd rdx, dword [0x140036d20]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x140036d20], edx
movzx eax, bl
mov rcx, qword [rbp + 0x2bd0]
xor rcx, rsp
call fcn.14000d3f0
lea r11, [rsp + 0x2ce0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140010bac
int3
call fcn.140010bac
int3
call fcn.140010bac
int3
lea rcx, str.HOME
call fcn.14000ae40
int3