Function at 0x49db50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c458d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0
call fcn.004010b0
mov dword [ebp - 0x48], eax
lea ecx, [ebp + 0xc]
call fcn.00406eb0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x49dba8
mov dword [ebp - 0x70], 0
jmp 0x49dbf5
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3fffffff
jle 0x49dbca
mov dword [ebp - 0x74], 0
jmp 0x49dbef
mov eax, dword [ebp - 0x1c]
shl eax, 1
call fcn.00453ce0
mov dword [ebp - 0x78], esp
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004010c0
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406f50
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x40]
call fcn.00407070
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
ja 0x49dc57
push 0x4dc7b8
mov ecx, dword [ebp + 8]
call fcn.00406c80
mov ecx, dword [ebp - 0x6c]
or ecx, 1
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00406d00
mov eax, dword [ebp + 8]
jmp 0x49de31
mov edx, dword [ebp - 0x20]
push edx
call fcn.00445aed
add esp, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
lea ecx, [ebp - 0x40]
call fcn.00407070
push eax
call sub.VERSION.dll_GetFileVersionInfoW
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x4dc7c0
mov ecx, dword [ebp - 0x44]
push ecx
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x18], 0
je 0x49ddd4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x49dcc1
mov dword [ebp - 0x7c], 0
jmp 0x49dd16
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3fffffff
jle 0x49dce3
mov dword [ebp - 0x80], 0
jmp 0x49dd10
mov eax, dword [ebp - 0x1c]
shl eax, 1
call fcn.00453ce0
mov dword [ebp - 0x84], esp
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x1c]
shl edx, 1
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00401110
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00406c80
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00445880
add esp, 4
lea ecx, [ebp - 0x68]
call fcn.0040add0
test eax, eax
ja 0x49dd85
push 0x4dc810
mov ecx, dword [ebp + 8]
call fcn.00406c80
mov edx, dword [ebp - 0x6c]
or edx, 1
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00406d00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00406d00
mov eax, dword [ebp + 8]
jmp 0x49de31
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406cc0
mov ecx, dword [ebp - 0x6c]
or ecx, 1
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00406d00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00406d00
mov eax, dword [ebp + 8]
jmp 0x49de31
mov edx, dword [ebp - 0x44]
push edx
call fcn.00445880
add esp, 4
push str.1.0.0.0
mov ecx, dword [ebp + 8]
call fcn.00406c80
mov eax, dword [ebp - 0x6c]
or eax, 1
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00406d00
mov eax, dword [ebp + 8]
jmp 0x49de31
lea esp, [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret