Function at 0x4bb570
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cabb2
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x5142b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
call fcn.00403f00
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x4bb5e8
mov dword [ebp - 0x40], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ed0
mov eax, dword [ebp - 0x40]
jmp 0x4bbbb8
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4bb635
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
push 0x4f21f8
call fcn.00423ad0
add esp, 0xc
mov dword [ebp - 0x44], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ed0
mov eax, dword [ebp - 0x44]
jmp 0x4bbbb8
mov eax, dword [ebp - 0x14]
push eax
push 1
call fcn.00491e51
add esp, 8
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x4bb694
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4f2250
call fcn.00423ad0
add esp, 0xc
mov dword [ebp - 0x48], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ed0
mov eax, dword [ebp - 0x48]
jmp 0x4bbbb8
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x4f1f6c
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x4bb6cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
push 0x4f22a8
call fcn.00423ad0
add esp, 0xc
jmp 0x4bb766
push 0x40
call fcn.0048dbc3
add esp, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push 0x4f21b4
push 0x20
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004923e5
add esp, 0x1c
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x18
call fcn.00401f20
cmp dword [ebp - 0x30], 0
je 0x4bb766
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.004915c0
add esp, 4
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0x4f203c
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4bb9bf
mov dword [ebp - 0x34], 0
jmp 0x4bb797
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x20]
shr eax, 2
cmp dword [ebp - 0x34], eax
jae 0x4bb983
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x14], 0
push 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + ecx*4 + 2]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + ecx*4]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0x4f21d4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004ba280
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x4bb7f8
mov ecx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00401f20
mov dword [ebp - 0x14], 0
push 0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + edx*4 + 2]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + edx*4]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x38]
push eax
push 0x4f22f8
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004ba280
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x4bb846
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 8
call fcn.00401f20
mov dword [ebp - 0x14], 0
push 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + eax*4 + 2]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + eax*4]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0x4f2310
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004ba280
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x4bb894
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x14
call fcn.00401f20
mov dword [ebp - 0x14], 0
push 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + ecx*4 + 2]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + ecx*4]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0x4f2328
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004ba280
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x4bb8e2
mov ecx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
call fcn.00401f20
mov dword [ebp - 0x14], 0
push 0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + edx*4 + 2]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + edx*4]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x38]
push eax
push 0x4f2340
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004ba280
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x4bb930
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.00401f20
mov dword [ebp - 0x14], 0
push 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + eax*4 + 2]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + eax*4]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0x4f2360
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004ba280
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x4bb97e
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
call fcn.00401f20
jmp 0x4bb78e
cmp dword [ebp - 0x1c], 0
je 0x4bb99c
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048efd8
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ed0
mov eax, dword [ebp - 0x54]
jmp 0x4bbbb8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0
push 1
push 0
push 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x3c]
push eax
push str.OriginalFilename
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004ba280
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x4bb9fe
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00401f20
mov dword [ebp - 0x14], 0
push 1
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0x4f23a0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004ba280
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x4bba39
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 8
call fcn.00401f20
mov dword [ebp - 0x14], 0
push 1
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x3c]
push edx
push str.CompanyName
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004ba280
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x4bba74
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x14
call fcn.00401f20
mov dword [ebp - 0x14], 0
push 1
push 0
push 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x3c]
push eax
push str.ProductName
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004ba280
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x4bbaaf
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
call fcn.00401f20
mov dword [ebp - 0x14], 0
push 1
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push str.ProductVersion
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004ba280
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x4bbaea
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.00401f20
mov dword [ebp - 0x14], 0
push 1
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x3c]
push edx
push str.InternalName
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004ba280
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x4bbb25
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 4
call fcn.00401f20
cmp dword [ebp - 0x1c], 0
je 0x4bbb3e
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048efd8
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ed0
mov eax, dword [ebp - 0x58]
jmp 0x4bbbb8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret