Function at 0x14002ac80
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x270
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400c9118]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov r15, rdx
xor r13d, r13d
mov dword [rbp - 0x30], r13d
mov dword [rbp - 0x80], r13d
lea rsi, [rcx + 8]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x1f0]
mov rcx, rax
lea rdx, [rbp - 0x80]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
jne 0x14002adb5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rcx, [rsp + 0x68]
call fcn.140009b88
nop
mov ecx, edi
call fcn.140023b78
mov ebx, eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x1f0]
mov r8, rax
mov r9d, ebx
lea rdx, str.GetFileVersionInfoSize__s__raised_Exception_0x_x_
lea rcx, [rsp + 0x68]
call fcn.14000cf40
mov qword [rbp + 0xd8], 0xf
mov qword [rbp + 0xd0], r13
mov byte [rbp + 0xc0], r13b
lea rcx, str..._nsFileSystem.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsFileSystem.cpp
lea rcx, [rbp + 0xc0]
call fcn.140004720
nop
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x68]
call fcn.14000adcc
mov rbx, rax
mov ecx, edi
call fcn.140023b78
mov edx, eax
mov qword [rsp + 0x20], rbx
mov r9d, 0x1d8
lea r8, [rbp + 0xc0]
lea rcx, [rbp + 0x100]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x100]
call fcn.14005b684
nop
mov qword [rsp + 0x50], r13
lea rcx, vtable.ArrayMemoryBufferPtr_unsigned_char_.0
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x58], r13
mov ebx, eax
mov ecx, eax
call fcn.140058840
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140006620
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x1f0]
mov rcx, rax
mov r9, rbx
mov r8d, edi
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x14002aedc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rcx, [rsp + 0x68]
call fcn.140009b88
nop
mov ecx, edi
call fcn.140023b78
mov ebx, eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x1f0]
mov r8, rax
mov r9d, ebx
lea rdx, str.GetFileVersionInfoSize__s__raised_Exception_0x_x_
lea rcx, [rsp + 0x68]
call fcn.14000cf40
mov qword [rbp + 0xd8], 0xf
mov qword [rbp + 0xd0], r13
mov byte [rbp + 0xc0], r13b
lea rcx, str..._nsFileSystem.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsFileSystem.cpp
lea rcx, [rbp + 0xc0]
call fcn.140004720
nop
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x68]
call fcn.14000adcc
mov rbx, rax
mov ecx, edi
call fcn.140023b78
mov edx, eax
mov qword [rsp + 0x20], rbx
mov r9d, 0x1e2
lea r8, [rbp + 0xc0]
lea rcx, [rbp + 0x100]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x100]
call fcn.14005b684
nop
mov qword [rsp + 0x60], r13
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x40], eax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
lea rdx, [0x1400a6dc0]
mov rcx, qword [rsp + 0x50]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14002afde
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov qword [rbp + 0xd8], 7
mov qword [rbp + 0xd0], r13
mov word [rbp + 0xc0], r13w
cmp word [0x1400a54e0], r13w
jne 0x14002af3d
mov rax, r13
jmp 0x14002af49
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0xc0]
call fcn.1400045d0
nop
mov qword [rbp + 0xf8], 0xf
mov qword [rbp + 0xf0], r13
mov byte [rbp + 0xe0], r13b
lea rcx, str..._nsFileSystem.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsFileSystem.cpp
lea rcx, [rbp + 0xe0]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x1ec
lea r8, [rbp + 0xe0]
lea rcx, [rbp + 0x100]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x100]
call fcn.14005b684
nop
mov eax, dword [rsp + 0x40]
mov r8d, eax
cmp qword [rsp + 0x58], rax
jb 0x14002b535
test eax, eax
je 0x14002b535
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp + 0x88]
call fcn.14005ab80
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
lea rdx, str.VarFileInfoTranslation
mov rcx, qword [rsp + 0x50]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14002b0fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov qword [rbp + 0xd8], 7
mov qword [rbp + 0xd0], r13
mov word [rbp + 0xc0], r13w
cmp word [0x1400a54e0], r13w
jne 0x14002b05d
mov rax, r13
jmp 0x14002b069
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0xc0]
call fcn.1400045d0
nop
mov qword [rbp + 0xf8], 0xf
mov qword [rbp + 0xf0], r13
mov byte [rbp + 0xe0], r13b
lea rcx, str..._nsFileSystem.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsFileSystem.cpp
lea rcx, [rbp + 0xe0]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x1fb
lea r8, [rbp + 0xe0]
lea rcx, [rbp + 0x100]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x100]
call fcn.14005b684
nop
mov ecx, dword [rsp + 0x40]
cmp qword [rsp + 0x58], rcx
jb 0x14002b4c8
test ecx, ecx
je 0x14002b4c8
mov dword [rsp + 0x44], r13d
mov r8d, 4
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x44]
call fcn.14005ab80
mov r14d, dword [rsp + 0x44]
shr r14d, 0x10
movzx r12d, word [rsp + 0x44]
mov edi, 0xa
mov r8d, edi
movzx edx, word [rbp + 0x90]
lea rcx, [rbp - 0x28]
call fcn.140010524
mov rbx, rax
mov edx, dword [rbp + 0x90]
shr edx, 0x10
mov r8d, edi
lea rcx, [rbp - 0x10]
call fcn.140010524
nop
lea rsi, [0x1400a6ddc]
mov r8, rsi
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14000b1fc
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14000b1b0
nop
lea rcx, [rbp - 0x78]
call fcn.14000a3b0
nop
lea rcx, [rbp - 0x10]
call fcn.14000a3b0
nop
lea rcx, [rbp - 0x28]
call fcn.14000a3b0
mov ecx, dword [rbp + 0x94]
mov eax, ecx
shr eax, 0x10
test ax, ax
jne 0x14002b1c8
test cx, cx
je 0x14002b244
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.14000b510
mov edx, dword [rbp + 0x94]
shr edx, 0x10
mov r8d, edi
lea rcx, [rsp + 0x68]
call fcn.140010524
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14000b308
nop
lea rcx, [rsp + 0x68]
call fcn.14000a3b0
cmp word [rbp + 0x94], r13w
je 0x14002b244
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.14000b510
mov r8d, edi
movzx edx, word [rbp + 0x94]
lea rcx, [rsp + 0x68]
call fcn.140010524
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14000b308
nop
lea rcx, [rsp + 0x68]
call fcn.14000a3b0
mov r8d, edi
movzx edx, word [rbp + 0x98]
lea rcx, [rbp + 0x40]
call fcn.140010524
mov rbx, rax
mov edx, dword [rbp + 0x98]
shr edx, 0x10
mov r8d, edi
lea rcx, [rbp + 0x28]
call fcn.140010524
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.14000b1fc
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000b1b0
nop
lea rcx, [rbp + 0x10]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x28]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
mov ecx, dword [rbp + 0x9c]
mov eax, ecx
shr eax, 0x10
test ax, ax
jne 0x14002b2c2
test cx, cx
je 0x14002b33a
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.14000b510
mov edx, dword [rbp + 0x9c]
shr edx, 0x10
mov r8d, edi
lea rcx, [rbp - 0x78]
call fcn.140010524
nop
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000b308
nop
lea rcx, [rbp - 0x78]
call fcn.14000a3b0
cmp word [rbp + 0x9c], r13w
je 0x14002b33a
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.14000b510
mov r8d, edi
movzx edx, word [rbp + 0x9c]
lea rcx, [rbp - 0x78]
call fcn.140010524
nop
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000b308
nop
lea rcx, [rbp - 0x78]
call fcn.14000a3b0
lea rdx, [0x14008f920]
lea rcx, [rbp - 0x78]
call fcn.140009b04
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x100]
call fcn.14002db54
nop
lea rdx, [0x14008f938]
lea rcx, [rbp - 0x10]
call fcn.140009b04
nop
lea rdx, [0x14008f950]
lea rcx, [rbp - 0x28]
call fcn.140009b04
nop
lea rdx, [0x14008f970]
lea rcx, [rsp + 0x68]
call fcn.140009b04
nop
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8d, r12d
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0xc0]
call fcn.14002cb9c
mov rsi, rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8d, r12d
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0xe0]
call fcn.14002cb9c
mov rdi, rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8d, r12d
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0x70]
call fcn.14002cb9c
mov rbx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8d, r12d
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0x58]
call fcn.14002cb9c
nop
mov qword [rsp + 0x30], rsi
lea rcx, [rbp + 0x100]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x48]
mov rcx, r15
call fcn.140027ff8
nop
lea rcx, [rbp + 0x58]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x70]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0xe0]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0xc0]
call fcn.14000a3b0
nop
lea rcx, [rsp + 0x68]
call fcn.14000a3b0
nop
lea rcx, [rbp - 0x28]
call fcn.14000a3b0
nop
lea rcx, [rbp - 0x10]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x100]
call fcn.140005890
nop
lea rcx, [rbp - 0x78]
call fcn.14000a3b0
nop
lea rcx, [rbp - 0x60]
call fcn.14000a3b0
nop
lea rcx, [rbp - 0x48]
call fcn.14000a3b0
nop
lea rcx, [rsp + 0x48]
call fcn.140006760
mov rax, r15
jmp 0x14002b602
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0xc0]
call fcn.1400041b0
nop
lea rdx, str..._nsFileSystem.cpp
lea rcx, [rbp + 0xe0]
call fcn.140004290
nop
mov ecx, 0x715
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x201
lea r8, [rbp + 0xe0]
lea rcx, [rbp + 0x100]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x100]
call fcn.14005b684
nop
mov qword [rbp + 0xd8], 7
mov qword [rbp + 0xd0], r13
mov word [rbp + 0xc0], r13w
cmp word [0x1400a54e0], r13w
jne 0x14002b55e
mov rax, r13
jmp 0x14002b56a
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0xc0]
call fcn.1400045d0
nop
mov qword [rbp + 0xf8], 0xf
mov qword [rbp + 0xf0], r13
mov byte [rbp + 0xe0], r13b
lea rcx, str..._nsFileSystem.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsFileSystem.cpp
lea rcx, [rbp + 0xe0]
call fcn.140004720
nop
mov ecx, 0x715
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x1f2
lea r8, [rbp + 0xe0]
lea rcx, [rbp + 0x100]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x100]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140058200
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret