Function at 0x100096a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023ea0
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x10033008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0xa0], esi
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], 0
mov word [ebp - 0x94], ax
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], 8
jb 0x10009709
mov eax, dword [edi]
jmp 0x1000970b
mov eax, edi
lea ecx, [ebp - 0x9c]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x7c], eax
test eax, eax
jg 0x1000978b
mov byte [ebp - 4], 1
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov edx, dword [ebp - 0x80]
cmp edx, 8
jae 0x10009772
mov eax, dword [ebp - 0x84]
add eax, 1
je 0x1000977a
add eax, eax
push eax
lea eax, [ebp - 0x94]
push eax
push esi
call dword [sym.imp.VCRUNTIME140.dll_memmove]
mov ecx, dword [ebp - 0x84]
add esp, 0xc
mov edx, dword [ebp - 0x80]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jmp 0x1000993a
mov ecx, dword [ebp - 0x94]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x84]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jmp 0x1000993a
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10012a05
add esp, 4
mov ebx, eax
mov ecx, edi
push ebx
push dword [ebp - 0x7c]
push 0
call fcn.10005e70
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x100098da
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x7c]
push eax
push 0x10033c3c
push str.VarFileInfoTranslation
push ebx
call edi
mov eax, dword [ebp - 0x7c]
and eax, 0xfffffffc
cmp eax, 4
jb 0x100098da
mov ecx, dword [0x10033c3c]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xFileVersion
lea eax, [ebp - 0x78]
push 0x32
push eax
call fcn.10009610
add esp, 0x14
test eax, eax
js 0x100098da
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
call edi
cmp dword [ebp - 0x98], 1
jb 0x100098da
mov edx, dword [ebp - 0xa0]
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
cmp word [edx], ax
jne 0x10009860
xor ecx, ecx
jmp 0x10009874
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009865
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xb8]
call fcn.100061d0
mov eax, dword [ebp - 0x80]
cmp eax, 8
jb 0x10009896
inc eax
push eax
push dword [ebp - 0x94]
call fcn.100068a0
xor eax, eax
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
lea ecx, [ebp - 0x94]
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x84], 0
push eax
call fcn.100062d0
mov eax, dword [ebp - 0xa4]
cmp eax, 8
jb 0x100098da
inc eax
push eax
push dword [ebp - 0xb8]
call fcn.100068a0
push ebx
call fcn.100129c8
add esp, 4
mov byte [ebp - 4], 3
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov ecx, dword [ebp - 0x80]
cmp ecx, 8
jae 0x10009926
mov eax, dword [ebp - 0x84]
add eax, 1
je 0x1000992e
add eax, eax
push eax
lea eax, [ebp - 0x94]
push eax
push esi
call dword [sym.imp.VCRUNTIME140.dll_memmove]
mov ecx, dword [ebp - 0x80]
add esp, 0xc
jmp 0x1000992e
mov eax, dword [ebp - 0x94]
mov dword [esi], eax
mov eax, dword [ebp - 0x84]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100127b8
mov esp, ebp
pop ebp
ret