Function at 0x4bb150
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e7828
mov eax, dword fs:[0]
push eax
sub esp, 0x174
push ebx
push esi
push edi
lea edi, [ebp - 0x180]
mov ecx, 0x5d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x63f0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x64c034
call fcn.004a3eee
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
call fcn.004a168f
push eax
call fcn.004a6644
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4bb442
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a1301
add esp, 4
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0
je 0x4bb442
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp + 8]
call fcn.004a168f
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x17c]
push eax
mov ecx, dword [ebp - 0x180]
push ecx
call fcn.004a660d
test eax, eax
je 0x4bb405
call fcn.004a1a3b
test eax, eax
je 0x4bb34e
call fcn.004a3d45
test eax, eax
jne 0x4bb34e
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x48]
push ecx
push str.VarFileInfoTranslation
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004a3f57
test eax, eax
je 0x4bb34e
mov dword [ebp - 0x60], 0
jmp 0x4bb277
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x54]
shr eax, 2
cmp dword [ebp - 0x60], eax
jae 0x4bb34e
push 4
lea ecx, [ebp - 0x6c]
call fcn.004a2e72
lea ecx, [ebp - 0x6c]
call fcn.004a3002
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x48]
movzx edx, word [ecx + eax*4 + 2]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x48]
movzx edx, word [ecx + eax*4]
push edx
push str.StringFileInfo_04x_04xFileVersion
lea eax, [ebp - 0x6c]
push eax
call fcn.004a6333
add esp, 0x10
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x84], 0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004a168f
push eax
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004a3f57
test eax, eax
je 0x4bb33a
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004a1dc9
push 0x2e
push 0x2c
mov ecx, dword [ebp + 0xc]
call fcn.004a2620
push 0x20
mov ecx, dword [ebp + 0xc]
call fcn.004a4515
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004a667b
jmp 0x4bb34e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004a667b
jmp 0x4bb26e
cmp dword [ebp - 0x18], 0
je 0x4bb367
mov ecx, dword [ebp + 0xc]
call fcn.004a5ca3
movzx eax, al
test eax, eax
je 0x4bb405
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x9c], 0
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x90]
push ecx
push 0x5f6e94
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004a3f57
test eax, eax
je 0x4bb405
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push str._d._d._d._d
mov eax, dword [ebp + 0xc]
push eax
call fcn.004a6333
add esp, 0x18
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
push ecx
call fcn.004a3dd6
add esp, 4
cmp dword [ebp - 0x174], 0
jne 0x4bb432
mov dword [ebp - 0x17c], 0
jmp 0x4bb442
mov dword [ebp - 0x3c], 0x8123
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp - 0x18]
push edx
mov ecx, ebp
push eax
lea edx, [0x4bb480]
call fcn.004a43a3
pop eax
pop edx
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.004a3895
add esp, 0x180
cmp ebp, esp
call fcn.004a40ab
mov esp, ebp
pop ebp
ret