Function at 0x4110c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424d30
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x42fab0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x48]
push eax
push ebx
mov dword [ebp - 0x20], 1
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x411127
push 0x42a9ac
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], 1
call fcn.00414dd0
push esi
call fcn.00414885
add esp, 4
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x41114c
push 0x42a9ac
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], 1
call fcn.00414dd0
push eax
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x41116f
push 0x42a9ac
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 1
call fcn.00414dd0
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 8]
push edx
push 0x42721c
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x41119e
push 0x42a9ac
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 1
call fcn.00414dd0
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xa]
movzx edx, word [eax + 8]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*2]
movzx edx, word [eax + 0xe]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*2]
movzx edx, word [eax + 0xc]
lea ecx, [ecx + ecx*4]
lea eax, [edx + ecx*2]
cmp eax, 0xa
mov dword [edi], eax
jb 0x41138d
cmp eax, 0x270f
ja 0x41138d
push eax
lea esi, [edi + 4]
push str._04u
push esi
call fcn.0040d780
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
je 0x4111f7
add eax, 0xffffffff
jmp 0x4111f9
xor eax, eax
push 1
add eax, 0xffffffff
push eax
mov ecx, esi
call fcn.0040dea0
mov eax, dword [esi + 4]
test eax, eax
je 0x411212
add eax, 0xffffffff
jmp 0x411214
xor eax, eax
mov ecx, dword [edi + 0x14]
cmp byte [ecx + eax - 1], 0x30
jne 0x411239
mov eax, dword [esi + 4]
test eax, eax
je 0x41122a
add eax, 0xffffffff
jmp 0x41122c
xor eax, eax
push 1
add eax, 0xffffffff
push eax
mov ecx, esi
call fcn.0040dea0
push 0x2e
push 1
mov ecx, esi
call fcn.00411010
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp + 8]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x411270
push 0x42a9ac
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x34], 1
call fcn.00414dd0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
and edx, 0xfffffffc
cmp edx, 4
mov edi, eax
jne 0x411378
cmp word [eax + 2], 0
lea esi, [eax + 2]
jne 0x411378
movzx eax, word [eax]
push 0
push eax
lea ecx, [ebp - 0x5c]
push str.StringFileInfo_04x_04xOriginalFilename
push ecx
call fcn.0040e070
add esp, 0x10
cmp dword [eax + 4], 0
je 0x4112b4
mov eax, dword [eax + 0x10]
jmp 0x4112b9
mov eax, 0x425480
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp + 8]
push ecx
push eax
mov edx, ebx
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
lea ecx, [ebp - 0x5c]
sete bl
call fcn.004013f0
test bl, bl
je 0x4112f0
push 0x42a9ac
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 1
call fcn.00414dd0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
call fcn.004012f0
movzx edx, word [esi]
movzx eax, word [edi]
push edx
push eax
lea ecx, [ebp - 0x5c]
push str.StringFileInfo_04x_04xProductName
push ecx
call fcn.0040e070
add esp, 0x10
cmp dword [eax + 4], 0
je 0x411323
mov eax, dword [eax + 0x10]
jmp 0x411328
mov eax, 0x425480
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp + 8]
push ecx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
lea ecx, [ebp - 0x5c]
sete bl
call fcn.004013f0
test bl, bl
je 0x411360
push 0x42a9ac
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], 1
call fcn.00414dd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
push eax
add ecx, 0x2c
call fcn.004012f0
mov dword [ebp - 4], 0xffffffff
jmp 0x4113b9
push 0x42a9ac
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x40], 1
call fcn.00414dd0
push 0x42a9ac
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], 1
call fcn.00414dd0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x4113b6
ret
test esi, esi
je 0x4113c6
push esi
call fcn.0041488f
add esp, 4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4