Function at 0x100b1a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ebd6b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x14]
mov edx, dword [ebp + 8]
xor esi, esi
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x14]
push eax
mov eax, dword [edi + 4]
and ecx, 0x100
or ecx, 0x20019
push ecx
push esi
push edx
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100b1d49
lea ecx, [esp + 0x24]
call dword [0x100f3984]
push ecx
mov dword [esp + 0x64], esi
lea eax, [edi + 0xc]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
lea ebx, [esp + 0x2c]
call dword [0x100f3988]
mov ecx, ebx
call fcn.100b21d0
cmp eax, esi
je 0x100b1c72
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100b1d34
mov edx, dword [esp + 0x18]
inc dword [esp + 0x10]
push edx
call sub.mfc90u.dll_new__
mov ebx, eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90u.dll_new__
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
push 0
push ebx
mov dword [esp + 0x3c], esi
call sub.MSVCR90.dll_memset
add esp, 0x14
cmp dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
jbe 0x100b1c5e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x20]
push ebx
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
push 0
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x40]
push edx
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100b1c2e
mov eax, dword [edi + 0xc]
push 0x3f
push 0x2a
push eax
push esi
call fcn.100100f0
add esp, 0x10
test eax, eax
je 0x100b1c2e
cmp dword [edi + 0x3c], 0
je 0x100b1bcf
add dword [edi + 0x40], 1
adc dword [edi + 0x44], 0
jmp 0x100b1c2e
lea esi, [esp + 0x3c]
call fcn.1001c610
mov ecx, ebx
lea esi, [esp + 0x34]
mov byte [esp + 0x60], 1
call fcn.100b2280
mov byte [esp + 0x60], 2
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov ecx, esi
mov byte [esp + 0x60], 1
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 edx, dword [edi - 8]
mov edx, dword [edx + 0xc]
lea ecx, [edi - 8]
lea eax, [esp + 0x3c]
push eax
call edx
lea ecx, [esp + 0x3c]
cmp eax, 0xfffffffc
je 0x100b1c55
mov byte [esp + 0x60], 0
call fcn.1001c6f0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x20]
jb 0x100b1b6f
push ebx
call sub.mfc90u.dll_delete__
push esi
call sub.mfc90u.dll_delete__
add esp, 8
jmp 0x100b1d34
call fcn.1001c6f0
mov esi, dword [esp + 0x28]
push ebx
call sub.mfc90u.dll_delete__
push esi
call sub.mfc90u.dll_delete__
add esp, 8
jmp 0x100b1d34
cmp dword [edi + 0x3c], esi
je 0x100b1c83
add dword [edi + 0x40], 1
adc dword [edi + 0x44], esi
jmp 0x100b1d34
xor ecx, ecx
mov eax, 0x200
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], 0x400
neg ecx
or ecx, eax
push ecx
call sub.mfc90u.dll_new__
add esp, 4
mov ebx, eax
lea ecx, [esp + 0x28]
push ecx
push ebx
xor eax, eax
lea edx, [esp + 0x3c]
push edx
mov word [ebx], ax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x100b1d2b
cmp dword [esp + 0x28], esi
jbe 0x100b1d2b
lea esi, [esp + 0x3c]
call fcn.1001c610
mov ecx, ebx
lea esi, [esp + 0x30]
mov byte [esp + 0x60], 3
call fcn.100b2280
mov byte [esp + 0x60], 4
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov ecx, esi
mov byte [esp + 0x60], 3
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 edx, dword [edi - 8]
mov edx, dword [edx + 0xc]
lea ecx, [edi - 8]
lea eax, [esp + 0x3c]
push eax
call edx
lea ecx, [esp + 0x3c]
call fcn.1001c6f0
push ebx
call sub.mfc90u.dll_delete__
add esp, 4
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
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 [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4