Function at 0x100eea8
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [section..data]
xor eax, ebp
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
mov dword [ebp - 0x238], eax
test eax, eax
jne 0x100ef3a
lea eax, [ebp - 0x240]
push eax
push ebx
call fcn.01011c30
pop ecx
pop ecx
test eax, eax
je 0x100f1a9
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x234]
mov dword [ecx], eax
mov eax, dword [ebp - 0x220]
and dword [eax], 0
jmp 0x100f1a9
and dword [esi], 0
and dword [edi], 0
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
pop ecx
mov dword [ebp - 0x224], esi
test esi, esi
jne 0x100ef72
push ebx
push 0x1004fb0
push 0x100f2a8
push dword [ebp - 0x218]
call fcn.01006f95
add esp, 0x10
jmp 0x100f198
push esi
push dword [ebp - 0x238]
push dword [ebp - 0x244]
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x100efae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
push 0x100a554
push 0x100f27c
push dword [ebp - 0x218]
call fcn.01006f95
add esp, 0x14
jmp 0x100f18b
push dword [ebp - 0x218]
lea eax, [ebp - 0x250]
push ebx
push eax
lea eax, [ebp - 0x24c]
push eax
push 0x100f278
push esi
call fcn.0100edc6
test eax, eax
je 0x100efee
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 0x100f25c
push esi
call fcn.0100edc6
test eax, eax
je 0x100f19c
mov eax, dword [ebp - 0x21c]
mov edi, dword [eax]
movzx eax, di
push eax
push 0x100a7a0
mov dword [ebp - 0x220], eax
mov esi, 0x100
lea eax, [ebp - 0x214]
push esi
push eax
call fcn.0100130c
add esp, 0x10
jmp 0x100f081
mov eax, dword [ebp - 0x21c]
movzx eax, word [eax]
push eax
push 0x100f258
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.0100130c
add esp, 0x10
test eax, eax
jl 0x100f091
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x214]
push eax
call fcn.010025a4
test eax, eax
jl 0x100f091
sub dword [ebp - 0x228], 4
add dword [ebp - 0x21c], 4
cmp dword [ebp - 0x228], 4
ja 0x100f044
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.msvcrt.dll__strdup]
pop ecx
mov ecx, dword [ebp - 0x230]
mov dword [ecx], eax
test eax, eax
jne 0x100f0bb
push ebx
push 0x1004fb0
push 0x100f220
jmp 0x100f17d
push dword [ebp - 0x220]
shr edi, 0x10
push edi
mov dword [ebp - 0x230], edi
mov edi, 0x100f1f8
push edi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.0100130c
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.0100edc6
test eax, eax
jne 0x100f150
push dword [ebp - 0x230]
lea eax, [ebp - 0x114]
push dword [ebp - 0x220]
push edi
push esi
push eax
call fcn.0100130c
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.0100edc6
cmp dword [ebp - 0x22c], 0
je 0x100f19c
push dword [ebp - 0x22c]
call dword [sym.imp.msvcrt.dll__strdup]
pop ecx
mov ecx, dword [ebp - 0x248]
mov dword [ecx], eax
test eax, eax
jne 0x100f19c
push ebx
push 0x1004fb0
push 0x100f1c0
push dword [ebp - 0x218]
call fcn.01006f95
add esp, 0x10
push dword [ebp - 0x224]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
xor eax, eax
jmp 0x100f1ac
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
xor ecx, ebp
pop ebx
call fcn.010026ce
leave
ret 0x18