Function at 0x100095da
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100239e2
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x1002f178]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x1002f178]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov dword [esp + 0x14], edx
mov esi, ecx
and dword [esp + 0x1c], 0
cmp dword [esi + 0x14], 8
jb 0x1000962f
mov eax, dword [esi]
jmp 0x10009631
mov eax, esi
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x10009668
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.Could_not_get_file_version_size
push eax
lea ecx, [esp + 0x2c]
call fcn.100109d1
push 0x1002e240
lea eax, [esp + 0x2c]
push eax
call fcn.1001208b
push edi
call fcn.1000f1a3
mov ebx, eax
pop ecx
mov dword [esp + 0x24], ebx
and dword [esp + 0x128], 0
cmp dword [esi + 0x14], 8
jb 0x10009685
mov esi, dword [esi]
push ebx
push edi
push dword [esp + 0x24]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x100096b7
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.Could_not_get_file_version
push eax
lea ecx, [esp + 0x2c]
call fcn.100109d1
push 0x1002e240
lea eax, [esp + 0x2c]
jmp 0x10009662
and dword [esp + 0x18], 0
lea eax, [esp + 0x20]
and dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x1c]
push eax
push 0x1002b0e4
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x100096ff
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.Could_not_get_file_version_root
push eax
lea ecx, [esp + 0x2c]
call fcn.100109d1
push 0x1002e240
lea eax, [esp + 0x2c]
jmp 0x10009662
mov eax, dword [esp + 0x18]
cmp dword [eax], 0xfeef04bd
je 0x1000972f
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.Invalid_file_version_root
push eax
lea ecx, [esp + 0x2c]
call fcn.100109d1
push 0x1002e240
lea eax, [esp + 0x2c]
jmp 0x10009662
movzx eax, word [eax + 0xc]
lea ecx, [esp + 0x100]
cdq
push edx
push eax
call fcn.1000835d
mov ebx, eax
mov byte [esp + 0x130], 1
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx + 0xe]
lea ecx, [esp + 0xd8]
cdq
push edx
push eax
call fcn.1000835d
mov edi, eax
mov byte [esp + 0x138], 2
mov ecx, dword [esp + 0x28]
movzx eax, word [ecx + 8]
lea ecx, [esp + 0xb0]
cdq
push edx
push eax
call fcn.1000835d
mov esi, eax
mov byte [esp + 0x140], 3
mov ecx, dword [esp + 0x30]
movzx eax, word [ecx + 0xa]
lea ecx, [esp + 0x88]
cdq
push edx
push eax
call fcn.1000835d
mov byte [esp + 0x148], 4
mov edx, eax
push 0x1002b37c
lea ecx, [esp + 0x7c]
call fcn.10008277
add esp, 0x24
mov byte [esp + 0x128], 5
mov edx, eax
push esi
lea ecx, [esp + 0xec]
call fcn.100061fb
pop ecx
mov byte [esp + 0x128], 6
mov esi, 0x1002b37c
push esi
mov edx, eax
lea ecx, [esp + 0x8c]
call fcn.10008277
pop ecx
mov byte [esp + 0x128], 7
mov edx, eax
push edi
lea ecx, [esp + 0x44]
call fcn.100061fb
pop ecx
mov byte [esp + 0x128], 8
mov edx, eax
push esi
lea ecx, [esp + 0xbc]
call fcn.10008277
pop ecx
mov byte [esp + 0x128], 9
mov edx, eax
push ebx
lea ecx, [esp + 0x2c]
call fcn.100061fb
pop ecx
mov byte [esp + 0x128], 0xa
mov ecx, dword [esp + 0x14]
push eax
call fcn.10005a53
mov byte [esp + 0x128], 9
xor esi, esi
xor ebx, ebx
lea ecx, [esp + 0x28]
push esi
inc ebx
push ebx
call fcn.10002c78
mov byte [esp + 0x128], 8
lea ecx, [esp + 0xb8]
push esi
push ebx
call fcn.10002c78
mov byte [esp + 0x128], 7
lea ecx, [esp + 0x40]
push esi
push ebx
call fcn.10002c78
mov byte [esp + 0x128], 6
lea ecx, [esp + 0x88]
push esi
push ebx
call fcn.10002c78
mov byte [esp + 0x128], 5
lea ecx, [esp + 0xe8]
push esi
push ebx
call fcn.10002c78
mov byte [esp + 0x128], 4
lea ecx, [esp + 0x58]
push esi
push ebx
call fcn.10002c78
mov byte [esp + 0x128], 3
lea ecx, [esp + 0x70]
push esi
push ebx
call fcn.10002c78
mov byte [esp + 0x128], 2
lea ecx, [esp + 0xa0]
push esi
push ebx
call fcn.10002c78
mov byte [esp + 0x128], bl
lea ecx, [esp + 0xd0]
push esi
push ebx
call fcn.10002c78
mov byte [esp + 0x128], 0
lea ecx, [esp + 0x100]
push esi
push ebx
call fcn.10002c78
or dword [esp + 0x128], 0xffffffff
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10009934
push eax
call fcn.10010e01
pop ecx
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.1000f1ac
mov esp, ebp
pop ebp
ret