Function at 0x14013a400
Capabilities:
Get common file path
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x140262958]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rdx
mov qword [rbp - 0x49], rdx
xor r13d, r13d
mov qword [rbp - 0x21], r13
lea r14d, [r13 + 0xf]
mov qword [rbp - 0x19], r14
mov byte [rbp - 0x31], r13b
lea rdx, [0x1401e96a8]
lea rcx, [rbp - 0x31]
call fcn.140054ecc
nop
mov dword [rbp - 0x41], 0xa520a1a4
mov dword [rbp - 0x3d], 0x4ff61780
mov dword [rbp - 0x39], 0x731618bd
mov dword [rbp - 0x35], 0x16afc543
mov r12d, r13d
movups xmm0, xmmword [str.Shell32.dll]
movups xmmword [rbp + 0xf], xmm0
movsd xmm1, qword [0x140203010]
movsd qword [rbp + 0x1f], xmm1
movzx eax, word [0x140203018]
mov word [rbp + 0x27], ax
mov r15d, 0x112
lea rdx, [0x140205d48]
mov esi, 0x224
mov ecx, esi
call fcn.14016bb58
mov rdi, rax
test rax, rax
jne 0x14013a4dd
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
lea r8d, [r13 + 0x20]
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.14016c6d0
nop
jmp 0x14013a75c
mov r8, rsi
xor edx, edx
mov rcx, rdi
call fcn.14016cd80
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
test eax, eax
jne 0x14013a521
mov rcx, rdi
call fcn.14016b110
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
lea r8d, [rsi + 0x20]
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.14016c6d0
nop
jmp 0x14013a4d8
cmp esi, 0x104
jbe 0x14013a5ca
mov rcx, rdi
call fcn.14016b110
lea r15d, [rsi + 0xe]
mov esi, r15d
mov eax, 2
mul rsi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x140205d48]
mov rcx, rax
call fcn.14016bb58
mov rdi, rax
test rax, rax
jne 0x14013a584
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
lea r8d, [rax + 0x20]
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.14016c6d0
nop
jmp 0x14013a4d8
lea r8, [r15 + r15]
xor edx, edx
mov rcx, rdi
call fcn.14016cd80
mov edx, r15d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14013a5ca
mov rcx, rdi
call fcn.14016b110
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
mov r8d, 0x20
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.14016c6d0
nop
jmp 0x14013a4d8
mov rsi, r13
mov edx, r15d
lea r8, [rbp + 0xf]
mov rcx, rdi
call fcn.14013c674
test eax, eax
jne 0x14013a5eb
mov rcx, rdi
call fcn.140144314
mov rsi, rax
mov rcx, rdi
call fcn.14016b110
mov qword [rbp - 1], r13
mov r15d, 7
mov qword [rbp + 7], r15
mov word [rbp - 0x11], r13w
test rsi, rsi
je 0x14013a6b5
lea rdx, [0x140203020]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x49], r13
test rax, rax
je 0x14013a63e
lea r9, [rbp - 0x49]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x41]
call qword [case.0x1401a7275.0]
mov r12d, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r12d, r12d
jne 0x14013a6b5
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdi, qword [rbp - 0x49]
test rdi, rdi
je 0x14013a6ac
mov rcx, rdi
call fcn.140172940
nop
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 0x11]
call fcn.140054f4c
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.1401440c0
nop
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140061aec
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x14013a6a8
inc rdx
mov rcx, qword [rbp + 0xf]
call fcn.14004efbc
mov rdi, qword [rbp - 0x49]
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
mov r8d, 0x20
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.14016c6d0
nop
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], r14
mov byte [rbp - 0x31], r13b
mov edi, 0x1000
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14013a71e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rdi
jb 0x14013a714
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013a792
call fcn.14016b110
nop
mov r14, qword [rbp - 0x19]
mov qword [rbp - 1], r13
mov qword [rbp + 7], r15
mov word [rbp - 0x11], r13w
cmp r14, 0x10
jb 0x14013a75c
lea rdx, [r14 + 1]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, rdi
jb 0x14013a756
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013a78c
call fcn.14016b110
nop
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14016b720
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
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.14017266c
nop
call fcn.14017266c
int3