Function at 0x10087ee0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6bc
mov eax, dword [0x100c6040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x6a0], eax
mov eax, dword [ebp + 0xc]
push edi
push eax
mov dword [ebp - 0x694], ecx
mov dword [ebp - 0x6b4], eax
mov dword [ebp - 0x6b0], ebx
call fcn.1009be59
add esp, 4
mov edi, eax
push ebx
call fcn.1009be59
add esp, 4
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x6b8], esi
test edi, edi
je 0x10087f68
test esi, esi
je 0x10087f68
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x694]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ecx + 0x30]
push esi
push edi
push ebx
push dword [ebp - 0x6a0]
call eax
or eax, edx
jne 0x10087f6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x10087f6d
mov ebx, 8
mov eax, dword [ebp - 0x694]
xorps xmm0, xmm0
movlpd qword [ebp - 0x6a8], xmm0
mov eax, dword [eax]
test eax, eax
je 0x10088106
test edi, edi
je 0x10088113
test byte [eax + 0x18], 8
je 0x10088041
lea eax, [ebp - 0x6ac]
mov dword [ebp - 0x69c], 0
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x698], eax
test eax, eax
je 0x10088041
push eax
call fcn.1008f978
mov esi, eax
add esp, 4
test esi, esi
je 0x10088041
push esi
push dword [ebp - 0x698]
push dword [ebp - 0x6ac]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x10088038
mov eax, 0x5c
mov word [ebp - 0x698], ax
lea eax, [ebp - 0x6bc]
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x698]
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x1008801b
mov dword [ebp - 0x69c], eax
jmp 0x10088038
mov eax, dword [ebp - 0x69c]
xor edx, edx
add edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
adc ecx, 0
mov dword [ebp - 0x6a8], edx
mov dword [ebp - 0x6a4], ecx
push esi
call fcn.1008fed3
add esp, 4
mov ecx, dword [ebp - 0x694]
lea eax, [ebp - 0x690]
push eax
push dword [ebp + 0x18]
mov esi, str._unknown_
push dword [ebp + 0x14]
push dword [ebp - 0x6a0]
call fcn.10088160
test eax, eax
je case.default.0x10088073
mov eax, dword [ebp - 0x670]
cmp eax, 8
ja case.default.0x10088073
jmp dword [eax*4 + 0x10088138]
mov esi, str._nosymbols_
jmp case.default.0x10088073
mov esi, str.COFF
jmp case.default.0x10088073
mov esi, 0x100bc198
jmp case.default.0x10088073
mov esi, 0x100bc19c
jmp case.default.0x10088073
mov esi, str._exported_
jmp case.default.0x10088073
mov esi, str._deferred_
jmp case.default.0x10088073
mov esi, 0x100bc1b8
jmp case.default.0x10088073
mov esi, 0x100bc1bc
jmp case.default.0x10088073
mov esi, str.Virtual
push dword [ebp - 0x6a4]
cmp byte [ebp - 0x44c], 0
lea ecx, [ebp - 0x54c]
push dword [ebp - 0x6a8]
lea eax, [ebp - 0x44c]
cmove eax, ecx
mov ecx, dword [ebp - 0x694]
push eax
push esi
push ebx
push dword [ebp + 0x1c]
mov ecx, dword [ecx]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov edx, dword [ecx]
push dword [ebp - 0x6b0]
push dword [ebp - 0x6b4]
call dword [edx + 8]
mov esi, dword [ebp - 0x6b8]
jmp 0x1008810a
test edi, edi
je 0x10088113
push edi
call fcn.1008fed3
add esp, 4
test esi, esi
je 0x10088120
push esi
call fcn.1008fed3
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008c0ce
mov esp, ebp
pop ebp
ret 0x18