Function at 0x727104
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
xor edx, edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x72732c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00409cd4
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x747644]
mov eax, dword [eax]
call fcn.00602d20
mov eax, dword [ebp - 0x24]
call fcn.0040a9e4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
test eax, eax
jns 0x72716d
call fcn.00407d68
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x72725d
mov eax, dword [ebp - 0x10]
call fcn.0040674c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x727256
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jns 0x7271a3
call fcn.00407d68
push eax
push 0
lea edx, [ebp - 0x28]
mov eax, dword [0x747644]
mov eax, dword [eax]
call fcn.00602d20
mov eax, dword [ebp - 0x28]
call fcn.0040a9e4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x72723d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x727338
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x72723d
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
movzx eax, ax
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
movzx eax, ax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x48]
mov ecx, 3
mov eax, 0x727348
call fcn.0042508c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72725d
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00406768
ret
lea eax, [ebp - 8]
call fcn.00409cd4
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4bc]
call fcn.006305a4
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.004249fc
push dword [ebp - 0x50]
push 0x72736c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3b4]
push dword [eax + 0x38]
push 0x727380
lea edx, [ebp - 0x5c]
mov eax, dword [0x747644]
mov eax, dword [eax]
call fcn.00602d20
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
mov edx, 2
call fcn.0060da40
push dword [ebp - 0x58]
push dword [ebp - 8]
lea eax, [ebp - 0x4c]
mov edx, 6
call fcn.0040acc0
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x747644]
mov eax, dword [eax]
call fcn.00601ca8
lea edx, [ebp - 0x60]
mov eax, dword [0x747644]
mov eax, dword [eax]
call fcn.00601b08
mov edx, dword [ebp - 0x60]
mov eax, dword [0x74d6b4]
call int.0051f2b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x727333
lea eax, [ebp - 0x60]
mov edx, 6
call fcn.00409d34
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00409d34
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00409d34
ret