Function at 0x411100
Capabilities:
Get file version info
Query or enumerate registry value

Disassembly:
mov eax, 0x45deb0
call fcn.0045dac0
push ecx
mov eax, 0xbc98
call fcn.0045da90
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x1ca6]
mov word [ebp - 0x1ca8], bx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], esp
push 0x40
stosw word es:[edi], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x337]
mov byte [ebp - 0x338], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x208
xor eax, eax
lea edi, [ebp - 0xc5f]
mov byte [ebp - 0xc60], bl
rep stosd dword es:[edi], eax
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x14], ebx
stosw word es:[edi], ax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
stosb byte es:[edi], al
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
je 0x411386
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp eax, ebx
jl 0x411386
cmp dword [ebp - 0x1c], ebx
je 0x411386
mov esi, 0x103
lea eax, [ebp - 0x338]
push esi
push eax
push dword [ebp - 0x1c]
call fcn.00424e92
add esp, 0xc
push dword [ebp - 0x1c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x233]
mov byte [ebp - 0x234], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x12f]
mov byte [ebp - 0x130], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
lea eax, [ebp - 0x338]
pop edi
mov dword [ebp - 0x28], esi
push eax
push 0x40a0d0
lea eax, [ebp - 0x43c]
push 0x104
push eax
mov dword [ebp - 0x2c], edi
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 0x1ca8]
push 0x824
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push 2
lea eax, [ebp - 0x1ca8]
pop edx
mov cx, word [eax]
cmp cx, bx
je 0x411240
cmp cx, 0x23
je 0x411240
add eax, edx
jmp 0x41122e
cmp word [eax], 0x23
jne 0x4112bf
mov word [eax], bx
add eax, edx
mov dword [ebp + 0xc], eax
mov cx, word [eax]
cmp cx, bx
je 0x411260
cmp cx, 0x3d
je 0x411260
add eax, edx
jmp 0x41124e
cmp word [eax], bx
je 0x4112bf
mov word [eax], bx
lea ecx, [ebp - 0xc60]
add eax, edx
push 0x823
push ecx
push eax
call fcn.00424e92
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0xc
push 0x40a0c0
push dword [ebp + 0xc]
call edi
pop ecx
test eax, eax
pop ecx
je 0x4112a5
push 0x40a0a4
push dword [ebp + 0xc]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x4112bc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc60]
push eax
call fcn.0041139e
add esp, 0xc
push 1
pop edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x43c]
push 0x45fc38
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x411383
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
add eax, ecx
test eax, eax
jbe 0x411386
lea eax, [ebp - 0x130]
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x24]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp - 0x130]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp + 0xc], eax
mov eax, 0xa000
cmp dword [ebp + 0xc], eax
ja 0x411383
lea ecx, [ebp - 0xbca8]
push ecx
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x130]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x411383
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xbca8]
push 0x40a0a0
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x411383
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x411383
mov eax, dword [ecx + 8]
cmp eax, dword [ebp - 0x18]
jb 0x411383
jne 0x411386
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebp - 0x20]
jae 0x411386
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret