Function at 0x10b23140
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x520
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x130]
xor ebx, ebx
mov ebp, 0x100
push 0x10ded6ec
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x130]
mov ecx, dword [esp + 0x534]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x130]
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 + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x230]
push edx
push eax
push 0x10ded6f4
push ecx
call esi
cmp eax, ebx
jne 0x10b231cc
mov edx, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + edx + 0x230], bl
je 0x10b231d9
mov dword [esp + 0x1c], 0xffffefca
jmp 0x10b2334e
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0x10ded6fc
push edx
call esi
cmp eax, ebx
jne 0x10b231fb
mov ecx, dword [esp + 0x14]
mov byte [esp + ecx + 0x30], bl
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x10b2324b
call fcn.10bd19f0
test eax, eax
je 0x10b23221
lea edx, [esp + 0x30]
push 0x10ded704
push edx
call dword [sym.imp.MSVCRT.dll__mbscpy]
add esp, 8
jmp 0x10b23247
mov edi, 0x10ded708
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
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], ebx
lea ecx, [esp + 0x230]
push ebp
lea edx, [esp + 0x334]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_mbstowcs]
add esp, 0xc
lea eax, [esp + 0x20]
lea ecx, [esp + 0x330]
push eax
push ecx
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov dword [esp + 0x14], ebp
call fcn.10bd19f0
test eax, eax
push 0x2e
je 0x10b23294
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.MSVCRT.dll__mbschr]
jmp 0x10b2329f
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x10b232ad
mov byte [edi], bl
inc edi
jmp 0x10b232b2
mov edi, 0x10ded70c
mov ebp, dword [sym.imp.MSVCRT.dll_atoi]
lea ecx, [esp + 0x30]
push ecx
call ebp
add esp, 4
mov esi, eax
push edi
call ebp
mov ebp, dword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
add esp, 4
lea edx, [esp + 0x10]
mov edi, eax
push edx
push 0x400
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
cmp eax, ebx
jge 0x10b23331
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push 0x800
push edi
push esi
push edx
call ebp
cmp eax, ebx
jge 0x10b23331
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ebx
push edi
push esi
push ecx
call ebp
cmp eax, ebx
jge 0x10b23331
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push 9
push edi
push esi
push eax
call ebp
cmp eax, ebx
jge 0x10b23331
mov dword [esp + 0x1c], 0xffffefc9
jmp 0x10b2334e
mov eax, dword [esp + 0x538]
cmp eax, ebx
je 0x10b23344
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
jmp 0x10b2334e
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10b2335d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x520
ret 8