Function at 0x57b9ac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x57b9b4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00573a10
lea edi, [ebp - 0x14]
xor eax, eax
push ebp
push 0x57bdac
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x57bd78
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
add eax, 4
call fcn.0057356c
mov eax, dword [ebp - 8]
call fcn.0057356c
mov eax, dword [ebp - 8]
add eax, 8
call fcn.0057356c
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.0057356c
mov eax, dword [ebp - 8]
add eax, 0x10
call fcn.0057356c
mov eax, dword [ebp - 8]
add eax, 0x14
call fcn.0057356c
mov eax, dword [ebp - 8]
add eax, 0x18
call fcn.0057356c
mov eax, dword [ebp - 8]
add eax, 0x1c
call fcn.0057356c
mov eax, dword [ebp - 8]
add eax, 0x20
call fcn.0057356c
mov eax, dword [ebp - 8]
add eax, 0x24
call fcn.0057356c
mov eax, dword [ebp - 8]
add eax, 0x28
call fcn.0057356c
mov eax, dword [ebp - 8]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp - 4]
call fcn.00573a20
mov esi, eax
mov eax, esi
call fcn.0057ab6c
test al, al
jne 0x57ba8a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57bd89
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x57baaf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57bd89
mov eax, dword [ebp - 0xc]
call fcn.005724f4
mov ebx, eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x57badd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57bd89
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x57bdbc
push ebx
call sub.version.dll_VerQueryValueA
push 0x57bde0
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
mov dl, 4
call fcn.0057b7e4
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
jns 0x57bb16
call fcn.0057294c
call fcn.005750c8
movzx eax, ax
lea ecx, [ebp - 0x20]
mov dl, 4
call fcn.0057b7e4
push dword [ebp - 0x20]
push 0x57bdfc
mov eax, dword [ebp - 8]
mov edx, 4
call fcn.005738e0
lea eax, [ebp - 0xc]
push eax
push edi
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [ebp - 0x24]
mov ecx, 0x57be08
call fcn.0057386c
mov eax, dword [ebp - 0x24]
call fcn.00573a20
push eax
push ebx
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 8]
add eax, 4
mov edx, dword [edi]
call fcn.00573764
lea eax, [ebp - 0xc]
push eax
push edi
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [ebp - 0x28]
mov ecx, 0x57be1c
call fcn.0057386c
mov eax, dword [ebp - 0x28]
call fcn.00573a20
push eax
push ebx
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 8]
add eax, 8
mov edx, dword [edi]
call fcn.00573764
lea eax, [ebp - 0xc]
push eax
push edi
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [ebp - 0x2c]
mov ecx, 0x57be34
call fcn.0057386c
mov eax, dword [ebp - 0x2c]
call fcn.00573a20
push eax
push ebx
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 8]
add eax, 0xc
mov edx, dword [edi]
call fcn.00573764
lea eax, [ebp - 0xc]
push eax
push edi
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [ebp - 0x30]
mov ecx, 0x57be48
call fcn.0057386c
mov eax, dword [ebp - 0x30]
call fcn.00573a20
push eax
push ebx
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 8]
add eax, 0x10
mov edx, dword [edi]
call fcn.00573764
lea eax, [ebp - 0xc]
push eax
push edi
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [ebp - 0x34]
mov ecx, 0x57be60
call fcn.0057386c
mov eax, dword [ebp - 0x34]
call fcn.00573a20
push eax
push ebx
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 8]
add eax, 0x14
mov edx, dword [edi]
call fcn.00573764
lea eax, [ebp - 0xc]
push eax
push edi
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [ebp - 0x38]
mov ecx, 0x57be78
call fcn.0057386c
mov eax, dword [ebp - 0x38]
call fcn.00573a20
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x57bc75
mov eax, dword [ebp - 8]
add eax, 0x18
mov edx, dword [edi]
call fcn.00573764
jmp 0x57bc80
mov eax, dword [ebp - 8]
add eax, 0x18
call fcn.0057356c
lea eax, [ebp - 0xc]
push eax
push edi
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [ebp - 0x3c]
mov ecx, 0x57be90
call fcn.0057386c
mov eax, dword [ebp - 0x3c]
call fcn.00573a20
push eax
push ebx
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 8]
add eax, 0x24
mov edx, dword [edi]
call fcn.00573764
lea eax, [ebp - 0xc]
push eax
push edi
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [ebp - 0x40]
mov ecx, 0x57beac
call fcn.0057386c
mov eax, dword [ebp - 0x40]
call fcn.00573a20
push eax
push ebx
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 8]
add eax, 0x1c
mov edx, dword [edi]
call fcn.00573764
lea eax, [ebp - 0xc]
push eax
push edi
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [ebp - 0x44]
mov ecx, 0x57bec0
call fcn.0057386c
mov eax, dword [ebp - 0x44]
call fcn.00573a20
push eax
push ebx
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 8]
add eax, 0x20
mov edx, dword [edi]
call fcn.00573764
lea eax, [ebp - 0xc]
push eax
push edi
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [ebp - 0x48]
mov ecx, 0x57bed8
call fcn.0057386c
mov eax, dword [ebp - 0x48]
call fcn.00573a20
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x57bd52
mov eax, dword [ebp - 8]
add eax, 0x28
mov edx, dword [edi]
call fcn.00573764
jmp 0x57bd5d
mov eax, dword [ebp - 8]
add eax, 0x28
call fcn.0057356c
mov eax, dword [ebp - 8]
mov byte [eax + 0x2c], 1
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00572514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57bd89
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57bdb3
lea eax, [ebp - 0x48]
mov edx, 0xc
call fcn.00573590
lea eax, [ebp - 4]
call fcn.0057356c
ret