Function at 0x100937e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10110ee7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x305c
call fcn.1010ecf0
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x3058], eax
push ebx
push esi
push edi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0x3070]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x40]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x30a0], ebx
mov eax, dword [esi + 4]
push ebx
push eax
mov dword [esp + 0x60], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
je 0x10093891
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ebx, [esp + 0x20]
mov dword [esp + 0x3078], 0xffffffff
call fcn.100035d0
xor al, al
jmp 0x10093b4e
xor edi, edi
cmp dword [esp + 0x30], ebx
jbe 0x1009396a
lea ecx, [ecx]
push 0x1ffe
lea ecx, [esp + 0x106a]
push ebx
push ecx
mov word [esp + 0x1070], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0xfff
lea edx, [esp + 0x69]
push ebx
push edx
mov dword [esp + 0x50], 0x2000
mov dword [esp + 0x44], ebx
mov byte [esp + 0x70], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x40]
push edx
mov edx, dword [esi + 4]
push ebx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1078]
push ecx
push edi
push edx
mov dword [esp + 0x5c], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
je 0x1009391f
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1009395d
lea eax, [esp + 0x1064]
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0x48]
push ecx
lea esi, [esp + 0x24]
mov byte [esp + 0x307c], 1
call fcn.10003370
lea ecx, [esp + 0x48]
mov byte [esp + 0x3078], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov esi, dword [esp + 0x14]
add edi, 1
cmp edi, dword [esp + 0x30]
jb 0x100938a0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
lea ebx, [ebx]
test esi, esi
je 0x100939bf
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x100939bf
mov eax, dword [esp + 0x14]
mov edx, dword [eax + esi + 0x14]
mov ecx, dword [esp + 0x1c]
add ebx, 1
lea edx, [ecx + edx*2 + 2]
add eax, 0x1c
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
jmp 0x10093980
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
add edx, 2
cmp eax, edx
mov dword [esp + 0x1c], edx
jae 0x10093a13
test esi, esi
mov dword [ecx], edx
mov dword [esp + 0x3078], 0xffffffff
je 0x10093a0c
cmp esi, edi
je 0x10093a03
lea esp, [esp]
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x100939f0
mov esi, dword [esp + 0x24]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x10093b4e
mov ebx, dword [esp + 0x18]
push eax
push 0
push ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [esp + 0x14], ebx
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ecx, [ecx]
test esi, esi
je 0x10093b0e
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x10093b0e
test esi, esi
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + esi + 0x14]
mov dword [esp + 0x40], eax
je 0x10093a80
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10093a8e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
cmp dword [ecx + esi + 0x18], 8
jb 0x10093a9b
mov esi, dword [ecx + esi + 4]
jmp 0x10093a9f
lea esi, [ecx + esi + 4]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
lea edx, [ecx + ecx + 2]
push edx
push esi
push eax
call sub.MSVCR80.dll_memcpy
mov esi, dword [esp + 0x30]
add esp, 0xc
test esi, esi
je 0x10093add
mov edi, dword [esp + 0x28]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10093aeb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + esi + 0x14]
mov edx, dword [esp + 0x14]
add ebx, 1
lea ecx, [edx + ecx*2 + 2]
add eax, 0x1c
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x10093a30
test esi, esi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov dword [eax], edx
mov dword [esp + 0x3078], 0xffffffff
je 0x10093b4c
cmp esi, edi
je 0x10093b43
jmp 0x10093b30
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x10093b30
mov esi, dword [esp + 0x24]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x3070]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3058]
xor ecx, esp
call fcn.1010dc50
mov esp, ebp
pop ebp
ret 8