Function at 0x300254c5
Capabilities:
Get file version info

Disassembly:
push 0xa8
mov eax, 0x30068a75
call fcn.300571a9
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edi
call fcn.30016ea4
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x4c]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x50], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, edi
mov dword [ebp - 0x40], eax
jne 0x3002552b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x40]
call fcn.300136a1
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
push 0x30072a3c
lea eax, [ebp - 0x44]
push eax
call fcn.3005658e
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, edi
mov dword [ebp - 0x44], eax
jne 0x30025552
lea ecx, [ebp - 0x45]
call fcn.3001352d
mov al, byte [eax]
mov byte [ebp - 0x39], al
push 0x30072bbc
lea eax, [ebp - 0x39]
jmp 0x30025525
push eax
push dword [ebp - 0x40]
push edi
push dword [ebp - 0x4c]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x30007168
push dword [ebp - 0x44]
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax + 0xa]
mov dword [esi], ecx
movzx ecx, word [eax + 8]
mov dword [esi + 4], ecx
movzx ecx, word [eax + 0xe]
mov dword [esi + 8], ecx
movzx eax, word [eax + 0xc]
push edi
lea ecx, [ebp - 0x38]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x20], 0xf
call fcn.30011d01
push dword [esi]
mov dword [ebp - 4], ebx
mov ebx, 0x30002614
push ebx
lea eax, [ebp - 0x1c]
push 0xb
push eax
call fcn.300135f1
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x70]
call fcn.30012a44
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.30013a8b
push edi
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.30011e15
push dword [esi + 4]
lea eax, [ebp - 0x1c]
push ebx
push 0xb
push eax
call fcn.300135f1
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.30012a44
mov dword [ebp - 0x40], eax
push 0x300087bc
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.30012a44
push dword [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.300253bf
add esp, 0xc
push 0xffffffffffffffff
push edi
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x38]
call fcn.30013a8b
push edi
push 1
lea ecx, [ebp - 0x70]
call fcn.30011e15
push edi
push 1
lea ecx, [ebp - 0x98]
call fcn.30011e15
push edi
push 1
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.30011e15
push dword [esi + 8]
lea eax, [ebp - 0x1c]
push ebx
push 0xb
push eax
call fcn.300135f1
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x70]
call fcn.30012a44
mov dword [ebp - 0x40], eax
push 0x300087bc
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 6
call fcn.30012a44
push dword [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.300253bf
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.30013a8b
push edi
push 1
lea ecx, [ebp - 0xb4]
call fcn.30011e15
push edi
push 1
lea ecx, [ebp - 0x98]
call fcn.30011e15
push edi
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.30011e15
push dword [esi + 0xc]
lea eax, [ebp - 0x1c]
push ebx
push 0xb
push eax
call fcn.300135f1
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x70]
call fcn.30012a44
mov ebx, eax
push 0x300087bc
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 9
call fcn.30012a44
push ebx
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.300253bf
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
call fcn.30013a8b
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0xb4]
call fcn.30011e15
push edi
push ebx
lea ecx, [ebp - 0x98]
call fcn.30011e15
push edi
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.30011e15
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0x10]
call fcn.3001251a
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
push ebx
lea ecx, [ebp - 0x38]
call fcn.30011e15
mov eax, esi
call fcn.3005722c
ret 8