Function at 0x14002adbc
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 [0x1400ca118]
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 0x14002aef1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rcx, [rsp + 0x68]
call fcn.140009b88
nop
mov ecx, edi
call fcn.140023e14
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.14000cf48
mov qword [rbp + 0xd8], 0xf
mov qword [rbp + 0xd0], r13
mov byte [rbp + 0xc0], r13b
lea rcx, str..._nsFileSystem.cpp
call fcn.1400657f0
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.14000ade8
mov rbx, rax
mov ecx, edi
call fcn.140023e14
mov edx, eax
mov qword [rsp + 0x20], rbx
mov r9d, 0x1d8
lea r8, [rbp + 0xc0]
lea rcx, [rbp + 0x100]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x100]
call fcn.14005ba94
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.140058c70
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 0x14002b018
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rcx, [rsp + 0x68]
call fcn.140009b88
nop
mov ecx, edi
call fcn.140023e14
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.14000cf48
mov qword [rbp + 0xd8], 0xf
mov qword [rbp + 0xd0], r13
mov byte [rbp + 0xc0], r13b
lea rcx, str..._nsFileSystem.cpp
call fcn.1400657f0
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.14000ade8
mov rbx, rax
mov ecx, edi
call fcn.140023e14
mov edx, eax
mov qword [rsp + 0x20], rbx
mov r9d, 0x1e2
lea r8, [rbp + 0xc0]
lea rcx, [rbp + 0x100]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x100]
call fcn.14005ba94
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, [0x1400a7f40]
mov rcx, qword [rsp + 0x50]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14002b11a
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 [0x1400a6650], r13w
jne 0x14002b079
mov rax, r13
jmp 0x14002b085
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
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.1400657f0
mov r8, rax
lea rdx, str..._nsFileSystem.cpp
lea rcx, [rbp + 0xe0]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
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.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x100]
call fcn.14005ba94
nop
mov eax, dword [rsp + 0x40]
mov r8d, eax
cmp qword [rsp + 0x58], rax
jb 0x14002b671
test eax, eax
je 0x14002b671
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp + 0x88]
call fcn.14005af90
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 0x14002b23a
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 [0x1400a6650], r13w
jne 0x14002b199
mov rax, r13
jmp 0x14002b1a5
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
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.1400657f0
mov r8, rax
lea rdx, str..._nsFileSystem.cpp
lea rcx, [rbp + 0xe0]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
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.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x100]
call fcn.14005ba94
nop
mov ecx, dword [rsp + 0x40]
cmp qword [rsp + 0x58], rcx
jb 0x14002b604
test ecx, ecx
je 0x14002b604
mov dword [rsp + 0x44], r13d
mov r8d, 4
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x44]
call fcn.14005af90
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.1400104e0
mov rbx, rax
mov edx, dword [rbp + 0x90]
shr edx, 0x10
mov r8d, edi
lea rcx, [rbp - 0x10]
call fcn.1400104e0
nop
lea rsi, [0x1400a7f5c]
mov r8, rsi
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14000b210
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14000b1c4
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 0x14002b304
test cx, cx
je 0x14002b380
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.14000b524
mov edx, dword [rbp + 0x94]
shr edx, 0x10
mov r8d, edi
lea rcx, [rsp + 0x68]
call fcn.1400104e0
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14000b31c
nop
lea rcx, [rsp + 0x68]
call fcn.14000a3b0
cmp word [rbp + 0x94], r13w
je 0x14002b380
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.14000b524
mov r8d, edi
movzx edx, word [rbp + 0x94]
lea rcx, [rsp + 0x68]
call fcn.1400104e0
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14000b31c
nop
lea rcx, [rsp + 0x68]
call fcn.14000a3b0
mov r8d, edi
movzx edx, word [rbp + 0x98]
lea rcx, [rbp + 0x40]
call fcn.1400104e0
mov rbx, rax
mov edx, dword [rbp + 0x98]
shr edx, 0x10
mov r8d, edi
lea rcx, [rbp + 0x28]
call fcn.1400104e0
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.14000b210
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000b1c4
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 0x14002b3fe
test cx, cx
je 0x14002b476
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.14000b524
mov edx, dword [rbp + 0x9c]
shr edx, 0x10
mov r8d, edi
lea rcx, [rbp - 0x78]
call fcn.1400104e0
nop
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000b31c
nop
lea rcx, [rbp - 0x78]
call fcn.14000a3b0
cmp word [rbp + 0x9c], r13w
je 0x14002b476
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.14000b524
mov r8d, edi
movzx edx, word [rbp + 0x9c]
lea rcx, [rbp - 0x78]
call fcn.1400104e0
nop
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000b31c
nop
lea rcx, [rbp - 0x78]
call fcn.14000a3b0
lea rdx, [0x140090920]
lea rcx, [rbp - 0x78]
call fcn.140009b04
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x100]
call fcn.14002db24
nop
lea rdx, [0x140090938]
lea rcx, [rbp - 0x10]
call fcn.140009b04
nop
lea rdx, [0x140090950]
lea rcx, [rbp - 0x28]
call fcn.140009b04
nop
lea rdx, [0x140090970]
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.14002cb48
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.14002cb48
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.14002cb48
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.14002cb48
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.14002826c
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 0x14002b73e
lea rdx, [0x1400a6650]
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.140023e14
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.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x100]
call fcn.14005ba94
nop
mov qword [rbp + 0xd8], 7
mov qword [rbp + 0xd0], r13
mov word [rbp + 0xc0], r13w
cmp word [0x1400a6650], r13w
jne 0x14002b69a
mov rax, r13
jmp 0x14002b6a6
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
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.1400657f0
mov r8, rax
lea rdx, str..._nsFileSystem.cpp
lea rcx, [rbp + 0xe0]
call fcn.140004720
nop
mov ecx, 0x715
call fcn.140023e14
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.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x100]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret