Function at 0x10094a4
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x1014ab0]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c0]
mov dword [ebp + 0x1b4], eax
lea eax, [ebp - 0x70]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x1009504
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.0100c03e
test eax, eax
pop ecx
pop ecx
je 0x1009739
mov eax, dword [ebp + 0x1c4]
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, dword [ebp + 0x1c8]
mov dword [eax], ebx
jmp 0x1009739
mov eax, dword [ebp + 0x1cc]
mov dword [eax], ebx
mov eax, dword [ebp + 0x1d0]
push esi
mov dword [eax], ebx
call dword [sym.imp.msvcrt.dll_malloc]
cmp eax, ebx
pop ecx
mov dword [ebp - 0x60], eax
jne 0x1009541
push edi
push 0x1001850
push 0x10032d4
push dword [ebp + 0x1d4]
call fcn.010087a6
add esp, 0x10
jmp 0x100972b
push eax
push esi
push dword [ebp - 0x70]
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x1009575
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
push 0x10018b0
push 0x10032a8
push dword [ebp + 0x1d4]
call fcn.010087a6
add esp, 0x14
jmp 0x1009721
push dword [ebp + 0x1d4]
lea eax, [ebp - 0x80]
push edi
push eax
lea eax, [ebp - 0x78]
push eax
push 0x10032a4
push dword [ebp - 0x60]
call fcn.01009422
test eax, eax
je 0x10095ae
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x1c4]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x1c8]
mov dword [ecx], eax
push dword [ebp + 0x1d4]
lea eax, [ebp - 0x68]
push edi
push eax
lea eax, [ebp - 0x64]
push eax
push 0x1003288
push dword [ebp - 0x60]
call fcn.01009422
test eax, eax
je 0x100972f
mov eax, dword [ebp - 0x64]
mov edi, dword [eax]
movzx ebx, di
push ebx
push 0x1002a64
mov esi, 0x100
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.01008ce4
add esp, 0x10
jmp 0x100962e
mov eax, dword [ebp - 0x64]
movzx eax, word [eax]
push eax
push 0x1003284
lea eax, [ebp + 0x1a4]
push 0x10
push eax
call fcn.01008ce4
add esp, 0x10
test eax, eax
jl 0x1009638
lea eax, [ebp + 0x1a4]
push eax
push esi
lea eax, [ebp - 0x5c]
push eax
call fcn.01004954
test eax, eax
jl 0x1009638
sub dword [ebp - 0x68], 4
add dword [ebp - 0x64], 4
cmp dword [ebp - 0x68], 4
ja 0x10095f4
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.msvcrt.dll__strdup]
test eax, eax
pop ecx
mov ecx, dword [ebp + 0x1d0]
mov dword [ecx], eax
jne 0x1009664
push dword [ebp + 0x1c0]
push 0x1001850
push 0x100324c
jmp 0x1009713
push ebx
shr edi, 0x10
push edi
mov dword [ebp + 0x1c4], edi
mov edi, 0x1003224
push edi
lea eax, [ebp + 0xa4]
push esi
push eax
call fcn.01008ce4
add esp, 0x14
push dword [ebp + 0x1d4]
lea eax, [ebp - 0x7c]
push dword [ebp + 0x1c0]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0xa4]
push eax
push dword [ebp - 0x60]
call fcn.01009422
test eax, eax
jne 0x10096e7
push dword [ebp + 0x1c4]
lea eax, [ebp + 0xa4]
push ebx
push edi
push esi
push eax
call fcn.01008ce4
add esp, 0x14
push dword [ebp + 0x1d4]
lea eax, [ebp - 0x7c]
push dword [ebp + 0x1c0]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0xa4]
push eax
push dword [ebp - 0x60]
call fcn.01009422
cmp dword [ebp - 0x6c], 0
je 0x100972f
push dword [ebp - 0x6c]
call dword [sym.imp.msvcrt.dll__strdup]
test eax, eax
pop ecx
mov ecx, dword [ebp + 0x1cc]
mov dword [ecx], eax
jne 0x100972f
push dword [ebp + 0x1c0]
push 0x1001850
push 0x10031ec
push dword [ebp + 0x1d4]
call fcn.010087a6
add esp, 0x10
push dword [ebp - 0x60]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
xor eax, eax
jmp 0x100973c
push dword [ebp - 0x60]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x1b4]
pop edi
pop esi
pop ebx
call fcn.0100c7cd
add ebp, 0x1b8
leave
ret 0x18