Function at 0x10b81cb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 1
call fcn.10bd19f0
test eax, eax
je 0x10b81ce8
lea eax, [esp + 0x1c]
push 0x10df1f24
push eax
call dword [sym.imp.MSVCRT.dll__mbscpy]
add esp, 8
jmp 0x10b81d0e
mov edi, 0x10df1f38
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
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]
call fcn.10bd19f0
test eax, eax
je 0x10b81d2f
mov ebp, dword [esp + 0x128]
lea ecx, [esp + 0x1c]
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll__mbscat]
add esp, 8
jmp 0x10b81d61
mov ebp, dword [esp + 0x128]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10bd19f0
test eax, eax
je 0x10b81d7f
lea eax, [esp + 0x1c]
push 0x10df1f4c
push eax
call dword [sym.imp.MSVCRT.dll__mbscat]
add esp, 8
jmp 0x10b81d9c
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [0x10df1f58]
repne scasb al, byte es:[edi]
mov ecx, dword [0x10df1f54]
dec edi
mov dword [edi], ecx
mov byte [edi + 4], dl
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push 1
push 0
push ecx
push reloc.oledlg.dll_OleUIAddVerbMenuA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [esp + 0x124]
mov esi, dword [esp + 0x120]
mov edi, eax
test edi, edi
jne 0x10b81df4
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push esi
push 0
push 0
push 0x10df1f5c
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x14]
mov edi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x10b81e10
mov eax, dword [esp + 0x10]
test esi, esi
je 0x10b81e0c
test eax, eax
je 0x10b81e0c
mov byte [eax + esi], 0
mov eax, dword [esp + 0x10]
xor ecx, ecx
jmp 0x10b81e18
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10b81e50
mov edi, dword [sym.imp.KERNEL32.dll_GetProfileStringA]
push ebx
push esi
push 0x10e2bea4
push 0x10df1f68
push ebp
call edi
cmp eax, 1
mov dword [esp + 0x10], eax
jae 0x10b81e50
mov edx, dword [esp + 0x12c]
push ebx
push esi
push edx
push 0x10df1f74
push ebp
call edi
mov dword [esp + 0x10], eax
test eax, eax
jbe 0x10b81eaa
mov cl, byte [eax + esi - 1]
cmp cl, 0x3a
je 0x10b81eaa
cmp cl, 0x5c
jne 0x10b81e72
dec eax
push eax
push esi
call dword [sym.imp.MSVCRT.dll__mbsbtype]
add esp, 8
test eax, eax
je 0x10b81eaa
call fcn.10bd19f0
test eax, eax
je 0x10b81e97
push 0x10df1f80
push esi
call dword [sym.imp.MSVCRT.dll__mbscat]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ax, word [0x10df1f84]
mov word [edi - 1], ax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret