Function at 0x381334
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x38133d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x381356
add esp, 0xfffffff0
call fcn.00304314
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x11], dl
mov ebx, eax
mov eax, dword [ebp - 0x18]
call fcn.00305210
xor eax, eax
push ebp
push 0x381570
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00303fc0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00305220
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
mov eax, esi
call fcn.00302724
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push esi
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x38153d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x381598
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.003029fc
lea ecx, [ebp - 0x28]
movzx eax, word [ebp - 0x1e]
mov edx, 4
call fcn.00309318
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
movzx eax, word [ebp - 0x20]
mov edx, 4
call fcn.00309318
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
pop ecx
call fcn.0030506c
push 0x3815bc
push dword [ebp - 0x24]
push 0x3815d8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.003050e0
push ebp
lea edx, [ebp - 0x30]
mov eax, 0x3815e4
call fcn.00381298
pop ecx
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 4]
call fcn.00304db4
push ebp
lea edx, [ebp - 0x34]
mov eax, 0x3815f8
call fcn.00381298
pop ecx
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 8]
call fcn.00304db4
push ebp
lea edx, [ebp - 0x38]
mov eax, 0x381610
call fcn.00381298
pop ecx
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0xc]
call fcn.00304db4
push ebp
lea edx, [ebp - 0x3c]
mov eax, 0x381624
call fcn.00381298
pop ecx
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x10]
call fcn.00304db4
push ebp
lea edx, [ebp - 0x40]
mov eax, 0x38163c
call fcn.00381298
pop ecx
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x14]
call fcn.00304db4
push ebp
lea edx, [ebp - 0x44]
mov eax, 0x381654
call fcn.00381298
pop ecx
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x18]
call fcn.00304db4
push ebp
lea edx, [ebp - 0x48]
mov eax, 0x38166c
call fcn.00381298
pop ecx
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0x1c]
call fcn.00304db4
push ebp
lea edx, [ebp - 0x4c]
mov eax, 0x381688
call fcn.00381298
pop ecx
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x20]
call fcn.00304db4
push ebp
lea edx, [ebp - 0x50]
mov eax, 0x38169c
call fcn.00381298
pop ecx
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0x24]
call fcn.00304db4
push ebp
lea edx, [ebp - 0x54]
mov eax, 0x3816b4
call fcn.00381298
pop ecx
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x28]
call fcn.00304db4
push 0x40
push 0x3816c0
mov eax, dword [ebx + 0xc]
call fcn.00305220
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [ebp - 0xc]
call fcn.00302744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x381577
lea eax, [ebp - 0x54]
mov edx, 0xd
call fcn.00304d84
lea eax, [ebp - 0x18]
call fcn.00304d60
lea eax, [ebp - 0x10]
call fcn.00304d60
ret