Function at 0x14007e120
Capabilities:
Get common file path
Get file version info

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov dword [rsp + 0x2c], edx
xor edi, edi
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x50]
call fcn.140286140
lea rcx, [rbp - 0x70]
call fcn.14000c320
nop
movzx eax, di
mov dword [rsp + 0x28], eax
movzx r12d, di
mov word [rsp + 0x24], di
mov edx, 0x100
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14007e1b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8d, [rdi + 0x13]
lea rdx, str.C:WindowsSystem32
jmp 0x14007e1d1
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14007e1c2
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.14000d3a0
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.wintrust.dll
lea rcx, [rbp - 0x70]
call fcn.14000d710
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400993b0
nop
mov dword [rsp + 0x48], edi
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x48]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14007e323
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x20], al
mov edx, esi
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140099290
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x50]
mov r9, rbx
mov r8d, esi
mov edx, dword [rsp + 0x48]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x14007e2b0
test rbx, rbx
je 0x14007e323
mov rdx, qword [rsp + 0x60]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14007e30d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007e45b
jmp 0x14007e30d
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x68], edi
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x40]
lea rdx, [0x1403c6eb4]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x14007e36b
test rbx, rbx
je 0x14007e323
mov rdx, qword [rsp + 0x60]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14007e30d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007e461
mov rcx, rbx
call fcn.140282c34
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x70]
call fcn.14000c300
xor bl, bl
lea rcx, [rbp - 0x70]
call fcn.14000c300
movzx eax, bl
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rax, qword [rsp + 0x40]
mov r15d, dword [rax + 8]
mov r14d, r15d
shr r14d, 0x10
mov r13d, dword [rax + 0xc]
mov esi, r13d
shr esi, 0x10
test rbx, rbx
je 0x14007e3cd
mov rdx, qword [rsp + 0x60]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14007e3b7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007e455
mov rcx, rbx
call fcn.140282c34
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x70]
call fcn.14000c300
mov ecx, dword [rsp + 0x2c]
lea eax, [rcx - 6]
cmp eax, 1
jbe 0x14007e3f8
cmp ecx, 5
jne 0x14007e420
mov r12d, 0x1773
mov dword [rsp + 0x24], 0x504b
jmp 0x14007e411
mov eax, 1
mov dword [rsp + 0x28], eax
mov eax, 0x5f3e
mov r12d, 0x1db1
mov word [rsp + 0x24], ax
mov edi, 6
cmp r14w, di
jb 0x14007e32d
cmp di, r14w
jb 0x14007e44e
mov eax, dword [rsp + 0x28]
cmp r15w, ax
jb 0x14007e32d
ja 0x14007e44e
cmp si, r12w
jb 0x14007e32d
ja 0x14007e44e
cmp r13w, word [rsp + 0x24]
jb 0x14007e32d
mov bl, 1
jmp 0x14007e32f
call fcn.14028ea2c
int3
call fcn.14028ea2c
int3
call fcn.14028ea2c
int3