Function at 0x433100
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c96e8
mov eax, dword fs:[0]
push eax
sub esp, 0x510
mov eax, dword [0x50545c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x4d4], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x4d2]
push ecx
call fcn.004931a0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x4d4]
push eax
call fcn.00493a44
add esp, 8
push 0
lea ecx, [ebp - 0x4d4]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
shl eax, 1
mov dword [ebp - 0xc4], eax
jne 0x433190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004129d0
jmp 0x4333a2
mov edx, dword [ebp - 0xc4]
add edx, 1
push edx
call fcn.00498f07
add esp, 4
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jne 0x4331c5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004129d0
jmp 0x4333a2
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
push 0
lea edx, [ebp - 0x4d4]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x433213
mov eax, dword [ebp - 0xd0]
push eax
call fcn.00493a9a
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004129d0
jmp 0x4333a2
lea ecx, [ebp - 0xc0]
push ecx
lea edx, [ebp - 0x4d8]
push edx
push str.VarFileInfoTranslation
mov eax, dword [ebp - 0xd0]
push eax
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x433264
mov ecx, dword [ebp - 0xd0]
push ecx
call fcn.00493a9a
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004129d0
jmp 0x4333a2
mov dword [ebp - 0x14], 0x4da45c
mov dword [ebp - 0x4dc], 0
jmp 0x433286
mov edx, dword [ebp - 0x4dc]
add edx, 1
mov dword [ebp - 0x4dc], edx
mov eax, dword [ebp - 0xc0]
shr eax, 2
cmp dword [ebp - 0x4dc], eax
jae 0x433384
mov ecx, dword [ebp - 0x4dc]
mov edx, dword [ebp - 0x4d8]
movzx eax, word [edx + ecx*4 + 2]
push eax
mov ecx, dword [ebp - 0x4dc]
mov edx, dword [ebp - 0x4d8]
movzx eax, word [edx + ecx*4]
push eax
push str.StringFileInfo_04x_04x_
lea ecx, [ebp - 0xbc]
push ecx
call fcn.00494329
add esp, 0x10
push 0x4d1934
lea edx, [ebp - 0xbc]
push edx
call fcn.00493a16
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call fcn.00493a16
add esp, 8
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0xd0]
push edx
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
je 0x43337f
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x4d4]
push ecx
call fcn.00493a44
add esp, 8
lea edx, [ebp - 0x4d4]
test edx, edx
jne 0x433352
mov dword [ebp - 0x4f0], 0
jmp 0x433367
lea eax, [ebp - 0x4d4]
push eax
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x4f0], eax
mov ecx, dword [ebp - 0x4f0]
push ecx
lea edx, [ebp - 0x4d4]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00412d00
jmp 0x433384
jmp 0x433277
mov eax, dword [ebp - 0xd0]
push eax
call fcn.00493a9a
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004129d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049318c
mov esp, ebp
pop ebp
ret