Function at 0x1400024c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x140032030]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov r13, rdx
mov r15, rcx
test rcx, rcx
jne 0x140002502
xor eax, eax
jmp 0x140002a24
mov dword [rdx], 0x800b0100
mov dword [rbp - 0x50], 0xaac56b
mov dword [rbp - 0x4c], 0x11d0cd44
mov dword [rbp - 0x48], 0xc000c28c
mov dword [rbp - 0x44], 0xee95c24f
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x204]
call fcn.14000d090
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x100]
call fcn.14000d090
mov edx, 0x104
lea rcx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor r14d, r14d
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r14w
lea rax, [rbp + 0x100]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x140002590
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x20]
call fcn.140001b10
nop
mov rdx, qword [rbp - 0x10]
mov r8, qword [rbp - 8]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x1400025e6
lea rcx, [rdx + 1]
mov qword [rbp - 0x10], rcx
lea rax, [rbp - 0x20]
cmp r8, 8
cmovae rax, qword [rbp - 0x20]
mov r8d, 0x5c
mov word [rax + rdx*2], r8w
mov word [rax + rcx*2], r14w
jmp 0x140002604
mov qword [rsp + 0x20], 1
lea r9, [0x14002d1a8]
mov edx, 1
lea rcx, [rbp - 0x20]
call fcn.1400082d0
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rax, rdx
sub rax, rcx
cmp rax, 0xc
jb 0x14000264a
lea rdi, [rcx + 0xc]
mov qword [rbp - 0x10], rdi
lea rbx, [rbp - 0x20]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x20]
lea rcx, [rbx + rcx*2]
mov r8d, 0x18
lea rdx, [0x14002d288]
call fcn.14000c9e0
mov word [rbx + rdi*2], r14w
jmp 0x140002668
mov qword [rsp + 0x20], 0xc
lea r9, [0x14002d288]
mov edx, 0xc
lea rcx, [rbp - 0x20]
call fcn.1400082d0
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r12, rax
test rax, rax
jne 0x140002757
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [r13], eax
mov rax, qword [0x140034610]
test rax, rax
jne 0x1400026ce
lea r8d, [r12 + 0x26]
lea rdx, [0x14002d2a8]
lea rcx, [0x140032a48]
call fcn.1400014a0
lea r8d, [r12 + 2]
lea rdx, [0x14002ce00]
mov rcx, rax
call fcn.1400014a0
jmp 0x1400026d7
lea rcx, [0x14002d2a8]
call rax
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov r8d, 0x26
lea rdx, [0x14002d2a8]
lea rcx, [rbp - 0x40]
call fcn.140001340
nop
lea r8, [rbp - 0x40]
mov edx, 1
mov ecx, ebx
call fcn.140001e80
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140002960
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000274d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a54
call fcn.14000acfc
jmp 0x140002960
lea rdx, [0x14002d2d0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x140002840
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [r13], eax
mov rax, qword [0x140034610]
test rax, rax
jne 0x1400027b7
lea r8d, [rdi + 0x32]
lea rdx, [0x14002d2e0]
lea rcx, [0x140032a48]
call fcn.1400014a0
lea r8d, [rdi + 2]
lea rdx, [0x14002ce00]
mov rcx, rax
call fcn.1400014a0
jmp 0x1400027c0
lea rcx, [0x14002d2e0]
call rax
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov r8d, 0x32
lea rdx, [0x14002d2e0]
lea rcx, [rbp - 0x40]
call fcn.140001340
nop
lea r8, [rbp - 0x40]
mov edx, 2
mov ecx, ebx
call fcn.140001e80
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140002957
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002836
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a54
call fcn.14000acfc
jmp 0x140002957
mov qword [rbp - 0x70], 0x20
mov qword [rbp - 0x68], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm1
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x30], 0x58
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], 2
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0x100
lea rax, [rbp - 0x70]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x50]
xor ecx, ecx
call rdi
mov ebx, eax
test eax, eax
je 0x140002942
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov r8d, 0x26
lea rdx, [0x14002d318]
lea rcx, [rbp - 0x40]
call fcn.140001340
nop
lea r8, [rbp - 0x40]
mov edx, 3
mov ecx, ebx
call fcn.140001e80
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140002942
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000293d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a54
call fcn.14000acfc
mov dword [rsp + 0x60], 2
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x50]
xor ecx, ecx
call rdi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [r13], ebx
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp]
call fcn.14000d090
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, ebx
lea rdx, [0x14002d340]
lea rcx, [rbp]
call fcn.1400020b0
lea rax, [rbp]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140002995
test rsi, rsi
je 0x1400029df
mov rax, qword [0x140034610]
test rax, rax
jne 0x1400029d9
mov r8, rsi
lea rdx, [rbp]
lea rcx, [0x140032a48]
call fcn.1400014a0
mov r8d, 2
lea rdx, [0x14002ce00]
mov rcx, rax
call fcn.1400014a0
jmp 0x1400029df
lea rcx, [rbp]
call rax
test ebx, ebx
sete r14b
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140002a21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a4e
call fcn.14000acfc
mov eax, r14d
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14000aa50
mov rbx, qword [rsp + 0x470]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140010f38
nop
call fcn.140010f38
nop
int3