Function at 0x4b7b10
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5365ea
mov eax, dword fs:[0]
push eax
sub esp, 0x4f0
mov eax, dword [0x58c250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x4f4], eax
mov dword [ebp - 0x4f0], ebx
jb 0x4b7b5c
mov eax, dword [edi]
jmp 0x4b7b5e
mov eax, edi
lea ecx, [ebp - 0x4f0]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x4b7b78
xor al, al
jmp 0x4b8397
lea edx, [ebp - 0x4d5]
push edx
push esi
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 0x4d5], bl
mov dword [ebp - 0x4e8], ebx
mov dword [ebp - 0x4e4], ebx
mov dword [ebp - 0x4e0], ebx
call fcn.00443430
mov dword [ebp - 4], ebx
cmp dword [edi + 0x14], 8
jb 0x4b7bb0
mov eax, dword [edi]
jmp 0x4b7bb2
mov eax, edi
mov edi, dword [ebp - 0x4e8]
push edi
push esi
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4b7be0
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x4b7bd9
push edi
call fcn.004efd7c
add esp, 4
xor al, al
jmp 0x4b8385
lea eax, [ebp - 0x4ec]
push eax
lea ecx, [ebp - 0x4d4]
push ecx
push str.VarFileInfoTranslation
push edi
mov dword [ebp - 0x4d4], ebx
mov dword [ebp - 0x4ec], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4b7bc5
mov eax, dword [ebp - 0x4ec]
shr eax, 2
xor esi, esi
mov dword [ebp - 0x4f8], eax
cmp eax, ebx
jle 0x4b836f
lea edx, [ebp - 0x210]
push edx
call fcn.004af360
add esp, 4
mov dword [ebp - 0x4fc], eax
jmp 0x4b7c40
lea ecx, [ebp - 0x4d0]
call fcn.004b7510
mov byte [ebp - 4], 1
push 0x1fc
lea ecx, [ebp - 0x20e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x210], ax
call fcn.004f0550
mov edx, dword [ebp - 0x4fc]
mov ecx, dword [ebp - 0x4d4]
add esp, 0xc
push edx
movzx edx, word [ecx + esi*4]
lea eax, [ebp - 0x210]
push eax
push edx
call sub.KERNEL32.dll_VerLanguageNameW
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b7c94
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x4cc]
call fcn.004069f0
mov eax, dword [ebp - 0x4d4]
mov cx, word [eax + esi*4]
mov word [ebp - 0x4d0], cx
mov dx, word [eax + esi*4 + 2]
push 8
xor eax, eax
push str.Comments
lea ecx, [ebp - 0x2b8]
mov word [ebp - 0x4ce], dx
mov dword [ebp - 0x2a4], 7
mov dword [ebp - 0x2a8], ebx
mov word [ebp - 0x2b8], ax
call fcn.004069f0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x4b0]
push ecx
movzx ecx, word [eax + esi*4 + 2]
lea edx, [ebp - 0x2b8]
push edx
movzx edx, word [eax + esi*4]
push ecx
push edx
push edi
call fcn.004b7660
add esp, 0x14
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2a4], 8
jb 0x4b7d46
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.004efd7c
add esp, 4
xor ecx, ecx
mov eax, 7
push 0xb
mov word [ebp - 0x2b8], cx
xor edx, edx
push str.CompanyName
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2e0], ebx
mov word [ebp - 0x2f0], dx
call fcn.004069f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x494]
push ecx
movzx ecx, word [eax + esi*4 + 2]
lea edx, [ebp - 0x2f0]
push edx
movzx edx, word [eax + esi*4]
push ecx
push edx
push edi
call fcn.004b7660
add esp, 0x14
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2dc], 8
jb 0x4b7dcf
mov eax, dword [ebp - 0x2f0]
push eax
call fcn.004efd7c
add esp, 4
xor ecx, ecx
mov eax, 7
push 0xf
mov word [ebp - 0x2f0], cx
xor edx, edx
push str.FileDescription
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2e0], ebx
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x21c], ebx
mov word [ebp - 0x22c], dx
call fcn.004069f0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x478]
push ecx
movzx ecx, word [eax + esi*4 + 2]
lea edx, [ebp - 0x22c]
push edx
movzx edx, word [eax + esi*4]
push ecx
push edx
push edi
call fcn.004b7660
add esp, 0x14
mov byte [ebp - 4], 1
cmp dword [ebp - 0x218], 8
jb 0x4b7e58
mov eax, dword [ebp - 0x22c]
push eax
call fcn.004efd7c
add esp, 4
xor ecx, ecx
mov eax, 7
push 0xb
mov word [ebp - 0x22c], cx
xor edx, edx
push str.FileVersion
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x248], dx
call fcn.004069f0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x45c]
push ecx
movzx ecx, word [eax + esi*4 + 2]
lea edx, [ebp - 0x248]
push edx
movzx edx, word [eax + esi*4]
push ecx
push edx
push edi
call fcn.004b7660
add esp, 0x14
mov byte [ebp - 4], 1
cmp dword [ebp - 0x234], 8
jb 0x4b7ee1
mov eax, dword [ebp - 0x248]
push eax
call fcn.004efd7c
add esp, 4
xor ecx, ecx
mov eax, 7
push 0xc
mov word [ebp - 0x248], cx
xor edx, edx
push str.InternalName
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x254], ebx
mov word [ebp - 0x264], dx
call fcn.004069f0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x440]
push ecx
movzx ecx, word [eax + esi*4 + 2]
lea edx, [ebp - 0x264]
push edx
movzx edx, word [eax + esi*4]
push ecx
push edx
push edi
call fcn.004b7660
add esp, 0x14
mov byte [ebp - 4], 1
cmp dword [ebp - 0x250], 8
jb 0x4b7f6a
mov eax, dword [ebp - 0x264]
push eax
call fcn.004efd7c
add esp, 4
xor ecx, ecx
mov eax, 7
push 0xe
mov word [ebp - 0x264], cx
xor edx, edx
push str.LegalCopyright
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x270], ebx
mov word [ebp - 0x280], dx
call fcn.004069f0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x424]
push ecx
movzx ecx, word [eax + esi*4 + 2]
lea edx, [ebp - 0x280]
push edx
movzx edx, word [eax + esi*4]
push ecx
push edx
push edi
call fcn.004b7660
add esp, 0x14
mov byte [ebp - 4], 1
cmp dword [ebp - 0x26c], 8
jb 0x4b7ff3
mov eax, dword [ebp - 0x280]
push eax
call fcn.004efd7c
add esp, 4
xor ecx, ecx
mov eax, 7
push 0xf
mov word [ebp - 0x280], cx
xor edx, edx
push str.LegalTrademarks
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x28c], ebx
mov word [ebp - 0x29c], dx
call fcn.004069f0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x408]
push ecx
movzx ecx, word [eax + esi*4 + 2]
lea edx, [ebp - 0x29c]
push edx
movzx edx, word [eax + esi*4]
push ecx
push edx
push edi
call fcn.004b7660
add esp, 0x14
mov byte [ebp - 4], 1
cmp dword [ebp - 0x288], 8
jb 0x4b807c
mov eax, dword [ebp - 0x29c]
push eax
call fcn.004efd7c
add esp, 4
xor ecx, ecx
mov eax, 7
push 0x10
mov word [ebp - 0x29c], cx
xor edx, edx
push str.OriginalFilename
lea ecx, [ebp - 0x2d4]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2c4], ebx
mov word [ebp - 0x2d4], dx
call fcn.004069f0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x3ec]
push ecx
movzx ecx, word [eax + esi*4 + 2]
lea edx, [ebp - 0x2d4]
push edx
movzx edx, word [eax + esi*4]
push ecx
push edx
push edi
call fcn.004b7660
add esp, 0x14
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c0], 8
jb 0x4b8105
mov eax, dword [ebp - 0x2d4]
push eax
call fcn.004efd7c
add esp, 4
xor ecx, ecx
mov eax, 7
push 0xc
mov word [ebp - 0x2d4], cx
xor edx, edx
push str.PrivateBuild
lea ecx, [ebp - 0x30c]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2fc], ebx
mov word [ebp - 0x30c], dx
call fcn.004069f0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x3d0]
push ecx
movzx ecx, word [eax + esi*4 + 2]
lea edx, [ebp - 0x30c]
push edx
movzx edx, word [eax + esi*4]
push ecx
push edx
push edi
call fcn.004b7660
add esp, 0x14
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2f8], 8
jb 0x4b818e
mov eax, dword [ebp - 0x30c]
push eax
call fcn.004efd7c
add esp, 4
xor ecx, ecx
mov eax, 7
push 0xb
mov word [ebp - 0x30c], cx
xor edx, edx
push str.ProductName
lea ecx, [ebp - 0x360]
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2fc], ebx
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x350], ebx
mov word [ebp - 0x360], dx
call fcn.004069f0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x3b4]
push ecx
movzx ecx, word [eax + esi*4 + 2]
lea edx, [ebp - 0x360]
push edx
movzx edx, word [eax + esi*4]
push ecx
push edx
push edi
call fcn.004b7660
add esp, 0x14
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34c], 8
jb 0x4b8217
mov eax, dword [ebp - 0x360]
push eax
call fcn.004efd7c
add esp, 4
xor ecx, ecx
mov eax, 7
push 0xe
mov word [ebp - 0x360], cx
xor edx, edx
push str.ProductVersion
lea ecx, [ebp - 0x344]
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x350], ebx
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x334], ebx
mov word [ebp - 0x344], dx
call fcn.004069f0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x398]
push ecx
movzx ecx, word [eax + esi*4 + 2]
lea edx, [ebp - 0x344]
push edx
movzx edx, word [eax + esi*4]
push ecx
push edx
push edi
call fcn.004b7660
add esp, 0x14
mov byte [ebp - 4], 1
cmp dword [ebp - 0x330], 8
jb 0x4b82a0
mov eax, dword [ebp - 0x344]
push eax
call fcn.004efd7c
add esp, 4
xor ecx, ecx
mov eax, 7
push 0xc
mov word [ebp - 0x344], cx
xor edx, edx
push str.SpecialBuild
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x318], ebx
mov word [ebp - 0x328], dx
call fcn.004069f0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x37c]
push ecx
movzx ecx, word [eax + esi*4 + 2]
lea edx, [ebp - 0x328]
push edx
movzx edx, word [eax + esi*4]
push ecx
push edx
push edi
call fcn.004b7660
add esp, 0x14
mov byte [ebp - 4], 1
cmp dword [ebp - 0x314], 8
jb 0x4b8329
mov eax, dword [ebp - 0x328]
push eax
call fcn.004efd7c
add esp, 4
xor ecx, ecx
lea edx, [ebp - 0x4d0]
mov word [ebp - 0x328], cx
mov ecx, dword [ebp - 0x4f4]
push edx
mov dword [ebp - 0x314], 7
mov dword [ebp - 0x318], ebx
call fcn.004b7a80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4d0]
call fcn.004437c0
inc esi
cmp esi, dword [ebp - 0x4f8]
jl 0x4b7c40
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x4b8383
push edi
call fcn.004efd7c
add esp, 4
mov al, 1
mov dword [ebp - 0x4e8], ebx
mov dword [ebp - 0x4e4], ebx
mov dword [ebp - 0x4e0], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f0194
mov esp, ebp
pop ebp
ret