Function at 0x413fb1
Capabilities:
Get file version info

Disassembly:
push 0xa8
mov eax, 0x467b8d
call fcn.0043d9bc
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
mov esi, dword [ebp + 8]
push eax
mov dword [ebp - 0x94], esi
call fcn.00402578
and dword [ebp - 4], 0
lea ecx, [ebp - 0xb0]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
xor eax, eax
test ebx, ebx
jne 0x414012
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
jmp 0x414246
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
push ebx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
call fcn.00413d5b
mov edi, dword [ebp - 0xa8]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push edi
cmovae eax, dword [ebp - 0x40]
push ebx
push 0
push eax
mov byte [ebp - 4], 2
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41419a
push str.VarFileInfoTranslation
lea ecx, [ebp - 0x70]
call fcn.004024ee
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x414192
cmp dword [ebp - 0x98], 4
jb 0x414192
mov ecx, dword [ebp - 0x9c]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x58]
push str.StringFileInfo_04x_04xProductVersion
push eax
call fcn.00425280
add esp, 0x10
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41418a
push dword [ebp - 0x94]
lea ecx, [ebp - 0x88]
call fcn.004024ee
mov ebx, eax
lea eax, [ebp - 0x28]
cmp eax, ebx
je 0x41417f
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x414167
mov eax, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], eax
cmp ecx, 0x1000
jb 0x41415e
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00404df1
mov eax, dword [ebp - 0x90]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x8c]
push ecx
push eax
call fcn.0043d936
pop ecx
pop ecx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040511b
lea ecx, [ebp - 0x88]
call fcn.00405250
lea ecx, [ebp - 0x58]
call fcn.00405250
lea ecx, [ebp - 0x70]
call fcn.00405250
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00402491
test edi, edi
je 0x4141ee
mov eax, dword [ebp - 0xa0]
sub eax, edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], eax
cmp eax, 0x1000
jb 0x4141e5
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00404df1
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0x8c]
pop ecx
pop ecx
push eax
push edi
call fcn.0043d936
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x414237
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
cmp eax, 0x1000
jb 0x41422e
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00404df1
mov eax, dword [ebp - 0x90]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x8c]
push eax
push ecx
call fcn.0043d936
pop ecx
pop ecx
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x40]
call fcn.00405276
mov eax, esi
call fcn.0043d96b
ret