Function at 0x14000b470
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.14001fc90
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2bd0], rax
mov r10d, dword [0x140032d14]
lea rsi, [0x140035d50]
xor r12d, r12d
mov qword [rsp + 0x40], rcx
mov rdi, rcx
mov r13, 0xffffffffffffffff
test r10d, r10d
jne 0x14000ba07
lea rdi, str.HOME
mov word [rbp + 0xbd0], r12w
mov qword [rsp + 0x30], rdi
lea rsi, [rbp + 0xbd0]
mov r15d, 0x1000
mov eax, r12d
mov ecx, 0x7b
cmp cx, 0x7b
jne 0x14000b514
lea rax, [rbp - 0x30]
mov word [rbp - 0x30], r12w
jmp 0x14000b9bd
movzx ecx, word [rdi]
cmp cx, 0x7d
jne 0x14000b997
lea rdx, [0x14002a7e0]
mov word [rax], r12w
lea rcx, [rbp - 0x30]
xor bl, bl
call fcn.140014848
test eax, eax
jne 0x14000b54e
mov rdx, rsi
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov bl, 1
jmp 0x14000b94f
lea rdx, [0x14002a7f0]
lea rcx, [rbp - 0x30]
call fcn.140014848
test eax, eax
jne 0x14000b57d
mov r8d, r15d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000badd
jmp 0x14000b94f
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp - 0x30]
call fcn.140014848
test eax, eax
jne 0x14000b5fa
mov rax, r13
inc rax
cmp word [rsi + rax*2], r12w
jne 0x14000b594
mov r8, r15
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, rsi
call fcn.14000abd0
test al, al
je 0x14000badd
mov rax, r13
nop
inc rax
cmp word [rsi + rax*2], r12w
jne 0x14000b5c0
cmp rax, 4
jb 0x14000b94f
lea rbx, [rsi + rax*2]
lea rcx, [rbx - 8]
lea rdx, str..exe
call fcn.140014848
test eax, eax
jne 0x14000b94b
mov word [rbx - 8], r12w
jmp 0x14000b94b
lea rdx, [0x14002a848]
lea rcx, [rbp - 0x30]
call fcn.140014848
test eax, eax
jne 0x14000b6cb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14002a7dc]
mov edx, 0x80
mov r9d, eax
lea rcx, [rsp + 0x50]
call fcn.140001060
lea r14, [rsp + 0x50]
mov rdi, r15
mov rbx, rsi
cmp word [rsi], r12w
je 0x14000b64f
add rbx, 2
dec rdi
cmp word [rbx], r12w
jne 0x14000b642
movzx edx, byte [rsp + 0x50]
test dl, dl
je 0x14000b946
nop dword [rax]
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r12w
je 0x14000b67d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x14000b670
cmp rcx, 1
jb 0x14000baea
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 0x14000b693
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x24]
call fcn.140010460
movzx edx, byte [r14 + 1]
inc r14
add rbx, 2
dec rdi
test dl, dl
jne 0x14000b660
jmp 0x14000b946
lea rdx, [0x14002a850]
lea rcx, [rbp - 0x30]
call fcn.140014848
test eax, eax
jne 0x14000b6e6
mov edx, 0x28
jmp 0x14000b6ff
lea rdx, str.CACHE_DIR
lea rcx, [rbp - 0x30]
call fcn.140014848
test eax, eax
jne 0x14000b719
mov edx, 0x1c
mov r8, r15
mov rcx, rsi
call fcn.14000ab10
test al, al
je 0x14000badd
mov bl, 1
jmp 0x14000b94f
lea rdx, str.COMPANY
lea rcx, [rbp - 0x30]
call fcn.140014848
test eax, eax
jne 0x14000b789
mov rdx, r15
mov rcx, rsi
cmp word [rsi], r12w
je 0x14000b74d
nop dword [rax]
add rcx, 2
dec rdx
cmp word [rcx], r12w
jne 0x14000b740
lea r8, str.AimRise
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000baf0
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r12w
jne 0x14000b760
mov word [rcx], r12w
jmp 0x14000b94f
lea rdx, str.PRODUCT
lea rcx, [rbp - 0x30]
call fcn.140014848
test eax, eax
jne 0x14000b7f9
mov rdx, r15
mov rcx, rsi
cmp word [rsi], r12w
je 0x14000b7bd
nop dword [rax]
add rcx, 2
dec rdx
cmp word [rcx], r12w
jne 0x14000b7b0
lea r8, str.AimRise
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000baf0
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r12w
jne 0x14000b7d0
mov word [rcx], r12w
jmp 0x14000b94f
lea rdx, str.VERSION
lea rcx, [rbp - 0x30]
call fcn.140014848
test eax, eax
jne 0x14000b869
mov rdx, r15
mov rcx, rsi
cmp word [rsi], r12w
je 0x14000b82d
nop dword [rax]
add rcx, 2
dec rdx
cmp word [rcx], r12w
jne 0x14000b820
lea r8, str.1.00
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000baf0
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r12w
jne 0x14000b840
mov word [rcx], r12w
jmp 0x14000b94f
lea rdx, str.TIME
lea rcx, [rbp - 0x30]
call fcn.140014848
test eax, eax
jne 0x14000badd
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 rdi, r15
mov rbx, rsi
cmp word [rsi], r12w
je 0x14000b8ce
add rbx, 2
dec rdi
cmp word [rbx], r12w
jne 0x14000b8c1
movzx edx, byte [rbp + 0x7d0]
test dl, dl
je 0x14000b946
nop dword [rax]
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r12w
je 0x14000b8fd
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x14000b8f0
cmp rcx, 1
jb 0x14000baf6
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 0x14000b913
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x28]
call fcn.140010460
movzx edx, byte [r14 + 1]
inc r14
add rbx, 2
dec rdi
test dl, dl
jne 0x14000b8e0
mov rdi, qword [rsp + 0x30]
movzx ebx, r12b
cmp word [rsi], r12w
je 0x14000b96d
nop word [rax + rax]
add rsi, 2
dec r15
cmp word [rsi], r12w
jne 0x14000b960
test bl, bl
je 0x14000b992
cmp word [rsi - 2], 0x5c
jne 0x14000b992
nop dword [rax + rax]
sub rsi, 2
inc r15
mov word [rsi], r12w
cmp word [rsi - 2], 0x5c
je 0x14000b980
mov rax, r12
jmp 0x14000b9bd
test rax, rax
je 0x14000b9a5
mov word [rax], cx
add rax, 2
jmp 0x14000b9bd
cmp r15, 1
jb 0x14000badd
mov word [rsi], cx
add rsi, 2
dec r15
mov word [rsi], r12w
movzx ecx, word [rdi + 2]
add rdi, 2
mov qword [rsp + 0x30], rdi
test cx, cx
jne 0x14000b500
lea rcx, [rbp + 0xbd0]
mov word [rsi], r12w
call fcn.1400146e0
movsxd r10, dword [0x140032d14]
lea rsi, [0x140035d50]
mov rdi, qword [rsp + 0x40]
mov qword [rsi + r10*8], rax
inc r10d
mov dword [0x140032d14], r10d
test r10d, r10d
jle 0x14000ba44
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 0x14000ba34
add rax, 2
test ecx, ecx
jne 0x14000ba20
test edx, edx
je 0x14000ba5c
inc r12d
add r9, 8
cmp r12d, r10d
jl 0x14000ba10
inc r13
cmp word [rdi + r13*2], 0
jne 0x14000ba44
cmp r13, 2
jne 0x14000ba60
cmp word [rdi + 2], 0x3a
jne 0x14000ba60
mov al, 1
jmp 0x14000baad
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000ba83
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000baaa
mov bl, 1
cmp dword [0x140032d14], 0x400
jge 0x14000baaa
mov rcx, rdi
call fcn.1400146e0
movsxd rdx, dword [0x140032d14]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x140032d14], edx
movzx eax, bl
mov rcx, qword [rbp + 0x2bd0]
xor rcx, rsp
call fcn.14000c990
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.14000b310
int3
call fcn.14001011c
int3
call fcn.14001011c
int3
call fcn.14001011c
int3