Function at 0x10097e8
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x100eab4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x244]
push eax
push ebx
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x230], edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 0x238], eax
jne 0x1009878
lea eax, [ebp - 0x240]
push eax
push ebx
call fcn.0100c7f0
test eax, eax
pop ecx
pop ecx
je 0x1009ae7
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x234]
mov dword [ecx], eax
mov eax, dword [ebp - 0x220]
and dword [eax], 0
jmp 0x1009ae7
and dword [esi], 0
and dword [edi], 0
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
test esi, esi
pop ecx
mov dword [ebp - 0x224], esi
jne 0x10098b0
push ebx
push 0x1001860
push 0x10032ec
push dword [ebp - 0x218]
call fcn.01008969
add esp, 0x10
jmp 0x1009ad6
push esi
push dword [ebp - 0x238]
push dword [ebp - 0x244]
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x10098ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
push 0x10018c0
push 0x10032c0
push dword [ebp - 0x218]
call fcn.01008969
add esp, 0x14
jmp 0x1009ac9
push dword [ebp - 0x218]
lea eax, [ebp - 0x250]
push ebx
push eax
lea eax, [ebp - 0x24c]
push eax
push 0x10032bc
push esi
call fcn.0100975f
test eax, eax
je 0x100992c
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x234]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x220]
mov dword [ecx], eax
push dword [ebp - 0x218]
lea eax, [ebp - 0x228]
push ebx
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x10032a0
push esi
call fcn.0100975f
test eax, eax
je 0x1009ada
mov eax, dword [ebp - 0x21c]
mov edi, dword [eax]
movzx eax, di
push eax
push 0x1002a7c
mov dword [ebp - 0x220], eax
mov esi, 0x100
lea eax, [ebp - 0x214]
push esi
push eax
call fcn.01008f58
add esp, 0x10
jmp 0x10099bf
mov eax, dword [ebp - 0x21c]
movzx eax, word [eax]
push eax
push 0x100329c
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.01008f58
add esp, 0x10
test eax, eax
jl 0x10099cf
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x214]
push eax
call fcn.01004668
test eax, eax
jl 0x10099cf
sub dword [ebp - 0x228], 4
add dword [ebp - 0x21c], 4
cmp dword [ebp - 0x228], 4
ja 0x1009982
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.msvcrt.dll__strdup]
test eax, eax
pop ecx
mov ecx, dword [ebp - 0x230]
mov dword [ecx], eax
jne 0x10099f9
push ebx
push 0x1001860
push 0x1003264
jmp 0x1009abb
push dword [ebp - 0x220]
shr edi, 0x10
push edi
mov dword [ebp - 0x230], edi
mov edi, 0x100323c
push edi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.01008f58
add esp, 0x14
push dword [ebp - 0x218]
lea eax, [ebp - 0x23c]
push ebx
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x224]
call fcn.0100975f
test eax, eax
jne 0x1009a8e
push dword [ebp - 0x230]
lea eax, [ebp - 0x114]
push dword [ebp - 0x220]
push edi
push esi
push eax
call fcn.01008f58
add esp, 0x14
push dword [ebp - 0x218]
lea eax, [ebp - 0x23c]
push ebx
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x224]
call fcn.0100975f
cmp dword [ebp - 0x22c], 0
je 0x1009ada
push dword [ebp - 0x22c]
call dword [sym.imp.msvcrt.dll__strdup]
test eax, eax
pop ecx
mov ecx, dword [ebp - 0x248]
mov dword [ecx], eax
jne 0x1009ada
push ebx
push 0x1001860
push 0x1003204
push dword [ebp - 0x218]
call fcn.01008969
add esp, 0x10
push dword [ebp - 0x224]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
xor eax, eax
jmp 0x1009aea
push dword [ebp - 0x224]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100d065
leave
ret 0x18