Function at 0x1009bfe0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6bc
mov eax, dword [0x100db040]
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.100b0029
add esp, 4
mov edi, eax
push ebx
call fcn.100b0029
add esp, 4
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x6b8], esi
test edi, edi
je 0x1009c068
test esi, esi
je 0x1009c068
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 0x1009c06d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1009c06d
mov ebx, 8
mov eax, dword [ebp - 0x694]
xorps xmm0, xmm0
movlpd qword [ebp - 0x6a8], xmm0
mov eax, dword [eax]
test eax, eax
je 0x1009c206
test edi, edi
je 0x1009c213
test byte [eax + 0x18], 8
je 0x1009c141
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 0x1009c141
push eax
call fcn.100a3b58
mov esi, eax
add esp, 4
test esi, esi
je 0x1009c141
push esi
push dword [ebp - 0x698]
push dword [ebp - 0x6ac]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x1009c138
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 0x1009c11b
mov dword [ebp - 0x69c], eax
jmp 0x1009c138
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.100a40b3
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.1009c260
test eax, eax
je case.default.0x1009c173
mov eax, dword [ebp - 0x670]
cmp eax, 8
ja case.default.0x1009c173
jmp dword [eax*4 + 0x1009c238]
mov esi, str._nosymbols_
jmp case.default.0x1009c173
mov esi, str.COFF
jmp case.default.0x1009c173
mov esi, 0x100d1320
jmp case.default.0x1009c173
mov esi, 0x100d1324
jmp case.default.0x1009c173
mov esi, str._exported_
jmp case.default.0x1009c173
mov esi, str._deferred_
jmp case.default.0x1009c173
mov esi, 0x100d1340
jmp case.default.0x1009c173
mov esi, 0x100d1344
jmp case.default.0x1009c173
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 0x1009c20a
test edi, edi
je 0x1009c213
push edi
call fcn.100a40b3
add esp, 4
test esi, esi
je 0x1009c220
push esi
call fcn.100a40b3
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a0150
mov esp, ebp
pop ebp
ret 0x18