Function at 0x101b12c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0100539c
xor eax, eax
push ebp
push 0x101b3c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [0x10118c8]
call fcn.01006048
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.01005440
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jbe 0x101b381
mov eax, ebx
call fcn.01002ef4
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x101b37a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x101b364
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x101b3d4
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x101b249
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, 0x101b3e4
call dword [fcn.01055ae0]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebx + 0x10]
shr edx, 0x10
movzx edx, dx
mov dword [ebp - 0x40], edx
mov byte [ebp - 0x3c], 0
movzx edx, word [ebx + 0x10]
mov dword [ebp - 0x38], edx
mov byte [ebp - 0x34], 0
mov edx, dword [ebx + 0x14]
shr edx, 0x10
movzx edx, dx
mov dword [ebp - 0x30], edx
mov byte [ebp - 0x2c], 0
movzx edx, word [ebx + 0x14]
mov dword [ebp - 0x28], edx
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x40]
mov ecx, 3
call fcn.01009904
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.010053b4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x44]
mov eax, 0x101b408
call dword [fcn.01055ae0]
mov eax, dword [ebp - 0x44]
call fcn.01005440
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x101b364
cmp dword [ebp - 0xc], 3
jbe 0x101b364
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x4c]
mov eax, 0x101b448
call dword [fcn.01055ae0]
mov eax, dword [ebp - 0x4c]
call fcn.01005440
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.01005570
mov eax, dword [ebp - 0x48]
movzx edx, word [ebp - 0xc]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 0x58], 0
mov edx, dword [ebp - 0xc]
shr edx, 0x10
movzx edx, dx
mov dword [ebp - 0x54], edx
mov byte [ebp - 0x50], 0
lea edx, [ebp - 0x5c]
mov ecx, 1
call fcn.01009904
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x64]
mov eax, 0x101b488
call dword [fcn.01055ae0]
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 8]
call fcn.01005880
mov eax, dword [ebp - 0x60]
call fcn.01005440
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x101b31f
lea eax, [esi + 8]
mov edx, dword [ebp - 0x18]
call fcn.01005570
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x6c]
mov eax, 0x101b4ac
call dword [fcn.01055ae0]
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 8]
call fcn.01005880
mov eax, dword [ebp - 0x68]
call fcn.01005440
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x101b364
lea eax, [esi + 4]
mov edx, dword [ebp - 0x18]
call fcn.01005570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101b381
mov eax, dword [ebp - 0x14]
call fcn.01002f10
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101b3ca
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.010053ac
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.010053ac
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.010053ac
lea eax, [ebp - 8]
mov edx, 2
call fcn.010053ac
ret