Function at 0x140006400
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x14004c028]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r14, rdx
mov rsi, rcx
xor edi, edi
xor r9d, r9d
lea r8d, [rdi + 0x1a]
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rbp + 0x10]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x140006466
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.140002100
nop
mov r8d, 1
lea rdx, [0x140041e30]
lea rcx, [rbp - 0x50]
call fcn.1400106a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, rbx
inc r8
cmp byte [rsi + r8], 0
jne 0x1400064c3
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.1400106a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x140041e30]
lea rcx, [rsp + 0x70]
call fcn.1400106a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140006550
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400106a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 4
lea rdx, str..dll
lea rcx, [rsp + 0x30]
call fcn.1400106a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov qword [rbp + 8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000661e
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006619
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006619
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
movdqa xmm0, xmmword [0x140042c80]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140006671
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000666c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000666c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
movdqa xmm0, xmmword [0x140042c80]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1400066c3
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400066be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
movdqa xmm0, xmmword [0x140042c80]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140006713
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000670e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000670e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
movdqa xmm0, xmmword [0x140042c80]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140006762
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000675d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000675d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
movdqa xmm0, xmmword [0x140042c80]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdi, qword [rbp]
lea rbx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rbx, qword [rbp - 0x10]
call fcn.1400392c0
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.1400043e0
nop
lea rcx, [rbp - 0x30]
call fcn.140005d80
test al, al
sete bl
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400067f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400067f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
test bl, bl
jne 0x14000693e
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400a7478], rax
test rax, rax
je 0x14000693e
lea rdx, str.Connect
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a7348], rax
lea rdx, str.InjectModule
mov rcx, qword [0x1400a7478]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a7320], rax
lea rdx, str.InjectModuleLL
mov rcx, qword [0x1400a7478]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a7308], rax
lea rdx, str.GetProgress
mov rcx, qword [0x1400a7478]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a7340], rax
lea rdx, str.ProgressAnimated
mov rcx, qword [0x1400a7478]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a7318], rax
lea rdx, str.GetStatus
mov rcx, qword [0x1400a7478]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a7310], rax
lea rdx, str.GetUsername
mov rcx, qword [0x1400a7478]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a7338], rax
lea rdx, str.GetModules
mov rcx, qword [0x1400a7478]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a7330], rax
lea rdx, str.GetGroups
mov rcx, qword [0x1400a7478]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov qword [0x1400a7328], rax
cmp byte [0x1400a7508], bl
jne 0x14000698c
call fcn.1400060f0
test al, al
jne 0x140006985
xor r9d, r9d
lea r8, str.Fatal_Error
lea rdx, str.Failed_to_read_meta_data
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor bl, bl
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140006a1d
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [0x1400a7328]
mov rax, qword [0x1400a7348]
test rax, rax
je 0x14000693e
cmp qword [0x1400a7320], 0
je 0x14000693e
cmp qword [0x1400a7308], 0
je 0x14000693e
cmp qword [0x1400a7340], 0
je 0x14000693e
cmp qword [0x1400a7318], 0
je 0x14000693e
cmp qword [0x1400a7310], 0
je 0x14000693e
cmp qword [0x1400a7338], 0
je 0x14000693e
cmp qword [0x1400a7330], 0
je 0x14000693e
test rcx, rcx
je 0x14000693e
mov byte [r14], 1
lea r8, [0x1400a7528]
lea rdx, [0x1400a7540]
mov rcx, rsi
call rax
test eax, eax
setne bl
jmp 0x140006940
call fcn.140039c44
movzx eax, bl
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140039be0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret