Function at 0x100b9de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed647
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x1012007c]
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 0x100ba2f9
lea ecx, [ebp + 0xc]
call dword [0x100f4984]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call dword [0x100f4984]
lea ecx, [ebp - 0x18]
call dword [0x100f4984]
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.1002a4b0
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 0x100b9efb
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 0x100b9ebd
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.100bf750
mov byte [ebp - 4], 3
test eax, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
jne 0x100b9f67
call edx
jmp 0x100b9eca
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 0x100b9fc5
sub eax, 1
je 0x100b9fb3
sub eax, 1
mov esi, dword [ebp + 0x10]
jne 0x100ba002
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 0x100ba002
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 0x100b9fff
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 0x100b9fff
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 0x100ba029
lea ecx, [ebp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.100ba970
test eax, eax
jne 0x100b9eca
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x44]
sub eax, 1
je 0x100ba0d9
sub eax, 0xb
jne 0x100ba0e3
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 0x100b9eca
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 0x100ba083
mov edx, dword [ebp + 0xc]
mov eax, dword [edx - 0xc]
cmp edi, eax
jge 0x100b9eca
cmp eax, 0xffffffff
je 0x100b9eca
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.100ba970
test eax, eax
je 0x100ba0cb
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100ba0bc
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 0x100ba0e3
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 0x100b9eca
cmp dword [esi + 0x24], 0
je 0x100b9eca
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 0x100ba0ff
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x58], edx
jmp 0x100ba102
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.0x100ba12f
jmp dword [eax*4 + 0x100ba310]
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x28], 0
call dword [0x100f4984]
lea edx, [ebp + 0x10]
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x58]
push edx
lea edi, [ebp - 0x28]
call fcn.10010e10
add esp, 4
test eax, eax
jne 0x100ba257
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 0x100ba257
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 0x100ba231
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x48]
jne 0x100ba23c
cmp eax, ebx
je 0x100ba237
mov ecx, dword [ebp - 0x30]
cmp ecx, 1
je 0x100ba21a
cmp ecx, 2
je 0x100ba21a
mov ecx, dword [ebp - 0x4c]
mov esi, edi
cmp eax, 4
jb 0x100ba1f4
lea ebx, [ebx]
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x100ba23c
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x100ba1e0
test eax, eax
je 0x100ba237
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x100ba23c
cmp eax, 1
jbe 0x100ba237
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x100ba23c
cmp eax, 2
jbe 0x100ba237
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x100ba23c
jmp 0x100ba237
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 0x100ba23c
jmp 0x100ba237
cmp dword [ebp - 0x48], 2
ja 0x100ba23c
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 0x100ba0cb
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.0x100ba12f
mov dword [ebp - 0x1c], 9
jmp case.default.0x100ba12f
mov dword [ebp - 0x1c], 8
jmp case.default.0x100ba12f
mov dword [ebp - 0x1c], 0xb
jmp case.default.0x100ba12f
mov dword [ebp - 0x1c], 0xc
cmp dword [ebp + 0x14], 0
je 0x100ba2cd
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 0x100ba2c6
cmp dword [ebp - 0x2c], 0
je 0x100ba2c2
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
push ecx
push edx
mov ecx, ebx
call fcn.100ba870
xor esi, esi
jmp 0x100ba2de
mov esi, 0xc0000022
jmp 0x100ba2de
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov edi, ebx
call fcn.100ba330
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