Function at 0x42baf0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x510
mov eax, dword [0x4f7458]
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.0048ac80
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x200
lea eax, [ebp - 0x4d4]
push eax
call fcn.0048ac0b
add esp, 0xc
push 0
lea ecx, [ebp - 0x4d4]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
shl eax, 1
mov dword [ebp - 0xc4], eax
jne 0x42bb85
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402470
jmp 0x42bda2
mov edx, dword [ebp - 0xc4]
add edx, 1
push edx
call fcn.0048f161
add esp, 4
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jne 0x42bbba
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402470
jmp 0x42bda2
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 0x42bc08
mov eax, dword [ebp - 0xd0]
push eax
call fcn.0048e291
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402470
jmp 0x42bda2
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 0x42bc59
mov ecx, dword [ebp - 0xd0]
push ecx
call fcn.0048e291
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402470
jmp 0x42bda2
mov dword [ebp - 0x14], str.FileVersion
mov dword [ebp - 0x4dc], 0
jmp 0x42bc7b
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 0x42bd84
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_
push 0x50
lea ecx, [ebp - 0xbc]
push ecx
call fcn.0048fae8
add esp, 0x14
push 0x4c8d8c
push 0x50
lea edx, [ebp - 0xbc]
push edx
call fcn.0048cdd9
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
push 0x50
lea ecx, [ebp - 0xbc]
push ecx
call fcn.0048cdd9
add esp, 0xc
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 0x42bd7f
mov eax, dword [ebp - 0xcc]
push eax
push 0x200
lea ecx, [ebp - 0x4d4]
push ecx
call fcn.0048ac0b
add esp, 0xc
lea edx, [ebp - 0x4d4]
test edx, edx
jne 0x42bd52
mov dword [ebp - 0x4f0], 0
jmp 0x42bd67
lea eax, [ebp - 0x4d4]
push eax
call fcn.0048bb5c
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.00411b20
jmp 0x42bd84
jmp 0x42bc6c
mov eax, dword [ebp - 0xd0]
push eax
call fcn.0048e291
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402470
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret