Function at 0xa7a760
Capabilities:
Get file version info

Disassembly:
push rbp
push rdi
push rsi
sub rsp, 0x1e0
mov rbp, rsp
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 + 0xc8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0x1a8], 0
mov qword [rbp + 0xd8], rbp
mov qword [rbp + 0x200], rcx
lea rcx, [rbp + 0x128]
mov rdx, qword [0x00a79c58]
call fcn.00410d70
nop
mov rax, qword [rbp + 0x200]
mov rcx, qword [rax + 0x10]
mov dl, 1
call fcn.00431ee0
test al, al
jne 0xa7a850
mov rax, qword [rbp + 0x200]
mov dword [rax + 0x58], 0xa
jmp 0xa7b20a
mov rax, qword [rbp + 0x200]
mov rcx, qword [rax + 0x10]
call fcn.0040ffc0
mov rcx, rax
lea rdx, [rbp + 0x1c8]
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [rbp + 0x1cc], eax
cmp dword [rbp + 0x1cc], 0
jne 0xa7a891
mov rax, qword [rbp + 0x200]
mov dword [rax + 0x58], 0xb
jmp 0xa7b20a
mov ecx, dword [rbp + 0x1cc]
call fcn.004332b0
mov qword [rbp + 0x1d0], rax
nop
mov rax, qword [rbp + 0x200]
mov rcx, qword [rax + 0x10]
call fcn.0040ffc0
mov rcx, rax
xor rdx, rdx
mov r8d, dword [rbp + 0x1cc]
mov r9, qword [rbp + 0x1d0]
call sub.version.dll_GetFileVersionInfoW
test eax, eax
jne 0xa7a8e4
mov rax, qword [rbp + 0x200]
mov dword [rax + 0x58], 0xc
jmp 0xa7b1df
mov rcx, qword [rbp + 0x1d0]
lea rdx, [0x00a7b340]
lea r8, [rbp + 0x1c0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
mov rcx, qword [rbp + 0x200]
test eax, eax
setne al
mov byte [rcx + 0x5c], al
mov rax, qword [rbp + 0x200]
cmp byte [rax + 0x5c], 0
je 0xa7a9b7
mov rax, qword [rbp + 0x200]
mov rsi, qword [rbp + 0x1c0]
lea rdi, [rax + 0x18]
mov ecx, 6
rep movsq qword [rdi], qword [rsi]
movsd dword [rdi], dword [rsi]
mov rax, qword [rbp + 0x200]
mov eax, dword [rax + 0x20]
mov dword [rbp + 0x120], eax
mov rax, qword [rbp + 0x200]
mov ecx, dword [rbp + 0x120]
shr ecx, 0x10
mov word [rax + 0x4c], cx
mov rax, qword [rbp + 0x200]
mov rcx, qword [rbp + 0x200]
movzx rcx, word [rcx + 0x20]
mov word [rax + 0x4e], cx
mov rax, qword [rbp + 0x200]
mov eax, dword [rax + 0x24]
mov dword [rbp + 0x11c], eax
mov rax, qword [rbp + 0x200]
mov ecx, dword [rbp + 0x11c]
shr ecx, 0x10
mov word [rax + 0x50], cx
mov rax, qword [rbp + 0x200]
mov rcx, qword [rbp + 0x200]
movzx rcx, word [rcx + 0x24]
mov word [rax + 0x52], cx
mov rcx, qword [rbp + 0x1d0]
lea rdx, [0x00a7b344]
lea r8, [rbp + 0x1c0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0xa7a9ef
mov rax, qword [rbp + 0x200]
mov dword [rax + 0x58], 0xd
jmp 0xa7b1df
cmp dword [rbp + 0x1bc], 0
jne 0xa7aa0b
mov rax, qword [rbp + 0x200]
mov dword [rax + 0x58], 0xe
jmp 0xa7b1df
mov ecx, 4
mov eax, dword [rbp + 0x1bc]
xor edx, edx
div ecx
test edx, edx
je 0xa7aa32
mov rax, qword [rbp + 0x200]
mov dword [rax + 0x58], 0xf
jmp 0xa7b1df
mov ecx, 4
mov eax, dword [rbp + 0x1bc]
xor edx, edx
div ecx
mov dword [rbp + 0x1b4], eax
mov eax, 1
mov ecx, dword [rbp + 0x1b4]
mov dword [rbp + 0x3c], ecx
mov dword [rbp + 0x1b8], eax
mov eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x1b8], eax
jg 0xa7b1cf
mov eax, dword [rbp + 0x3c]
add eax, 1
mov dword [rbp + 0x3c], eax
mov ecx, 4
call fcn.00406850
mov qword [rbp + 0x1d8], rax
nop
mov rcx, qword [rbp + 0x1c0]
mov rdx, qword [rbp + 0x1d8]
mov r8d, dword [rbp + 0x1bc]
call fcn.00406ce0
lea rcx, [rbp + 0x128]
call fcn.00a7b5e0
mov rax, qword [rbp + 0x1d8]
movzx rax, word [rax]
mov word [rbp + 0x128], ax
mov rax, qword [rbp + 0x1d8]
movzx rax, word [rax + 2]
mov word [rbp + 0x12a], ax
lea rcx, [rbp + 0xd0]
movzx rdx, word [rbp + 0x128]
call fcn.00a79980
lea rcx, [rbp + 0x138]
mov rdx, qword [rbp + 0xd0]
call fcn.0040e9f0
lea rcx, [rbp + 0xc8]
movzx edx, word [rbp + 0x12a]
call fcn.00431240
lea rcx, [rbp + 0xc0]
movzx rdx, word [rbp + 0x12a]
call fcn.00a799f0
lea rcx, [rbp + 0x130]
mov edx, 3
mov r8, qword [rbp + 0xc8]
lea r9, [0x00a7b384]
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x20], rax
call fcn.00410540
mov rax, qword [rbp + 0x1d8]
movzx eax, word [rax]
mov dword [rbp + 0xa0], eax
mov byte [rbp + 0xa8], 0
mov rax, qword [rbp + 0x1d8]
movzx eax, word [rax + 2]
mov dword [rbp + 0xb0], eax
mov byte [rbp + 0xb8], 0
lea rcx, [rbp + 0x1a8]
lea rdx, [0x00a7b398]
lea r8, [rbp + 0xa0]
mov r9d, 1
call fcn.00433550
lea rcx, [rbp + 0x98]
mov edx, 3
lea r8, [0x00a7b3bc]
mov r9, qword [rbp + 0x1a8]
lea rax, [0x00a7b3ec]
mov qword [rsp + 0x20], rax
call fcn.00410540
mov rcx, qword [rbp + 0x98]
call fcn.0040ffc0
mov rcx, qword [rbp + 0x1d0]
mov rdx, rax
lea r8, [rbp + 0x1a0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xa7ac09
lea rcx, [rbp + 0x140]
mov rdx, qword [rbp + 0x1a0]
call fcn.00410060
lea rcx, [rbp + 0x90]
mov edx, 3
lea r8, [0x00a7b3bc]
mov r9, qword [rbp + 0x1a8]
lea rax, [0x00a7b414]
mov qword [rsp + 0x20], rax
call fcn.00410540
mov rcx, qword [rbp + 0x90]
call fcn.0040ffc0
mov rcx, qword [rbp + 0x1d0]
mov rdx, rax
lea r8, [rbp + 0x1a0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xa7ac75
lea rcx, [rbp + 0x148]
mov rdx, qword [rbp + 0x1a0]
call fcn.00410060
lea rcx, [rbp + 0x88]
mov edx, 3
lea r8, [0x00a7b3bc]
mov r9, qword [rbp + 0x1a8]
lea rax, [0x00a7b440]
mov qword [rsp + 0x20], rax
call fcn.00410540
mov rcx, qword [rbp + 0x88]
call fcn.0040ffc0
mov rcx, qword [rbp + 0x1d0]
mov rdx, rax
lea r8, [rbp + 0x1a0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xa7ace1
lea rcx, [rbp + 0x150]
mov rdx, qword [rbp + 0x1a0]
call fcn.00410060
lea rcx, [rbp + 0x80]
mov edx, 3
lea r8, [0x00a7b3bc]
mov r9, qword [rbp + 0x1a8]
lea rax, [0x00a7b468]
mov qword [rsp + 0x20], rax
call fcn.00410540
mov rcx, qword [rbp + 0x80]
call fcn.0040ffc0
mov rcx, qword [rbp + 0x1d0]
mov rdx, rax
lea r8, [rbp + 0x1a0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xa7ad4d
lea rcx, [rbp + 0x158]
mov rdx, qword [rbp + 0x1a0]
call fcn.00410060
lea rcx, [rbp + 0x78]
mov edx, 3
lea r8, [0x00a7b3bc]
mov r9, qword [rbp + 0x1a8]
lea rax, [0x00a7b498]
mov qword [rsp + 0x20], rax
call fcn.00410540
mov rcx, qword [rbp + 0x78]
call fcn.0040ffc0
mov rcx, qword [rbp + 0x1d0]
mov rdx, rax
lea r8, [rbp + 0x1a0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xa7adb3
lea rcx, [rbp + 0x160]
mov rdx, qword [rbp + 0x1a0]
call fcn.00410060
lea rcx, [rbp + 0x70]
mov edx, 3
lea r8, [0x00a7b3bc]
mov r9, qword [rbp + 0x1a8]
lea rax, [0x00a7b4c8]
mov qword [rsp + 0x20], rax
call fcn.00410540
mov rcx, qword [rbp + 0x70]
call fcn.0040ffc0
mov rcx, qword [rbp + 0x1d0]
mov rdx, rax
lea r8, [rbp + 0x1a0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xa7ae19
lea rcx, [rbp + 0x168]
mov rdx, qword [rbp + 0x1a0]
call fcn.00410060
lea rcx, [rbp + 0x68]
mov edx, 3
lea r8, [0x00a7b3bc]
mov r9, qword [rbp + 0x1a8]
lea rax, [0x00a7b4f0]
mov qword [rsp + 0x20], rax
call fcn.00410540
mov rcx, qword [rbp + 0x68]
call fcn.0040ffc0
mov rcx, qword [rbp + 0x1d0]
mov rdx, rax
lea r8, [rbp + 0x1a0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xa7ae7f
lea rcx, [rbp + 0x170]
mov rdx, qword [rbp + 0x1a0]
call fcn.00410060
lea rcx, [rbp + 0x60]
mov edx, 3
lea r8, [0x00a7b3bc]
mov r9, qword [rbp + 0x1a8]
lea rax, [0x00a7b518]
mov qword [rsp + 0x20], rax
call fcn.00410540
mov rcx, qword [rbp + 0x60]
call fcn.0040ffc0
mov rcx, qword [rbp + 0x1d0]
mov rdx, rax
lea r8, [rbp + 0x1a0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xa7aee5
lea rcx, [rbp + 0x178]
mov rdx, qword [rbp + 0x1a0]
call fcn.00410060
lea rcx, [rbp + 0x58]
mov edx, 3
lea r8, [0x00a7b3bc]
mov r9, qword [rbp + 0x1a8]
lea rax, [0x00a7b544]
mov qword [rsp + 0x20], rax
call fcn.00410540
mov rcx, qword [rbp + 0x58]
call fcn.0040ffc0
mov rcx, qword [rbp + 0x1d0]
mov rdx, rax
lea r8, [rbp + 0x1a0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xa7af4b
lea rcx, [rbp + 0x180]
mov rdx, qword [rbp + 0x1a0]
call fcn.00410060
lea rcx, [rbp + 0x50]
mov edx, 3
lea r8, [0x00a7b3bc]
mov r9, qword [rbp + 0x1a8]
lea rax, [0x00a7b574]
mov qword [rsp + 0x20], rax
call fcn.00410540
mov rcx, qword [rbp + 0x50]
call fcn.0040ffc0
mov rcx, qword [rbp + 0x1d0]
mov rdx, rax
lea r8, [rbp + 0x1a0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xa7afb1
lea rcx, [rbp + 0x188]
mov rdx, qword [rbp + 0x1a0]
call fcn.00410060
lea rcx, [rbp + 0x48]
mov edx, 3
lea r8, [0x00a7b3bc]
mov r9, qword [rbp + 0x1a8]
lea rax, [0x00a7b59c]
mov qword [rsp + 0x20], rax
call fcn.00410540
mov rcx, qword [rbp + 0x48]
call fcn.0040ffc0
mov rcx, qword [rbp + 0x1d0]
mov rdx, rax
lea r8, [rbp + 0x1a0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xa7b017
lea rcx, [rbp + 0x190]
mov rdx, qword [rbp + 0x1a0]
call fcn.00410060
lea rcx, [rbp + 0x40]
mov edx, 3
lea r8, [0x00a7b3bc]
mov r9, qword [rbp + 0x1a8]
lea rax, [0x00a7b5c4]
mov qword [rsp + 0x20], rax
call fcn.00410540
mov rcx, qword [rbp + 0x40]
call fcn.0040ffc0
mov rcx, qword [rbp + 0x1d0]
mov rdx, rax
lea r8, [rbp + 0x1a0]
lea r9, [rbp + 0x1bc]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xa7b07d
lea rcx, [rbp + 0x198]
mov rdx, qword [rbp + 0x1a0]
call fcn.00410060
mov rax, qword [rbp + 0x200]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x110]
mov qword [rbp + 0x108], rax
cmp qword [rbp + 0x108], 0
je 0xa7b0b9
mov rax, qword [rbp + 0x108]
mov rax, qword [rax - 8]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x200]
lea rcx, [rax + 0x60]
mov rdx, qword [0x00a7a4c8]
mov r8d, 1
mov rax, qword [rbp + 0x108]
lea r9, [rax + 1]
call fcn.00411e80
mov rax, qword [rbp + 0x200]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0xf8], rax
cmp qword [rbp + 0xf8], 0
je 0xa7b11e
mov rax, qword [rbp + 0xf8]
mov rax, qword [rax - 8]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0x200]
mov rax, qword [rax + 0x60]
mov rcx, qword [rbp + 0xf8]
mov rdx, rcx
shl rcx, 4
sub rcx, rdx
lea rcx, [rax + rcx*8 - 0x78]
lea rdx, [rbp + 0x128]
mov r8, qword [0x00a79c58]
call fcn.004113a0
cmp word [rbp + 0x128], 0x409
jne 0xa7b1ac
mov rax, qword [rbp + 0x200]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
je 0xa7b199
mov rax, qword [rbp + 0xe8]
mov rax, qword [rax - 8]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0x200]
mov ecx, dword [rbp + 0xe8]
sub ecx, 1
mov dword [rax + 8], ecx
nop
mov rcx, qword [rbp + 0x1d8]
call fcn.00406880
add dword [rbp + 0x1b8], 1
mov eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x1b8], eax
jne 0xa7aa75
nop
nop
mov rcx, qword [rbp + 0x1d0]
call fcn.00433320
jmp 0xa7b1f0
xor rcx, rcx
mov rdx, qword [rbp + 0xd8]
call fcn.00a7b290
jmp 0xa7b20a
mov rax, qword [rbp + 0x200]
mov dword [rax + 0x58], 0
mov rax, qword [rbp + 0x200]
mov byte [rax + 0x54], 1
nop
lea rcx, [rbp + 0x40]
mov edx, 0xc
call fcn.0040e420
lea rcx, [rbp + 0xc0]
mov edx, 3
call fcn.0040e420
lea rcx, [rbp + 0x128]
mov rdx, qword [0x00a79c58]
call fcn.00410f10
lea rcx, [rbp + 0x1a8]
call fcn.0040e340
lea rsp, [rbp + 0x1e0]
pop rsi
pop rdi
pop rbp
ret