Function at 0x140052820
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, reloc.mfc110u.dll_Ordinal_3112
sub rsp, 0xd00
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140324030]
xor rax, rsp
mov qword [rbp + 0xbf0], rax
mov rdi, rcx
mov qword [rbp - 0x78], rcx
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rdi + 8]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rdi + 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rdi + 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rdi + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rdi + 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rdi + 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rdi + 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rdi + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rdx, [0x14022aca8]
lea rcx, [rdi + 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_1494]
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov r8d, 0x208
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [rbp + 0xd0]
mov edx, 0x104
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.MSVCR110.dll_wcscpy_s]
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov qword [rsp + 0x40], 0x100
lea rax, [rbp + 0x9f0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x100
lea rax, [rbp + 0x7f0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x100
lea r9, [rbp + 0x5f0]
mov r8d, 3
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCR110.dll__wsplitpath_s]
lea rdx, [rbp - 0x54]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r12d, eax
test eax, eax
je 0x140052bbd
mov ecx, r12d
call fcn.1401e355c
mov rbx, rax
mov r9, rax
mov r8d, r12d
xor edx, edx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140052bb4
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x60]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x68]
lea rdx, [0x140223734]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140052a76
mov rcx, qword [rbp - 0x68]
mov eax, dword [rcx]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 4]
mov dword [rsp + 0x54], eax
mov edx, dword [rcx + 8]
mov dword [rsp + 0x58], edx
mov eax, dword [rcx + 0xc]
mov dword [rsp + 0x5c], eax
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x60], eax
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x64], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x68], eax
mov eax, dword [rcx + 0x1c]
mov dword [rsp + 0x6c], eax
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x70], eax
mov eax, dword [rcx + 0x24]
mov dword [rsp + 0x74], eax
mov eax, dword [rcx + 0x28]
mov dword [rsp + 0x78], eax
mov eax, dword [rcx + 0x2c]
mov dword [rsp + 0x7c], eax
mov eax, dword [rcx + 0x30]
mov dword [rbp - 0x80], eax
mov eax, edx
shr eax, 0x10
mov dword [rdi + 0x18], eax
movzx eax, dx
mov dword [rdi + 0x1c], eax
mov rcx, qword [rsp + 0x58]
shr rcx, 0x20
mov eax, ecx
shr eax, 0x10
mov dword [rdi + 0x20], eax
movzx eax, cx
mov dword [rdi + 0x24], eax
mov rax, qword [rbp - 0x60]
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
mov dword [rsp + 0x20], ecx
lea r8, str.StringFileInfo_04x_04xPrivateBuild
mov edx, 0x80
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCR110.dll_swprintf_s]
lea rcx, [rdi + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_4122]
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140052ade
mov r8, qword [rbp - 0x68]
lea rdx, [0x14022875c]
lea rcx, [rdi + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rcx, [rdi + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_8269]
mov rax, qword [rbp - 0x60]
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
mov dword [rsp + 0x20], ecx
lea r8, str.StringFileInfo_04x_04xSpecialBuild
mov edx, 0x80
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCR110.dll_swprintf_s]
lea rcx, [rdi + 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4122]
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140052b46
mov r8, qword [rbp - 0x68]
lea rdx, [0x14022875c]
lea rcx, [rdi + 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rcx, [rdi + 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_8269]
lea rcx, [rdi + 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_4122]
mov rax, qword [rbp - 0x60]
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
mov dword [rsp + 0x20], ecx
lea r8, str.StringFileInfo_04x_04xComments
mov edx, 0x80
lea rcx, [rbp + 0x2e0]
call qword [sym.imp.MSVCR110.dll_swprintf_s]
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0x2e0]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140052bb4
mov r8, qword [rbp - 0x68]
lea rdx, [0x14022875c]
lea rcx, [rdi + 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rcx, [rdi + 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_8269]
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void____ptr64_]
mov rax, qword [rdi]
cmp dword [rax - 0x10], 0
jne 0x140052be1
lea r9, [rbp + 0x5f0]
lea r8, [rbp - 0x40]
lea rdx, [0x14022adb8]
mov rcx, rdi
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
mov rax, qword [rdi + 8]
cmp dword [rax - 0x10], 0
jne 0x140052c15
lea rdx, [rbp + 0x3e0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
nop
mov rdx, rax
lea rcx, [rdi + 8]
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov eax, dword [rdi + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x20]
mov dword [rsp + 0x20], eax
mov r9d, dword [rdi + 0x1c]
mov r8d, dword [rdi + 0x18]
lea rdx, str._d._d._d._d
lea rcx, [rdi + 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
mov edx, dword [rdi + 0x24]
mov dword [rsp + 0x28], edx
mov edx, dword [rdi + 0x20]
mov dword [rsp + 0x20], edx
mov r9d, dword [rdi + 0x1c]
mov r8d, dword [rdi + 0x18]
lea rdx, str._d._d._d__Rev.__d_
lea rcx, [rdi + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
mov rax, rdi
mov rcx, qword [rbp + 0xbf0]
xor rcx, rsp
call fcn.1401e3980
lea r11, [rsp + 0xd00]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret