Function at 0x45310c
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4c8
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rax, qword [rsp + 0x538]
xor ebx, ebx
mov r15, r9
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x548]
mov rbp, r8
mov r12, rdx
mov r14, rcx
lea r13d, [rbx + 1]
mov qword [rsp + 0x50], rax
cmp r9, rbx
je 0x453213
mov rsi, qword [rsp + 0x530]
cmp rsi, rbx
jbe 0x453213
lea rdx, [rsp + 0x60]
call fcn.0046f92c
cmp eax, ebx
jne 0x453201
lea rcx, [rsp + 0x92]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x90], bx
call fcn.00449860
lea r8, [rsp + 0x80]
lea rcx, [rsp + 0x90]
mov edx, 0x104
call fcn.0046f7c0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x90]
lea r9, str._____s__
or r8, 0xffffffffffffffff
repne scasw ax, word [rdi]
lea rax, [rsp + 0x90]
mov rdx, rsi
not rcx
mov qword [rsp + 0x20], rax
sub rcx, r13
mov word [rsp + rcx*2 + 0x8e], bx
mov rcx, r15
call fcn.00445024
jmp 0x453213
lea r8, str._____:__:___
mov rdx, rsi
mov rcx, r15
call fcn.004444bc
lea rdx, [rsp + 0x58]
mov rcx, r14
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp eax, ebx
jne 0x45323f
lea r8, str.____________
mov rdx, rbp
mov rcx, r12
call fcn.004444bc
xor eax, eax
jmp 0x4534fd
mov rcx, rdi
call fcn.004444b0
mov rsi, rax
cmp rax, rbx
je 0x453238
mov r9, rax
mov r8d, edi
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x30], ebx
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, ebx
jne 0x453283
lea r8, [0x00491ea8]
mov rdx, rbp
mov rcx, r12
call fcn.004444bc
mov rcx, rsi
call fcn.00444544
jmp 0x453238
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, str.VarFileInfoTranslation
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
cmp eax, ebx
je 0x453267
mov r15d, 0x206
lea rcx, [rsp + 0x2a2]
xor edx, edx
mov r8, r15
mov word [rsp + 0x2a0], bx
call fcn.00449860
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rbx
movzx ecx, word [rax + 2]
movzx edx, word [rax]
or r14, 0xffffffffffffffff
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea r9, str.StringFileInfo_04x_04xFileVersion
lea rcx, [rsp + 0x2a0]
mov r8, r14
mov edx, 0x104
call fcn.00445024
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x2a0]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
mov rdx, rbp
mov rcx, r12
cmp eax, ebx
jne 0x45332e
lea r8, [0x00491ea8]
call fcn.004444bc
jmp 0x4534f3
lea r8, [0x00491e08]
call fcn.004444bc
mov r8, qword [rsp + 0x48]
xor eax, eax
mov rcx, r14
mov rdi, r12
mov rdx, rbp
repne scasw ax, word [rdi]
not rcx
sub rcx, r13
sub rdx, rcx
mov rcx, r12
sub rdx, r13
call fcn.00444f54
xor eax, eax
mov rcx, r14
mov rdi, r12
lea r8, [0x00491e00]
repne scasw ax, word [rdi]
not rcx
sub rcx, r13
sub rbp, rcx
mov rcx, r12
sub rbp, r13
mov rdx, rbp
call fcn.00444f54
mov rbp, qword [rsp + 0x38]
cmp rbp, rbx
je 0x45343d
mov rdi, qword [rsp + 0x540]
cmp rdi, rbx
jbe 0x45343d
lea rcx, [rsp + 0x92]
mov r8, r15
xor edx, edx
mov word [rsp + 0x90], bx
call fcn.00449860
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rbx
movzx ecx, word [rax + 2]
movzx edx, word [rax]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea r9, str.StringFileInfo_04x_04xInternalName
lea rcx, [rsp + 0x90]
mov r8, r14
mov edx, 0x104
call fcn.00445024
lea r8, [0x004998e4]
mov rdx, rdi
mov rcx, rbp
call fcn.004444bc
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x90]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
cmp eax, ebx
jne 0x45342d
mov r13d, ebx
jmp 0x45343d
mov r8, qword [rsp + 0x38]
mov rdx, rdi
mov rcx, rbp
call fcn.004444bc
mov rbp, qword [rsp + 0x50]
cmp rbp, rbx
je 0x4534f0
mov rdi, qword [rsp + 0x550]
cmp rdi, rbx
jbe 0x4534f0
lea rcx, [rsp + 0x92]
mov r8, r15
xor edx, edx
mov word [rsp + 0x90], bx
call fcn.00449860
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rbx
movzx ecx, word [rax + 2]
movzx eax, word [rax]
mov dword [rsp + 0x28], ecx
lea r9, str.StringFileInfo_04x_04xOriginalFilename
lea rcx, [rsp + 0x90]
mov r8, r14
mov edx, 0x104
mov dword [rsp + 0x20], eax
call fcn.00445024
lea r8, [0x004998e4]
mov rdx, rdi
mov rcx, rbp
call fcn.004444bc
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x90]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
cmp eax, ebx
jne 0x4534e0
mov r13d, ebx
jmp 0x4534f0
mov r8, qword [rsp + 0x38]
mov rdx, rdi
mov rcx, rbp
call fcn.004444bc
mov ebx, r13d
mov rcx, rsi
call fcn.00444544
mov eax, ebx
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.00443d60
add rsp, 0x4c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret