Function at 0x66bba0
Capabilities:
Get file version info

Disassembly:
push rbp
push rdi
push rsi
sub rsp, 0x190
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0x130], 0
mov qword [rbp + 0x168], 0
mov qword [rbp + 0x160], 0
mov qword [rbp + 0x138], rbp
mov qword [rbp + 0x1b0], rcx
mov qword [rbp + 0x1b8], rdx
mov qword [rbp + 0x1c0], r8
mov rcx, qword [rbp + 0x1c0]
call fcn.00410210
nop
nop
mov dword [rbp + 0x15c], 0
mov byte [rbp + 0x187], 0
mov rcx, qword [rbp + 0x1b0]
call fcn.00411e10
mov rcx, rax
lea rdx, [rbp + 0x15c]
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [rbp + 0x180], eax
cmp dword [rbp + 0x180], 0
jbe 0x66c47d
mov ecx, dword [rbp + 0x180]
call fcn.004088a0
mov qword [rbp + 0x188], rax
nop
mov rcx, qword [rbp + 0x1b0]
call fcn.00411e10
mov rcx, rax
xor rdx, rdx
mov r8d, dword [rbp + 0x180]
mov r9, qword [rbp + 0x188]
call sub.version.dll_GetFileVersionInfoW
test eax, eax
setne al
mov byte [rbp + 0x187], al
cmp byte [rbp + 0x187], 0
je 0x66c45f
cmp qword [rbp + 0x188], 0
je 0x66be76
mov rcx, qword [rbp + 0x188]
lea rdx, [0x0066c7f8]
lea r8, [rbp + 0x140]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
mov rax, qword [rbp + 0x140]
mov eax, dword [rax + 8]
shr eax, 0x10
mov dword [rbp + 0x158], eax
mov rax, qword [rbp + 0x140]
mov eax, dword [rax + 8]
and eax, 0xffff
mov dword [rbp + 0x154], eax
mov rax, qword [rbp + 0x140]
mov eax, dword [rax + 0xc]
shr eax, 0x10
mov dword [rbp + 0x150], eax
mov rax, qword [rbp + 0x140]
mov eax, dword [rax + 0xc]
and eax, 0xffff
mov dword [rbp + 0x14c], eax
mov eax, dword [rbp + 0x158]
mov dword [rbp + 0xf0], eax
mov byte [rbp + 0xf8], 0
mov eax, dword [rbp + 0x154]
mov dword [rbp + 0x100], eax
mov byte [rbp + 0x108], 0
mov eax, dword [rbp + 0x150]
mov dword [rbp + 0x110], eax
mov byte [rbp + 0x118], 0
mov eax, dword [rbp + 0x14c]
mov dword [rbp + 0x120], eax
mov byte [rbp + 0x128], 0
lea rcx, [rbp + 0x130]
lea rdx, [0x0066c808]
lea r8, [rbp + 0xf0]
mov r9d, 3
call fcn.00480110
mov rax, qword [rbp + 0x1b8]
lea rcx, [rax + 0x10]
mov rdx, qword [rbp + 0x130]
call fcn.00411fc0
mov rcx, qword [rbp + 0x188]
lea rdx, [0x0066c820]
lea r8, [rbp + 0x170]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
lea rcx, [rbp + 0xe0]
mov rax, qword [rbp + 0x170]
movzx edx, word [rax]
mov r8d, 4
call fcn.0047dc60
lea rcx, [rbp + 0xd8]
mov rax, qword [rbp + 0x170]
mov edx, dword [rax]
shr edx, 0x10
movzx edx, dx
mov r8d, 4
call fcn.0047dc60
lea rcx, [rbp + 0xe8]
mov edx, 4
lea r8, [0x0066c860]
mov r9, qword [rbp + 0xe0]
mov rax, qword [rbp + 0xd8]
mov qword [rsp + 0x20], rax
lea rax, [0x0066c890]
mov qword [rsp + 0x28], rax
call fcn.00412390
lea rcx, [rbp + 0x168]
mov rdx, qword [rbp + 0xe8]
call fcn.00411fc0
mov rcx, qword [rbp + 0x168]
call fcn.004117b0
mov rcx, qword [rbp + 0x188]
mov rdx, rax
lea r8, [rbp + 0x178]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x66bfde
mov rcx, qword [rbp + 0x188]
lea rdx, [0x0066c894]
lea r8, [rbp + 0x178]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66bfde
cmp qword [rbp + 0x178], 0
je 0x66bfde
lea rcx, [rbp + 0x160]
mov rax, qword [rbp + 0x178]
lea rdx, [rax + 8]
mov r8d, 8
call fcn.00410340
lea rcx, [rbp + 0xd0]
mov edx, 3
lea r8, [0x0066c860]
mov r9, qword [rbp + 0x160]
lea rax, [0x0066c890]
mov qword [rsp + 0x20], rax
call fcn.00412390
lea rcx, [rbp + 0x168]
mov rdx, qword [rbp + 0xd0]
call fcn.00411fc0
lea rcx, [rbp + 0xc8]
mov rdx, qword [rbp + 0x168]
lea r8, [0x0066c8bc]
call fcn.00411860
mov rcx, qword [rbp + 0xc8]
call fcn.004117b0
mov rcx, qword [rbp + 0x188]
mov rdx, rax
lea r8, [rbp + 0x178]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66c04b
lea rcx, [rbp + 0xc0]
mov rdx, qword [rbp + 0x178]
call fcn.00411eb0
mov rcx, qword [rbp + 0x1b8]
mov rdx, qword [rbp + 0xc0]
call fcn.00411fc0
lea rcx, [rbp + 0xb8]
mov rdx, qword [rbp + 0x168]
lea r8, [0x0066c8d8]
call fcn.00411860
mov rcx, qword [rbp + 0xb8]
call fcn.004117b0
mov rcx, qword [rbp + 0x188]
mov rdx, rax
lea r8, [rbp + 0x178]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66c0bc
lea rcx, [rbp + 0xb0]
mov rdx, qword [rbp + 0x178]
call fcn.00411eb0
mov rax, qword [rbp + 0x1b8]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0xb0]
call fcn.00411fc0
lea rcx, [rbp + 0xa8]
mov rdx, qword [rbp + 0x168]
lea r8, [0x0066c8fc]
call fcn.00411860
mov rcx, qword [rbp + 0xa8]
call fcn.004117b0
mov rcx, qword [rbp + 0x188]
mov rdx, rax
lea r8, [rbp + 0x178]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66c12d
lea rcx, [rbp + 0xa0]
mov rdx, qword [rbp + 0x178]
call fcn.00411eb0
mov rax, qword [rbp + 0x1b8]
lea rcx, [rax + 0x18]
mov rdx, qword [rbp + 0xa0]
call fcn.00411fc0
lea rcx, [rbp + 0x98]
mov rdx, qword [rbp + 0x168]
lea r8, [0x0066c91c]
call fcn.00411860
mov rcx, qword [rbp + 0x98]
call fcn.004117b0
mov rcx, qword [rbp + 0x188]
mov rdx, rax
lea r8, [rbp + 0x178]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66c19e
lea rcx, [rbp + 0x90]
mov rdx, qword [rbp + 0x178]
call fcn.00411eb0
mov rax, qword [rbp + 0x1b8]
lea rcx, [rax + 0x20]
mov rdx, qword [rbp + 0x90]
call fcn.00411fc0
lea rcx, [rbp + 0x88]
mov rdx, qword [rbp + 0x168]
lea r8, [0x0066c940]
call fcn.00411860
mov rcx, qword [rbp + 0x88]
call fcn.004117b0
mov rcx, qword [rbp + 0x188]
mov rdx, rax
lea r8, [rbp + 0x178]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66c20f
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x178]
call fcn.00411eb0
mov rax, qword [rbp + 0x1b8]
lea rcx, [rax + 0x28]
mov rdx, qword [rbp + 0x80]
call fcn.00411fc0
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0x168]
lea r8, [0x0066c964]
call fcn.00411860
mov rcx, qword [rbp + 0x78]
call fcn.004117b0
mov rcx, qword [rbp + 0x188]
mov rdx, rax
lea r8, [rbp + 0x178]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66c274
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x178]
call fcn.00411eb0
mov rax, qword [rbp + 0x1b8]
lea rcx, [rax + 0x30]
mov rdx, qword [rbp + 0x70]
call fcn.00411fc0
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x168]
lea r8, [0x0066c98c]
call fcn.00411860
mov rcx, qword [rbp + 0x68]
call fcn.004117b0
mov rcx, qword [rbp + 0x188]
mov rdx, rax
lea r8, [rbp + 0x178]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66c2d9
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x178]
call fcn.00411eb0
mov rax, qword [rbp + 0x1b8]
lea rcx, [rax + 0x38]
mov rdx, qword [rbp + 0x60]
call fcn.00411fc0
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x168]
lea r8, [0x0066c9a8]
call fcn.00411860
mov rcx, qword [rbp + 0x58]
call fcn.004117b0
mov rcx, qword [rbp + 0x188]
mov rdx, rax
lea r8, [rbp + 0x178]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66c33e
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x178]
call fcn.00411eb0
mov rax, qword [rbp + 0x1b8]
lea rcx, [rax + 0x40]
mov rdx, qword [rbp + 0x50]
call fcn.00411fc0
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x168]
lea r8, [0x0066c9cc]
call fcn.00411860
mov rcx, qword [rbp + 0x48]
call fcn.004117b0
mov rcx, qword [rbp + 0x188]
mov rdx, rax
lea r8, [rbp + 0x178]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66c3a3
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x178]
call fcn.00411eb0
mov rax, qword [rbp + 0x1b8]
lea rcx, [rax + 0x48]
mov rdx, qword [rbp + 0x40]
call fcn.00411fc0
mov rcx, qword [rbp + 0x188]
lea rdx, [0x0066c7f8]
lea r8, [rbp + 0x178]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66c3e4
mov rax, qword [rbp + 0x1b8]
mov rsi, qword [rbp + 0x178]
lea rdi, [rax + 0x50]
mov ecx, 6
rep movsq qword [rdi], qword [rsi]
movsd dword [rdi], dword [rsi]
cmp qword [rbp + 0x1c0], 0
je 0x66c45f
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x168]
call fcn.00411f90
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x1c0]
call fcn.00412180
mov rcx, qword [rbp + 0x38]
call fcn.00411e10
mov rcx, qword [rbp + 0x188]
mov rdx, rax
lea r8, [rbp + 0x178]
lea r9, [rbp + 0x180]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66c45f
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x178]
call fcn.00411eb0
mov rax, qword [rbp + 0x1b8]
lea rcx, [rax + 0x84]
mov rdx, qword [rbp + 0x30]
call fcn.00411fc0
nop
mov rcx, qword [rbp + 0x188]
call fcn.004162c0
jmp 0x66c47d
nop
lea rcx, [rbp + 0x30]
mov edx, 3
call fcn.00410160
lea rcx, [rbp + 0x48]
call fcn.00410120
lea rcx, [rbp + 0x50]
call fcn.00410080
lea rcx, [rbp + 0x58]
call fcn.00410120
lea rcx, [rbp + 0x60]
call fcn.00410080
lea rcx, [rbp + 0x68]
call fcn.00410120
lea rcx, [rbp + 0x70]
call fcn.00410080
lea rcx, [rbp + 0x78]
call fcn.00410120
lea rcx, [rbp + 0x80]
call fcn.00410080
lea rcx, [rbp + 0x88]
call fcn.00410120
lea rcx, [rbp + 0x90]
call fcn.00410080
lea rcx, [rbp + 0x98]
call fcn.00410120
lea rcx, [rbp + 0xa0]
call fcn.00410080
lea rcx, [rbp + 0xa8]
call fcn.00410120
lea rcx, [rbp + 0xb0]
call fcn.00410080
lea rcx, [rbp + 0xb8]
call fcn.00410120
lea rcx, [rbp + 0xc0]
call fcn.00410080
lea rcx, [rbp + 0xc8]
call fcn.00410120
lea rcx, [rbp + 0xd0]
mov edx, 4
call fcn.00410160
lea rcx, [rbp + 0x130]
call fcn.00410080
lea rcx, [rbp + 0x160]
call fcn.00410080
lea rcx, [rbp + 0x168]
call fcn.00410120
lea rcx, [rbp + 0x1c0]
call fcn.00410080
movzx rax, byte [rbp + 0x187]
lea rsp, [rbp + 0x190]
pop rsi
pop rdi
pop rbp
ret