Function at 0x140007200
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
mov byte [rcx], 0
xor esi, esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.1400659a0
mov edx, 0x104
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400074d9
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140007280
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.14001c900
nop
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
mov r8d, 0xc
lea rdx, str.wintrust.dll
lea rcx, [rsp + 0x20]
call fcn.14001c900
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140004530
mov rdi, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140007336
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007331
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000750a
call fcn.140062610
movdqa xmm0, xmmword [0x1400b20f0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140013070
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140007399
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007394
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007510
call fcn.140062610
movdqa xmm0, xmmword [0x1400b20f0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140013070
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
xor edx, edx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov rcx, qword [rbx + 8]
cmp rcx, rax
je 0x1400073fa
test rcx, rcx
je 0x1400073f3
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 8], rsi
mov qword [rbx + 8], rdi
mov rcx, rdi
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140007440
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007437
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007516
call fcn.140062610
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000749b
lea rdx, str.CryptCATAdminAcquireContext2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x140007460
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbx + 0x18], rdi
lea rdx, str.CryptCATAdminCalcHashFromFileHandle2
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x140007483
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 0
je 0x140007497
test rdi, rdi
je 0x140007497
mov al, 1
jmp 0x140007499
xor al, al
mov byte [rbx], al
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400074d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007504
call fcn.140062610
nop
mov rax, rbx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400625f0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400695b8
nop
call fcn.1400695b8
nop
call fcn.1400695b8
int3
call fcn.1400695b8
int3