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

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.14001f250
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2bd0], rax
mov r10d, dword [0x14002fdd4]
lea rsi, [0x140032e10]
xor r12d, r12d
mov qword [rsp + 0x40], rcx
mov rdi, rcx
mov r13, 0xffffffffffffffff
test r10d, r10d
jne 0x14000b337
lea rsi, [0x140029888]
mov word [rbp + 0xbd0], r12w
mov qword [rsp + 0x30], rsi
lea rdi, [rbp + 0xbd0]
mov r15d, 0x1000
mov eax, r12d
mov ecx, 0x7b
cmp cx, 0x7b
jne 0x14000af54
lea rax, [rbp - 0x30]
mov word [rbp - 0x30], r12w
jmp 0x14000b2ed
movzx ecx, word [rsi]
cmp cx, 0x7d
jne 0x14000b2c7
lea rdx, [0x1400296a8]
mov word [rax], r12w
lea rcx, [rbp - 0x30]
xor bl, bl
call fcn.14001403c
test eax, eax
jne 0x14000af8e
mov rdx, rdi
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov bl, 1
jmp 0x14000b27f
lea rdx, [0x1400296b8]
lea rcx, [rbp - 0x30]
call fcn.14001403c
test eax, eax
jne 0x14000affe
mov rbx, r15
call fcn.14000fe84
mov rcx, qword [rax]
mov rax, rdi
mov rdx, qword [rcx]
cmp word [rdi], r12w
je 0x14000afcd
nop dword [rax]
add rax, 2
dec rbx
cmp word [rax], r12w
jne 0x14000afc0
movzx ecx, word [rdx]
test cx, cx
je 0x14000aff5
cmp rbx, 1
jb 0x14000b40d
add rdx, 2
mov word [rax], cx
add rax, 2
dec rbx
movzx ecx, word [rdx]
test cx, cx
jne 0x14000afd5
mov word [rax], r12w
jmp 0x14000b27b
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp - 0x30]
call fcn.14001403c
test eax, eax
jne 0x14000b07a
mov rax, r13
inc rax
cmp word [rdi + rax*2], r12w
jne 0x14000b015
mov r8, r15
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, rdi
call fcn.14000a720
test al, al
je 0x14000b41f
mov rax, r13
nop
inc rax
cmp word [rdi + rax*2], r12w
jne 0x14000b040
cmp rax, 4
jb 0x14000b27f
lea rbx, [rdi + rax*2]
lea rcx, [rbx - 8]
lea rdx, str..exe
call fcn.14001403c
test eax, eax
jne 0x14000b27b
mov word [rbx - 8], r12w
jmp 0x14000b27b
lea rdx, [0x140029718]
lea rcx, [rbp - 0x30]
call fcn.14001403c
test eax, eax
jne 0x14000b14b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x1400296a4]
mov edx, 0x80
mov r9d, eax
lea rcx, [rsp + 0x50]
call fcn.140001060
lea r14, [rsp + 0x50]
mov rsi, r15
mov rbx, rdi
cmp word [rdi], r12w
je 0x14000b0cf
add rbx, 2
dec rsi
cmp word [rbx], r12w
jne 0x14000b0c2
movzx edx, byte [rsp + 0x50]
test dl, dl
je 0x14000b276
nop dword [rax]
mov rcx, rsi
mov rax, rbx
cmp word [rbx], r12w
je 0x14000b0fd
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x14000b0f0
cmp rcx, 1
jb 0x14000b413
mov byte [rsp + 0x24], dl
mov rcx, r13
mov byte [rsp + 0x25], r12b
cmp word [rax + rcx*2 + 2], r12w
lea rcx, [rcx + 1]
jne 0x14000b113
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x24]
call fcn.14000fc10
movzx edx, byte [r14 + 1]
inc r14
add rbx, 2
dec rsi
test dl, dl
jne 0x14000b0e0
jmp 0x14000b276
lea rdx, [0x140029720]
lea rcx, [rbp - 0x30]
call fcn.14001403c
test eax, eax
jne 0x14000b166
mov edx, 0x28
jmp 0x14000b17f
lea rdx, str.CACHE_DIR
lea rcx, [rbp - 0x30]
call fcn.14001403c
test eax, eax
jne 0x14000b199
mov edx, 0x1c
mov r8, r15
mov rcx, rdi
call fcn.14000a660
test al, al
je 0x14000b41f
mov bl, 1
jmp 0x14000b27f
lea rdx, str.TIME
lea rcx, [rbp - 0x30]
call fcn.14001403c
test eax, eax
jne 0x14000b41f
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 r14, [rbp + 0x7d0]
mov rsi, r15
mov rbx, rdi
cmp word [rdi], r12w
je 0x14000b1fe
add rbx, 2
dec rsi
cmp word [rbx], r12w
jne 0x14000b1f1
movzx edx, byte [rbp + 0x7d0]
test dl, dl
je 0x14000b276
nop dword [rax]
mov rcx, rsi
mov rax, rbx
cmp word [rbx], r12w
je 0x14000b22d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x14000b220
cmp rcx, 1
jb 0x14000b419
mov byte [rsp + 0x28], dl
mov rcx, r13
mov byte [rsp + 0x29], r12b
cmp word [rax + rcx*2 + 2], r12w
lea rcx, [rcx + 1]
jne 0x14000b243
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x28]
call fcn.14000fc10
movzx edx, byte [r14 + 1]
inc r14
add rbx, 2
dec rsi
test dl, dl
jne 0x14000b210
mov rsi, qword [rsp + 0x30]
movzx ebx, r12b
cmp word [rdi], r12w
je 0x14000b29d
nop word [rax + rax]
add rdi, 2
dec r15
cmp word [rdi], r12w
jne 0x14000b290
test bl, bl
je 0x14000b2c2
cmp word [rdi - 2], 0x5c
jne 0x14000b2c2
nop dword [rax + rax]
sub rdi, 2
inc r15
mov word [rdi], r12w
cmp word [rdi - 2], 0x5c
je 0x14000b2b0
mov rax, r12
jmp 0x14000b2ed
test rax, rax
je 0x14000b2d5
mov word [rax], cx
add rax, 2
jmp 0x14000b2ed
cmp r15, 1
jb 0x14000b41f
mov word [rdi], cx
add rdi, 2
dec r15
mov word [rdi], r12w
movzx ecx, word [rsi + 2]
add rsi, 2
mov qword [rsp + 0x30], rsi
test cx, cx
jne 0x14000af40
lea rcx, [rbp + 0xbd0]
mov word [rdi], r12w
call fcn.140013edc
movsxd r10, dword [0x14002fdd4]
lea rsi, [0x140032e10]
mov rdi, qword [rsp + 0x40]
mov qword [rsi + r10*8], rax
inc r10d
mov dword [0x14002fdd4], r10d
test r10d, r10d
jle 0x14000b374
mov r9, rsi
nop dword [rax]
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 0x14000b364
add rax, 2
test ecx, ecx
jne 0x14000b350
test edx, edx
je 0x14000b38c
inc r12d
add r9, 8
cmp r12d, r10d
jl 0x14000b340
inc r13
cmp word [rdi + r13*2], 0
jne 0x14000b374
cmp r13, 2
jne 0x14000b390
cmp word [rdi + 2], 0x3a
jne 0x14000b390
mov al, 1
jmp 0x14000b3dd
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000b3b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b3da
mov bl, 1
cmp dword [0x14002fdd4], 0x400
jge 0x14000b3da
mov rcx, rdi
call fcn.140013edc
movsxd rdx, dword [0x14002fdd4]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002fdd4], edx
movzx eax, bl
mov rcx, qword [rbp + 0x2bd0]
xor rcx, rsp
call fcn.14000c120
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.14000f8d4
int3
call fcn.14000f8d4
int3
call fcn.14000f8d4
int3
lea rcx, [0x140029888]
call fcn.14000ad50
int3