Function at 0x100b9750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed167
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor eax, eax
xor esi, esi
cmp dword [ebp + 0xc], 3
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], esi
jne 0x100b9c69
lea ecx, [ebp + 0xc]
call dword [0x100f3984]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call dword [0x100f3984]
lea ecx, [ebp - 0x18]
call dword [0x100f3984]
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x1ec]
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
lea esi, [edi + 0x1ec]
push 0xffffffffffffffff
mov ecx, esi
mov dword [ebp - 0x38], esi
call edx
mov byte [ebp - 4], 4
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x14]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [edi + 0xa4]
mov byte [ebp - 4], 5
call fcn.1002a340
lea ecx, [ebp - 0x20]
mov edi, eax
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test edi, edi
jne 0x100b986b
mov byte [ebp - 4], 3
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [edi + 0x24]
test edi, edi
je 0x100b982d
mov ecx, dword [edi + 4]
mov eax, dword [ecx - 0xc]
mov edx, dword [ebx + 0x14]
lea eax, [edx + eax*2]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov ecx, dword [ebp - 0x18]
mov edx, dword [edi + 8]
push ecx
push edx
lea eax, [ebp + 0xc]
push str._s_s
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edx, dword [ebx + 0x18]
mov eax, dword [ebp + 0xc]
add esp, 0x10
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
push edx
add ecx, 0xd0
lea ebx, [ebp - 0x30]
lea edi, [ebp - 0x24]
call fcn.100bf530
mov byte [ebp - 4], 3
test eax, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
jne 0x100b98d7
call edx
jmp 0x100b983a
call edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
sub eax, 1
mov dword [ebp - 0x3c], ecx
je 0x100b9935
sub eax, 1
je 0x100b9923
sub eax, 1
mov esi, dword [ebp + 0x10]
jne 0x100b9972
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
shr edx, 1
push edx
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::SetString_1]
jmp 0x100b9972
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x18]
push edx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
jmp 0x100b996f
push 0x5c
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
cmp eax, 0xffffffff
je 0x100b996f
inc eax
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
mov ebx, dword [ebp + 8]
je 0x100b9999
lea ecx, [ebp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.100ba2e0
test eax, eax
jne 0x100b983a
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x44]
sub eax, 1
je 0x100b9a49
sub eax, 0xb
jne 0x100b9a53
push eax
push str.CLSID
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
mov edi, eax
cmp edi, 0xffffffff
je 0x100b983a
add edi, 6
push edi
push 0x5c
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
cmp eax, 0xffffffff
jne 0x100b99f3
mov edx, dword [ebp + 0xc]
mov eax, dword [edx - 0xc]
cmp edi, eax
jge 0x100b983a
cmp eax, 0xffffffff
je 0x100b983a
sub eax, edi
push eax
push edi
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
push ecx
push edx
mov ecx, ebx
mov dword [ebp - 0x28], 0
call fcn.100ba2e0
test eax, eax
je 0x100b9a3b
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100b9a2c
mov dword [ebp - 0x44], eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x100b9a53
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x100b983a
cmp dword [esi + 0x24], 0
je 0x100b983a
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], ecx
cmp dword [eax - 0xc], 0
jne 0x100b9a6f
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x58], edx
jmp 0x100b9a72
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x1c]
mov esi, dword [esi + 0x10]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x14]
lea eax, [esi - 1]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x40], ecx
cmp eax, 4
ja case.default.0x100b9a9f
jmp dword [eax*4 + 0x100b9c80]
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x28], 0
call dword [0x100f3984]
lea edx, [ebp + 0x10]
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x58]
push edx
lea edi, [ebp - 0x28]
call fcn.100106c0
add esp, 4
test eax, eax
jne 0x100b9bc7
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
push 0x101
xor ebx, ebx
push ebx
push ecx
push edx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100b9bc7
mov eax, dword [ebp - 0x48]
inc eax
push eax
mov dword [ebp - 0x28], eax
call sub.mfc90u.dll_new__
mov edx, dword [ebp - 0x54]
add esp, 4
mov edi, eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
push edi
lea ecx, [ebp - 0x30]
push ecx
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b9ba1
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x48]
jne 0x100b9bac
cmp eax, ebx
je 0x100b9ba7
mov ecx, dword [ebp - 0x30]
cmp ecx, 1
je 0x100b9b8a
cmp ecx, 2
je 0x100b9b8a
mov ecx, dword [ebp - 0x4c]
mov esi, edi
cmp eax, 4
jb 0x100b9b64
lea ebx, [ebx]
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x100b9bac
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x100b9b50
test eax, eax
je 0x100b9ba7
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x100b9bac
cmp eax, 1
jbe 0x100b9ba7
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x100b9bac
cmp eax, 2
jbe 0x100b9ba7
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x100b9bac
jmp 0x100b9ba7
mov ecx, dword [ebp - 0x4c]
shr eax, 1
push eax
push ecx
push edi
call dword [sym.imp.MSVCR90.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x100b9bac
jmp 0x100b9ba7
cmp dword [ebp - 0x48], 2
ja 0x100b9bac
mov ebx, 1
push edi
call sub.mfc90u.dll_delete__
mov edx, dword [ebp - 0x1c]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x100b9a3b
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x1c], 0xa
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ebx, dword [ebp + 8]
jmp case.default.0x100b9a9f
mov dword [ebp - 0x1c], 9
jmp case.default.0x100b9a9f
mov dword [ebp - 0x1c], 8
jmp case.default.0x100b9a9f
mov dword [ebp - 0x1c], 0xb
jmp case.default.0x100b9a9f
mov dword [ebp - 0x1c], 0xc
cmp dword [ebp + 0x14], 0
je 0x100b9c3d
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
push ecx
lea edx, [ebp - 0x64]
push edx
mov ecx, ebx
call eax
test eax, eax
je 0x100b9c36
cmp dword [ebp - 0x2c], 0
je 0x100b9c32
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
push ecx
push edx
mov ecx, ebx
call fcn.100ba1e0
xor esi, esi
jmp 0x100b9c4e
mov esi, 0xc0000022
jmp 0x100b9c4e
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov edi, ebx
call fcn.100b9ca0
mov esi, eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10