Function at 0x14000b340
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.140020300
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2bd0], rax
mov r10d, dword [0x140032dd0]
lea r14, [0x140047e10]
xor r12d, r12d
mov qword [rsp + 0x40], rcx
mov rsi, rcx
mov rdi, 0xffffffffffffffff
test r10d, r10d
jne 0x14000b7a7
lea rsi, str.HOME
mov word [rbp + 0xbd0], r12w
mov qword [rsp + 0x28], rsi
lea rbx, [rbp + 0xbd0]
mov r15d, 0x1000
mov eax, r12d
mov ecx, 0x7b
cmp cx, 0x7b
jne 0x14000b3e4
lea rax, [rbp - 0x30]
mov word [rbp - 0x30], r12w
jmp 0x14000b75d
movzx ecx, word [rsi]
cmp cx, 0x7d
jne 0x14000b737
lea rdx, [0x14002a6e8]
mov word [rax], r12w
lea rcx, [rbp - 0x30]
xor r13b, r13b
call fcn.1400149a8
test eax, eax
jne 0x14000b420
mov rdx, rbx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r13b, 1
jmp 0x14000b6f2
lea rdx, [0x14002a6f8]
lea rcx, [rbp - 0x30]
call fcn.1400149a8
test eax, eax
jne 0x14000b44f
mov r8d, r15d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000b87c
jmp 0x14000b6f2
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp - 0x30]
call fcn.1400149a8
test eax, eax
jne 0x14000b4ca
mov rax, rdi
inc rax
cmp word [rbx + rax*2], r12w
jne 0x14000b466
mov r8, r15
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, rbx
call fcn.14000abe0
test al, al
je 0x14000b87c
mov rax, rdi
inc rax
cmp word [rbx + rax*2], r12w
jne 0x14000b490
cmp rax, 4
jb 0x14000b6f2
lea rdi, [rbx + rax*2]
lea rcx, [rdi - 8]
lea rdx, str..exe
call fcn.1400149a8
test eax, eax
jne 0x14000b6eb
mov word [rdi - 8], r12w
jmp 0x14000b6eb
lea rdx, [0x14002a758]
lea rcx, [rbp - 0x30]
call fcn.1400149a8
test eax, eax
jne 0x14000b5ab
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14002a6e4]
mov edx, 0x80
mov r9d, eax
lea rcx, [rsp + 0x50]
call fcn.140001060
lea r14, [rsp + 0x50]
mov rsi, r15
mov rdi, rbx
cmp word [rbx], r12w
je 0x14000b51f
add rdi, 2
dec rsi
cmp word [rdi], r12w
jne 0x14000b512
movzx eax, byte [rsp + 0x50]
test al, al
je 0x14000b6e6
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.140010480
cmp rax, 1
jne 0x14000b889
mov rax, rsi
mov rcx, rdi
cmp word [rdi], r12w
je 0x14000b57d
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], r12w
jne 0x14000b570
cmp rax, 1
jb 0x14000b889
movzx eax, word [rsp + 0x30]
inc r14
mov word [rcx], ax
add rdi, 2
dec rsi
mov word [rcx + 2], r12w
movzx eax, byte [r14]
test al, al
jne 0x14000b530
jmp 0x14000b6e6
lea rdx, [0x14002a760]
lea rcx, [rbp - 0x30]
call fcn.1400149a8
test eax, eax
jne 0x14000b5c6
mov edx, 0x28
jmp 0x14000b5df
lea rdx, str.CACHE_DIR
lea rcx, [rbp - 0x30]
call fcn.1400149a8
test eax, eax
jne 0x14000b5fa
mov edx, 0x1c
mov r8, r15
mov rcx, rbx
call fcn.14000ab20
test al, al
je 0x14000b87c
mov r13b, 1
jmp 0x14000b6f2
lea rdx, str.TIME
lea rcx, [rbp - 0x30]
call fcn.1400149a8
test eax, eax
jne 0x14000b87c
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 rdi, rbx
cmp word [rbx], r12w
je 0x14000b65f
add rdi, 2
dec rsi
cmp word [rdi], r12w
jne 0x14000b652
movzx eax, byte [rbp + 0x7d0]
test al, al
je 0x14000b6e6
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x24], al
lea rdx, [rsp + 0x24]
mov byte [rsp + 0x25], r12b
lea rcx, [rsp + 0x34]
call fcn.140010480
cmp rax, 1
jne 0x14000b88f
mov rax, rsi
mov rcx, rdi
cmp word [rdi], r12w
je 0x14000b6bd
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], r12w
jne 0x14000b6b0
cmp rax, 1
jb 0x14000b88f
movzx eax, word [rsp + 0x34]
inc r14
mov word [rcx], ax
add rdi, 2
dec rsi
mov word [rcx + 2], r12w
movzx eax, byte [r14]
test al, al
jne 0x14000b670
mov rsi, qword [rsp + 0x28]
mov rdi, 0xffffffffffffffff
cmp word [rbx], r12w
je 0x14000b70d
nop dword [rax + rax]
add rbx, 2
dec r15
cmp word [rbx], r12w
jne 0x14000b700
test r13b, r13b
je 0x14000b732
cmp word [rbx - 2], 0x5c
jne 0x14000b732
nop dword [rax]
sub rbx, 2
inc r15
mov word [rbx], r12w
cmp word [rbx - 2], 0x5c
je 0x14000b720
mov rax, r12
jmp 0x14000b75d
test rax, rax
je 0x14000b745
mov word [rax], cx
add rax, 2
jmp 0x14000b75d
cmp r15, 1
jb 0x14000b87c
mov word [rbx], cx
add rbx, 2
dec r15
mov word [rbx], r12w
movzx ecx, word [rsi + 2]
add rsi, 2
mov qword [rsp + 0x28], rsi
test cx, cx
jne 0x14000b3d0
lea rcx, [rbp + 0xbd0]
mov word [rbx], r12w
call fcn.140014848
movsxd r10, dword [0x140032dd0]
lea r14, [0x140047e10]
mov rsi, qword [rsp + 0x40]
mov qword [r14 + r10*8], rax
inc r10d
mov dword [0x140032dd0], r10d
test r10d, r10d
jle 0x14000b7e4
mov r9, r14
nop dword [rax]
mov r8, qword [r9]
mov rax, rsi
sub r8, rsi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000b7d4
add rax, 2
test ecx, ecx
jne 0x14000b7c0
test edx, edx
je 0x14000b7fb
inc r12d
add r9, 8
cmp r12d, r10d
jl 0x14000b7b0
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14000b7e4
cmp rdi, 2
jne 0x14000b7ff
cmp word [rsi + 2], 0x3a
jne 0x14000b7ff
mov al, 1
jmp 0x14000b84c
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000b822
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b849
mov bl, 1
cmp dword [0x140032dd0], 0x400
jge 0x14000b849
mov rcx, rsi
call fcn.140014848
movsxd rdx, dword [0x140032dd0]
mov qword [r14 + rdx*8], rax
inc edx
mov dword [0x140032dd0], edx
movzx eax, bl
mov rcx, qword [rbp + 0x2bd0]
xor rcx, rsp
call fcn.14000c960
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
lea rcx, str.HOME
call fcn.14000b1e0
int3
call fcn.140010144
int3
call fcn.140010144
int3