Function at 0x10b250f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x528
mov ecx, dword [esp + 0x530]
push ebx
push ebp
push esi
push edi
mov ebp, 0x100
push 0x10e2ac0c
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ebp
call fcn.10b01b00
lea eax, [esp + 0x238]
push 0x10dedabc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x238]
mov ecx, dword [esp + 0x53c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x238]
push eax
push ecx
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea edx, [esp + 0x10]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x138]
push edx
push eax
push 0x10dedac4
push ecx
call esi
test eax, eax
jne 0x10b2518f
mov edx, dword [esp + 0x10]
test eax, eax
mov byte [esp + edx + 0x138], al
je 0x10b25199
mov esi, 0xffffefca
jmp 0x10b2543e
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
push ecx
push str.Version
push edx
mov dword [esp + 0x20], ebp
call esi
test eax, eax
jne 0x10b251bf
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x38], al
test eax, eax
mov dword [esp + 0x1c], eax
je 0x10b25213
call fcn.10bd19f0
test eax, eax
je 0x10b251e5
lea edx, [esp + 0x38]
push 0x10dedad4
push edx
call dword [sym.imp.MSVCRT.dll__mbscpy]
add esp, 8
jmp 0x10b2520b
mov edi, 0x10dedad8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x1c], 0
call fcn.10bd19f0
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
mov ebx, dword [sym.imp.MSVCRT.dll__mbschr]
test eax, eax
push 0x2e
je 0x10b25233
lea ecx, [esp + 0x3c]
push ecx
call ebx
jmp 0x10b2523a
lea edx, [esp + 0x3c]
push edx
call esi
add esp, 8
test eax, eax
jne 0x10b2527e
call fcn.10bd19f0
test eax, eax
je 0x10b2525f
lea eax, [esp + 0x38]
push 0x10dedadc
push eax
call dword [sym.imp.MSVCRT.dll__mbscat]
add esp, 8
jmp 0x10b2527e
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [0x10dedae2]
repne scasb al, byte es:[edi]
mov cx, word [0x10dedae0]
dec edi
mov word [edi], cx
mov byte [edi + 2], dl
lea eax, [esp + 0x138]
push ebp
lea ecx, [esp + 0x33c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_mbstowcs]
add esp, 0xc
lea edx, [esp + 0x28]
lea eax, [esp + 0x338]
push edx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov dword [esp + 0x10], ebp
call fcn.10bd19f0
test eax, eax
push 0x2e
je 0x10b252c3
lea ecx, [esp + 0x3c]
push ecx
call ebx
jmp 0x10b252ca
lea edx, [esp + 0x3c]
push edx
call esi
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
add esp, 8
mov ebp, eax
lea eax, [esp + 0x38]
push eax
mov byte [ebp], 0
inc ebp
call edi
add esp, 4
mov esi, eax
push ebp
call edi
mov ebx, dword [sym.imp.OLEAUT32.dll_LHashValOfNameSys]
add esp, 4
lea ecx, [esp + 0x14]
mov edi, eax
push ecx
push 0x400
push edi
lea edx, [esp + 0x34]
push esi
push edx
call ebx
test eax, eax
jge 0x10b2534a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
push 0x800
push edi
push esi
push ecx
call ebx
test eax, eax
jge 0x10b2534a
lea edx, [esp + 0x14]
lea eax, [esp + 0x28]
push edx
push 0
push edi
push esi
push eax
call ebx
test eax, eax
jge 0x10b2534a
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
push ecx
push 9
push edi
push esi
push edx
call ebx
test eax, eax
jl 0x10b25360
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x540]
push eax
call fcn.10b021b0
jmp 0x10b2542f
call fcn.10bd19f0
test eax, eax
je 0x10b2537e
lea ecx, [esp + 0x20]
push 0x10dedae4
push ecx
call dword [sym.imp.MSVCRT.dll__mbscpy]
add esp, 8
jmp 0x10b253a4
mov edi, str.win32
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x38]
push ecx
push 9
lea eax, [esp + 0x140]
push edx
push eax
lea ecx, [esp + 0x248]
push str.TypeLib_s_s_i_s
push ecx
mov byte [ebp - 1], 0x2e
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea edx, [esp + 0x10]
lea eax, [esp + 0x138]
lea ecx, [esp + 0x238]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
mov dword [esp + 0x20], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x10b25409
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x138], al
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x10b25427
mov ecx, dword [esp + 0x540]
lea edx, [esp + 0x138]
push edx
call fcn.10b01b00
jmp 0x10b2542f
mov dword [esp + 0x1c], 0xffffefc9
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10b2544d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x528
ret 8