Function at 0x49fb80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfc96
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x11c
mov eax, dword [0x671330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xe0], 0
push 4
lea ecx, [ebp - 0x18]
call fcn.004029d0
lea ecx, [ebp - 0x18]
call fcn.00404b40
mov dword [ebp - 4], 0
mov dword [ebp - 0xe4], 0
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], 0
jne 0x49fc1b
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404b20
mov ecx, dword [ebp - 0xe0]
or ecx, 1
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402d30
mov eax, dword [ebp + 8]
jmp 0x49ff59
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
jbe 0x49fdb9
push 0
mov ecx, dword [ebp - 0xe8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004a36d0
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x40]
call fcn.00414b70
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xec]
push edx
lea ecx, [ebp - 0x40]
call fcn.004087a0
push eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x49fdad
push 4
lea ecx, [ebp - 0x1c]
call fcn.004029d0
lea ecx, [ebp - 0x1c]
call fcn.00404b40
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x40]
call fcn.00414b70
mov dword [ebp - 0xf0], eax
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xdc]
push eax
push str.VarFileInfoTranslation
mov ecx, dword [ebp - 0xf0]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49fda1
cmp dword [ebp - 0xdc], 0
je 0x49fda1
cmp dword [ebp - 0x24], 4
jb 0x49fda1
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe4], edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0xe4]
movzx eax, word [edx + ecx + 2]
push eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0xe4]
movzx ecx, word [eax + edx]
push ecx
push 0x5e93d8
lea edx, [ebp - 0x1c]
push edx
call fcn.004b3830
add esp, 0x10
push 0xff
lea ecx, [ebp - 0x1c]
call fcn.00404f00
mov dword [ebp - 0xf4], eax
push 0
lea ecx, [ebp - 0x40]
call fcn.00414b70
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xf8]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49fd97
cmp dword [ebp - 0xdc], 0
je 0x49fd97
mov ecx, dword [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00404b00
push 0x20
lea ecx, [ebp - 0x18]
call fcn.004ba8e0
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040e2a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402d30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040a7f0
lea ecx, [ebp - 0x18]
call fcn.00475520
movzx edx, al
test edx, edx
je 0x49fe50
push 4
lea ecx, [ebp - 0x20]
call fcn.004029d0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040e050
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004ba590
lea ecx, [ebp - 0x20]
call fcn.004ba0b0
lea ecx, [ebp - 0x20]
call fcn.00402d20
push eax
lea ecx, [ebp - 0x104]
call fcn.00404b20
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x100]
push edx
lea ecx, [ebp - 0x18]
call fcn.00469230
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x104]
call fcn.00402d30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040c680
jmp 0x49ff1c
mov dword [ebp - 4], 0
jmp 0x49ff2c
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404b20
mov ecx, dword [ebp - 0xe0]
or ecx, 1
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402d30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544286
mov esp, ebp
pop ebp
ret