Function at 0x410ab0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424b50
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x42f8d8]
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 0x410b17
push 0x42a31c
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], 1
call fcn.00414dee
push esi
call fcn.004147f5
add esp, 4
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x410b3c
push 0x42a31c
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], 1
call fcn.00414dee
push eax
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x410b5f
push 0x42a31c
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 1
call fcn.00414dee
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 8]
push edx
push 0x426cfc
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x410b8e
push 0x42a31c
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 1
call fcn.00414dee
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 0x410d7d
cmp eax, 0x270f
ja 0x410d7d
push eax
lea esi, [edi + 4]
push str._04u
push esi
call fcn.0040d480
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
je 0x410be7
add eax, 0xffffffff
jmp 0x410be9
xor eax, eax
push 1
add eax, 0xffffffff
push eax
mov ecx, esi
call fcn.0040e230
mov eax, dword [esi + 4]
test eax, eax
je 0x410c02
add eax, 0xffffffff
jmp 0x410c04
xor eax, eax
mov ecx, dword [edi + 0x14]
cmp byte [ecx + eax - 1], 0x30
jne 0x410c29
mov eax, dword [esi + 4]
test eax, eax
je 0x410c1a
add eax, 0xffffffff
jmp 0x410c1c
xor eax, eax
push 1
add eax, 0xffffffff
push eax
mov ecx, esi
call fcn.0040e230
push 0x2e
push 1
mov ecx, esi
call fcn.00410a00
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 0x410c60
push 0x42a31c
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x34], 1
call fcn.00414dee
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
and edx, 0xfffffffc
cmp edx, 4
mov edi, eax
jne 0x410d68
cmp word [eax + 2], 0
lea esi, [eax + 2]
jne 0x410d68
movzx eax, word [eax]
push 0
push eax
lea ecx, [ebp - 0x5c]
push str.StringFileInfo_04x_04xOriginalFilename
push ecx
call fcn.0040e400
add esp, 0x10
cmp dword [eax + 4], 0
je 0x410ca4
mov eax, dword [eax + 0x10]
jmp 0x410ca9
mov eax, 0x425478
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.004013d0
test bl, bl
je 0x410ce0
push 0x42a31c
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 1
call fcn.00414dee
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
call fcn.004012d0
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.0040e400
add esp, 0x10
cmp dword [eax + 4], 0
je 0x410d13
mov eax, dword [eax + 0x10]
jmp 0x410d18
mov eax, 0x425478
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.004013d0
test bl, bl
je 0x410d50
push 0x42a31c
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], 1
call fcn.00414dee
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
push eax
add ecx, 0x2c
call fcn.004012d0
mov dword [ebp - 4], 0xffffffff
jmp 0x410da2
push 0x42a31c
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x40], 1
call fcn.00414dee
push 0x42a31c
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], 1
call fcn.00414dee
mov dword [ebp - 0x20], 0
mov eax, 0x410d9f
ret
test esi, esi
je 0x410daf
push esi
call fcn.004147ff
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