Function at 0x14023ed9c
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov bl, r9b
mov r14, r8
mov r12, rdx
mov rdi, rcx
xor esi, esi
mov rdx, rcx
lea rcx, [rbp - 0x41]
call fcn.14000cb18
nop
or r15d, 0xffffffff
test bl, bl
je 0x14023ee53
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.14000cb18
nop
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 1]
call fcn.14022a660
nop
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.14000c244
nop
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14023ee33
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14023ee53
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp + 0xf]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
jne 0x14023ee74
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14023f059
mov rcx, rdi
call fcn.1400b9290
mov rbx, rax
mov qword [rbp - 0x39], rax
mov r9, rax
mov r8d, edi
xor edx, edx
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14023eed1
lea r9, [rbp + 0x7f]
lea r8, [rbp - 0x21]
lea rdx, [0x140352420]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14023eed1
lea r9, [rbp + 0x7f]
lea r8, [rbp - 0x21]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x14023eede
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14023f050
cmp dword [rbp + 0x7f], 4
jae 0x14023eeee
mov esi, 0x57
jmp 0x14023f050
mov r13, qword [rbp - 0x21]
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rcx, [rax + 0x18]
mov qword [rbp - 0x49], rcx
mov rax, qword [r12]
mov rdi, qword [r12 + 8]
mov qword [rbp - 0x19], rax
cmp rax, rdi
je 0x14023f030
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.14000c244
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x31], rax
movzx r9d, word [r13 + 2]
movzx r8d, word [r13]
mov rax, qword [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea rdx, str.StringFileInfo_04x_04x_s
lea rcx, [rbp - 0x31]
call fcn.14000d9c8
lea r9, [rbp + 0x13]
lea r8, [rbp + 7]
mov rdx, qword [rbp - 0x31]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14023effb
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x11]
call fcn.14000c4d8
nop
mov rdx, qword [rbp + 7]
lea rcx, [rbp - 9]
call fcn.14000cb18
nop
lea rdx, [rbp - 0x11]
mov rcx, r14
call fcn.140066be0
mov r8, rax
lea rdx, [rbp + 0x1f]
mov rcx, r14
call fcn.140063948
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14023efda
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14023effb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14023f01b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp - 0x19]
add rax, 8
mov rbx, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x49]
jmp 0x14023ef14
lea rdx, [rcx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14023f04c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp - 0x39]
mov rcx, rbx
call fcn.1400bee7c
nop
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14023f079
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
lea r11, [rsp + 0xb0]
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