Function at 0x48b40c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x48b415
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405eb0
xor eax, eax
push ebp
push 0x48ba71
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x48b975
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x24]
push eax
mov eax, ebx
call fcn.00405f54
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x48b96b
mov eax, dword [ebp - 0x18]
call fcn.00403058
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x48b964
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x48b94c
cmp dword [ebp - 0x14], 0
je 0x48b53e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x48ba88
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov ebx, eax
shr ebx, 0x10
mov edi, eax
and edi, 0xffff
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
mov edx, eax
shr edx, 0x10
mov dword [ebp - 0x28], edx
and eax, 0xffff
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x4c], edi
mov byte [ebp - 0x48], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x54]
mov ecx, 3
mov eax, 0x48ba98
call fcn.0040e3dc
mov edx, dword [ebp - 0x34]
lea eax, [esi + 8]
call fcn.00406144
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x48bab0
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
push 0x48baf0
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov edx, 4
call fcn.0040d080
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.0040d080
push dword [ebp - 0x60]
push 0x48bb20
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00406480
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0xc]
call fcn.00406144
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405c34
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x48b61d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x48bb24
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x48b61d
cmp dword [ebp - 0x1c], 0
je 0x48b61d
mov edx, dword [ebp - 0x1c]
add edx, 8
lea eax, [ebp - 8]
mov ecx, 8
call fcn.00406004
push 0x48baf0
push dword [ebp - 8]
push 0x48bb20
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.00406480
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0xc]
call fcn.00406144
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x68]
mov ecx, 0x48bb4c
mov edx, dword [ebp - 0xc]
call fcn.00405cc0
mov eax, dword [ebp - 0x68]
call fcn.00405c34
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x48b660
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x1c]
call fcn.00406074
mov edx, dword [ebp - 0x6c]
mov eax, esi
call fcn.00406144
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x70]
mov ecx, 0x48bb68
mov edx, dword [ebp - 0xc]
call fcn.00405cc0
mov eax, dword [ebp - 0x70]
call fcn.00405c34
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x48b6a4
lea eax, [ebp - 0x74]
mov edx, dword [ebp - 0x1c]
call fcn.00406074
mov edx, dword [ebp - 0x74]
lea eax, [esi + 4]
call fcn.00406144
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x78]
mov ecx, 0x48bb8c
mov edx, dword [ebp - 0xc]
call fcn.00405cc0
mov eax, dword [ebp - 0x78]
call fcn.00405c34
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x48b6e8
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x1c]
call fcn.00406074
mov edx, dword [ebp - 0x7c]
lea eax, [esi + 0xc]
call fcn.00406144
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x80]
mov ecx, 0x48bbac
mov edx, dword [ebp - 0xc]
call fcn.00405cc0
mov eax, dword [ebp - 0x80]
call fcn.00405c34
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x48b732
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 0x1c]
call fcn.00406074
mov edx, dword [ebp - 0x84]
lea eax, [esi + 0x10]
call fcn.00406144
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x88]
mov ecx, 0x48bbd0
mov edx, dword [ebp - 0xc]
call fcn.00405cc0
mov eax, dword [ebp - 0x88]
call fcn.00405c34
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x48b782
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 0x1c]
call fcn.00406074
mov edx, dword [ebp - 0x8c]
lea eax, [esi + 0x14]
call fcn.00406144
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x90]
mov ecx, 0x48bbf4
mov edx, dword [ebp - 0xc]
call fcn.00405cc0
mov eax, dword [ebp - 0x90]
call fcn.00405c34
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x48b7d2
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x1c]
call fcn.00406074
mov edx, dword [ebp - 0x94]
lea eax, [esi + 0x18]
call fcn.00406144
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x98]
mov ecx, 0x48bc1c
mov edx, dword [ebp - 0xc]
call fcn.00405cc0
mov eax, dword [ebp - 0x98]
call fcn.00405c34
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x48b822
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x1c]
call fcn.00406074
mov edx, dword [ebp - 0x9c]
lea eax, [esi + 0x1c]
call fcn.00406144
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xa0]
mov ecx, 0x48bc38
mov edx, dword [ebp - 0xc]
call fcn.00405cc0
mov eax, dword [ebp - 0xa0]
call fcn.00405c34
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x48b872
lea eax, [ebp - 0xa4]
mov edx, dword [ebp - 0x1c]
call fcn.00406074
mov edx, dword [ebp - 0xa4]
lea eax, [esi + 0x20]
call fcn.00406144
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xa8]
mov ecx, 0x48bc5c
mov edx, dword [ebp - 0xc]
call fcn.00405cc0
mov eax, dword [ebp - 0xa8]
call fcn.00405c34
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x48b8c2
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0x1c]
call fcn.00406074
mov edx, dword [ebp - 0xac]
lea eax, [esi + 0x24]
call fcn.00406144
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x48ba88
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x48b8ed
mov eax, dword [ebp - 0x1c]
push esi
lea edi, [esi + 0x28]
mov esi, eax
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop esi
cmp dword [ebp - 4], 0
je 0x48b94c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 0xc]
call fcn.00406130
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 4]
call fcn.004062dc
mov eax, dword [ebp - 0xb0]
call fcn.00405f54
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x48b94c
lea eax, [ebp - 0xb4]
mov edx, dword [ebp - 0x1c]
call fcn.00406074
mov edx, dword [ebp - 0xb4]
lea eax, [esi + 0x5c]
call fcn.00406144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b96b
mov eax, dword [ebp - 0x14]
push eax
call fcn.004081ac
pop ecx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48b983
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ba7b
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.00405ec0
lea eax, [ebp - 0xa8]
call fcn.00405a68
lea eax, [ebp - 0xa4]
call fcn.00405eb8
lea eax, [ebp - 0xa0]
call fcn.00405a68
lea eax, [ebp - 0x9c]
call fcn.00405eb8
lea eax, [ebp - 0x98]
call fcn.00405a68
lea eax, [ebp - 0x94]
call fcn.00405eb8
lea eax, [ebp - 0x90]
call fcn.00405a68
lea eax, [ebp - 0x8c]
call fcn.00405eb8
lea eax, [ebp - 0x88]
call fcn.00405a68
lea eax, [ebp - 0x84]
call fcn.00405eb8
lea eax, [ebp - 0x80]
call fcn.00405a68
lea eax, [ebp - 0x7c]
call fcn.00405eb8
lea eax, [ebp - 0x78]
call fcn.00405a68
lea eax, [ebp - 0x74]
call fcn.00405eb8
lea eax, [ebp - 0x70]
call fcn.00405a68
lea eax, [ebp - 0x6c]
call fcn.00405eb8
lea eax, [ebp - 0x68]
call fcn.00405a68
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.00405ec0
lea eax, [ebp - 0x34]
call fcn.00405eb8
lea eax, [ebp - 0xc]
call fcn.00405a68
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405ec0
ret