Function at 0x1000a1d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x1003ccc8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
mov dword [ebp - 0x288], ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.1001aec7
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1001aec7
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp - 8], 0
je 0x1000a21c
cmp dword [ebp - 4], 0
jne 0x1000a225
mov dword [ebp - 0xc], 8
jmp 0x1000a26d
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x288]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], edx
mov ecx, dword [ebp - 0x290]
or ecx, dword [ebp - 0x28c]
jne 0x1000a26d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x288]
cmp dword [edx], 0
je 0x1000a48d
cmp dword [ebp - 8], 0
je 0x1000a48d
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
and edx, 8
je 0x1000a38c
mov dword [ebp - 0x278], 0
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
jbe 0x1000a38c
mov edx, dword [ebp - 0x270]
push edx
call fcn.10019d31
add esp, 4
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x1000a38c
mov eax, dword [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
mov edx, dword [ebp - 0x274]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1000a37d
mov ecx, dword [0x10036480]
mov dword [ebp - 0x284], ecx
lea edx, [ebp - 0x280]
push edx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0x27c]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1000a356
mov dword [ebp - 0x278], 0
jmp 0x1000a37d
mov eax, dword [ebp - 0x278]
mov esi, dword [eax + 0xc]
xor edi, edi
mov ecx, dword [ebp - 0x278]
mov eax, dword [ecx + 8]
xor edx, edx
mov cl, 0x20
call fcn.1001c210
add esi, eax
adc edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov edx, dword [ebp - 0x27c]
push edx
call fcn.10019c54
add esp, 4
mov dword [ebp - 0x26c], str._unknown_
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x288]
call fcn.1000a530
test eax, eax
je case.0x1000a3d7.7
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x294], ecx
cmp dword [ebp - 0x294], 9
ja case.0x1000a3d7.7
mov edx, dword [ebp - 0x294]
jmp dword [edx*4 + 0x1000a4c8]
mov dword [ebp - 0x26c], str._nosymbols_
jmp case.0x1000a3d7.7
mov dword [ebp - 0x26c], str.COFF
jmp case.0x1000a3d7.7
mov dword [ebp - 0x26c], 0x100364a4
jmp case.0x1000a3d7.7
mov dword [ebp - 0x26c], 0x100364a8
jmp case.0x1000a3d7.7
mov dword [ebp - 0x26c], str._exported_
jmp case.0x1000a3d7.7
mov dword [ebp - 0x26c], str._deferred_
jmp case.0x1000a3d7.7
mov dword [ebp - 0x26c], 0x100364c4
jmp case.0x1000a3d7.7
mov dword [ebp - 0x26c], str.Virtual
jmp case.0x1000a3d7.7
mov dword [ebp - 0x26c], 0x100364d0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x288]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax]
mov edx, dword [edx]
mov eax, dword [edx + 8]
call eax
cmp dword [ebp - 8], 0
je 0x1000a49f
mov ecx, dword [ebp - 8]
push ecx
call fcn.10019c54
add esp, 4
cmp dword [ebp - 4], 0
je 0x1000a4b1
mov edx, dword [ebp - 4]
push edx
call fcn.10019c54
add esp, 4
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10018f71
mov esp, ebp
pop ebp
ret 0x18