Function at 0x1009e710
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100bddd8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], esi
mov ecx, dword [esi + 4]
xor ebx, ebx
mov dword [esp + 0x20], ebx
call fcn.10091810
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x20]
push eax
push 0x20019
push ebx
call fcn.1007ee00
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1009e77b
mov eax, dword [esi + 4]
add eax, 0xc
jmp 0x1009ead4
lea eax, [esp + 0x2c]
push eax
xor ebp, ebp
mov esi, 0x104
push esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
call fcn.10021bf0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
lea esp, [esp]
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x1009e7c2
mov ecx, dword [esp + 0x48]
sub ecx, eax
sar ecx, 1
jne 0x1009e7cc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x44]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea edx, [esp + 0x14]
push edx
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0x38]
push ebp
push eax
call edi
test eax, eax
jne 0x1009ea99
mov eax, dword [esp + 0x14]
cmp eax, ebx
ja 0x1009e805
add ebp, 1
mov dword [esp + 0x28], ebp
jmp 0x1009e7a1
shr eax, 1
lea ecx, [esp + 0x2c]
push ecx
add eax, 2
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], ebx
call fcn.10021bf0
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x58], 1
mov dword [esp + 0x18], esi
je 0x1009e838
mov edx, dword [esp + 0x38]
sub edx, eax
sar edx, 1
jne 0x1009e842
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x34]
mov esi, eax
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x1009e856
mov ecx, dword [esp + 0x48]
sub ecx, eax
sar ecx, 1
jne 0x1009e860
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x14]
push edx
push esi
lea ecx, [esp + 0x24]
push ecx
push ebx
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0x38]
push ebp
push eax
call edi
test eax, eax
jne 0x1009ea5a
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x1009e894
mov ecx, dword [esp + 0x38]
sub ecx, eax
sar ecx, 1
jne 0x1009e8a2
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
call edi
mov eax, dword [esp + 0x34]
jmp 0x1009e8a8
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push eax
lea ecx, [esp + 0x64]
call fcn.1007f440
cmp dword [esp + 0x64], ebx
mov byte [esp + 0x58], 2
jne 0x1009e990
cmp dword [esp + 0x1c], 7
jne 0x1009e971
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
xor esi, esi
cmp edx, ebx
je 0x1009e8e2
sub edi, edx
sar edi, 1
cmp esi, edi
jb 0x1009e8ec
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x34]
lea edx, [edx + esi*2]
push edx
lea ecx, [esp + 0x64]
call fcn.1007f540
lea ecx, [esp + 0x60]
call fcn.1007edb0
test eax, eax
jne 0x1009e91a
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x60]
push eax
add ecx, 0xc
call fcn.1000ac50
mov edx, dword [esp + 0x34]
cmp edx, ebx
je 0x1009e930
mov edi, dword [esp + 0x38]
mov eax, edi
sub eax, edx
sar eax, 1
cmp esi, eax
jb 0x1009e93e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
lea eax, [edx + esi*2]
lea ebp, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1009e944
sub eax, ebp
sar eax, 1
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x14]
shr eax, 1
sub eax, 2
cmp esi, eax
jb 0x1009e8d6
mov ebp, dword [esp + 0x28]
jmp 0x1009ea03
lea ecx, [esp + 0x60]
call fcn.1007edb0
test eax, eax
jne 0x1009ea03
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [edx + 4]
jmp 0x1009e9fb
cmp dword [esp + 0x1c], 1
jne 0x1009ea03
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x1009e9a9
mov ecx, dword [esp + 0x48]
sub ecx, eax
sar ecx, 1
jne 0x1009e9af
call edi
mov eax, dword [esp + 0x44]
mov esi, dword [sym.imp.MSVCR80.dll_wcsncmp]
push 4
push eax
push str.Path
call esi
add esp, 0xc
test eax, eax
je 0x1009e9ef
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x1009e9d8
mov edx, dword [esp + 0x48]
sub edx, eax
sar edx, 1
jne 0x1009e9de
call edi
mov eax, dword [esp + 0x44]
push 7
push eax
push str.Profile
call esi
add esp, 0xc
test eax, eax
jne 0x1009ea03
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x60]
push eax
add ecx, 0xc
call fcn.1000ac50
add ebp, 1
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebp
mov byte [esp + 0x58], 1
call fcn.1007ece0
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x58], bl
je 0x1009ea44
mov edx, dword [esp + 0x3c]
sub edx, eax
sar edx, 1
push edx
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::allocator_wchar_t_::deallocate_wchar_t___unsigned_int_]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov esi, 0x104
jmp 0x1009e7b0
push 0x1df
push str..WindowsRegistry.cpp
push ebx
call fcn.10001230
mov eax, dword [esp + 0x40]
add esp, 0xc
cmp eax, ebx
mov byte [esp + 0x58], bl
je 0x1009ea8d
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::allocator_wchar_t_::deallocate_wchar_t___unsigned_int_]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x44]
add esi, 0xc
cmp eax, ebx
mov dword [esp + 0x58], 0xffffffff
je 0x1009ead2
mov ecx, dword [esp + 0x4c]
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::allocator_wchar_t_::deallocate_wchar_t___unsigned_int_]
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8