Function at 0x4726c9
Capabilities:
Get file version info

Disassembly:
mov eax, 0x6d2b19
call fcn.006899cc
sub esp, 0x64
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
inc ebx
call fcn.004704f8
test al, al
je 0x472925
cmp dword [edi + 0x14], 8
mov eax, edi
push 2
pop ebx
jb 0x4726f9
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ecx, eax
xor edx, edx
or eax, edx
mov dword [ebp + 8], ecx
je 0x472925
push esi
push 3
pop ebx
push ecx
lea eax, [ebp - 0x24]
push eax
call fcn.0047141f
mov esi, dword [ebp - 0x24]
xor edx, edx
mov dword [ebp - 4], edx
test esi, esi
je 0x472924
cmp dword [edi + 0x14], 8
jb 0x472738
mov edi, dword [edi]
push esi
push dword [ebp + 8]
push dword [ebp - 0x38]
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x47291d
push 2
xor eax, eax
pop ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, dword [ebp - 0x1c]
shr edi, 2
test eax, eax
je 0x47291d
xor eax, eax
mov dword [ebp - 0x10], eax
test edi, edi
je 0x47291d
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
cdq
idiv dword [ebp - 0x34]
test eax, eax
je 0x472907
xor edx, edx
mov eax, edx
mov dword [ebp + 8], eax
lea edx, [eax + ecx]
cmp dword [edx + 0x14], 8
jb 0x4727b8
mov edx, dword [edx]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
push edx
movzx ecx, word [eax + ecx*4 + 2]
movzx eax, word [eax + esi*4]
push ecx
push eax
lea eax, [ebp - 0x70]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.00475719
add esp, 0x14
xor ecx, ecx
mov dword [ebp - 0x44], 7
xor eax, eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x48], ecx
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], ecx
jb 0x47280c
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x472873
cmp dword [ebp - 0x14], 0
je 0x472873
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
push dword [ebp - 0x28]
call fcn.00448307
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x47286f
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
jb 0x472846
mov ecx, dword [ebp - 0x58]
xor edx, edx
cmp word [ecx + eax*2 - 2], dx
jne 0x47286f
lea ecx, [eax - 1]
cmp eax, ecx
jb 0x472937
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
jb 0x472866
mov eax, dword [ebp - 0x58]
xor edx, edx
mov dword [ebp - 0x48], ecx
mov word [eax + ecx*2], dx
xor eax, eax
mov ebx, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004713f9
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4728c7
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
cmp eax, 0x1000
jb 0x4728be
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044810a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], ecx
xor eax, eax
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x70]
mov word [ebp - 0x58], ax
call fcn.0044823e
push 0x18
pop eax
add dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
inc dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
cdq
idiv dword [ebp - 0x34]
cmp dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
jb 0x4727ad
test ebx, ebx
je 0x47291d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, edi
jge 0x47291d
xor eax, eax
jmp 0x47278d
push esi
call fcn.00689a0e
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
call fcn.00415e50
int3