Function at 0x140002640
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x14004a080]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0xa0]
call fcn.14000df30
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1400026e8
mov cx, 0xc
call fcn.1400012b0
lea rdx, [0x140038928]
lea rcx, [0x14004b820]
call fcn.1400037e0
mov cx, 7
call fcn.1400012b0
lea rdx, str.Could_not_get_version_size_for
lea rcx, [0x14004b820]
call fcn.1400037e0
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.140003790
lea rdx, [0x140006950]
mov rcx, rax
call fcn.140009f00
nop
jmp 0x1400029f5
lea rcx, [rsp + 0x20]
call fcn.1400047b0
mov ecx, dword [rsp + 0x24]
mov r8, rax
mov edx, ecx
lea rcx, [rsp + 0x50]
call fcn.1400080e0
nop
lea rcx, [rsp + 0x50]
call fcn.14000d9d0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000df30
mov rcx, qword [rsp + 0x48]
mov r9, rcx
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x30]
mov rcx, rax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x1400027a7
mov cx, 0xc
call fcn.1400012b0
lea rdx, [0x140038950]
lea rcx, [0x14004b820]
call fcn.1400037e0
mov cx, 7
call fcn.1400012b0
lea rdx, str.Could_not_get_version_info_for
lea rcx, [0x14004b820]
call fcn.1400037e0
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.140003790
lea rdx, [0x140006950]
mov rcx, rax
call fcn.140009f00
nop
lea rcx, [rsp + 0x50]
call fcn.1400093a0
nop
jmp 0x1400029f5
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x50]
call fcn.14000d9d0
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x28]
lea rdx, [0x140038978]
mov rcx, rax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x140002837
mov cx, 0xc
call fcn.1400012b0
lea rdx, [0x14003897c]
lea rcx, [0x14004b820]
call fcn.1400037e0
mov cx, 7
call fcn.1400012b0
lea rdx, str.Could_not_query_version_value.
lea rcx, [0x14004b820]
call fcn.1400037e0
lea rdx, [0x140006950]
mov rcx, rax
call fcn.140009f00
nop
lea rcx, [rsp + 0x50]
call fcn.1400093a0
nop
jmp 0x1400029f5
cmp qword [rsp + 0x28], 0
je 0x1400029ea
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x68]
call fcn.140007d30
nop
xor r8d, r8d
lea rdx, [0x1400389a8]
mov rcx, qword [rsp + 0xa0]
call fcn.14000f8f0
cmp rax, 0xffffffffffffffff
je 0x1400028db
lea rdx, str.Brave
lea rcx, [rsp + 0x68]
call fcn.140009810
nop
jmp 0x14000291e
xor r8d, r8d
lea rdx, [0x1400389b8]
mov rcx, qword [rsp + 0xa0]
call fcn.14000f8f0
cmp rax, 0xffffffffffffffff
je 0x14000290c
lea rdx, str.Edge
lea rcx, [rsp + 0x68]
call fcn.140009810
nop
jmp 0x14000291e
lea rdx, str.Chrome
lea rcx, [rsp + 0x68]
call fcn.140009810
nop
mov cx, 0xa
call fcn.1400012b0
lea rdx, [0x1400389d0]
lea rcx, [0x14004b700]
call fcn.1400037e0
mov cx, 7
call fcn.1400012b0
lea rdx, str.Found
lea rcx, [0x14004b700]
call fcn.1400037e0
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140003790
lea rdx, str._Version:
mov rcx, rax
call fcn.1400037e0
mov edx, dword [rsp + 0x38]
mov rcx, rax
call fcn.140009d30
lea rdx, [0x1400389e0]
mov rcx, rax
call fcn.1400037e0
mov edx, dword [rsp + 0x3c]
mov rcx, rax
call fcn.140009d30
lea rdx, [0x1400389dc]
mov rcx, rax
call fcn.1400037e0
mov edx, dword [rsp + 0x40]
mov rcx, rax
call fcn.140009d30
lea rdx, [0x1400389d8]
mov rcx, rax
call fcn.1400037e0
mov edx, dword [rsp + 0x44]
mov rcx, rax
call fcn.140009d30
lea rdx, [0x140006950]
mov rcx, rax
call fcn.140009f00
nop
lea rcx, [rsp + 0x68]
call fcn.140009210
nop
lea rcx, [rsp + 0x50]
call fcn.1400093a0
nop
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140014290
add rsp, 0x98
ret