Function at 0x53e18a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ecf43
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x54183c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0xd8], eax
mov dword [ebp - 4], edi
push edi
mov dword [ebp - 0xd4], ecx
xor eax, eax
mov ebx, 7
push 0x105
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb4], 0x80004005
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov word [ebp - 0x68], ax
call fcn.052e8e40
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0xb0], 0x104
mov dword [ebp - 0xa8], edi
jae 0x53e194f
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xa8]
push ecx
push edi
lea edx, [ebp - 0x94]
push edx
push edi
lea ecx, [ebp - 0xb0]
push ecx
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
cmp esi, edi
jne 0x53e2159
push 0x40
mov dword [ebp - 0x9c], edi
call fcn.053506ca
mov esi, eax
add esp, 4
cmp esi, edi
je 0x53e2126
mov dword [esi], esi
mov dword [ebp - 0xa0], esi
mov dword [esi + 4], esi
mov byte [ebp - 4], 2
push 4
xor edx, edx
push str.Hive
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], dx
call fcn.052e5800
mov ecx, dword [ebp - 0xd4]
push 0xffffffffffffffff
push edi
mov byte [ebp - 4], 3
xor eax, eax
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], ax
call fcn.052e53b0
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 4
mov eax, dword [esi + 4]
push edx
push eax
push esi
call fcn.052e8ca0
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x9c], 1
jb 0x53e1a19
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.053504e7
add esp, 4
xor edx, edx
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
jb 0x53e1a37
mov eax, dword [ebp - 0x4c]
push eax
call fcn.053504e7
add esp, 4
xor ecx, ecx
push 3
mov word [ebp - 0x4c], cx
push 0x5403238
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
call fcn.052e5800
mov eax, dword [ebp - 0xcc]
push 0xffffffffffffffff
mov byte [ebp - 4], 5
push edi
xor edx, edx
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
call fcn.052e53b0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
mov edx, dword [esi + 4]
push ecx
push edx
push esi
call fcn.052e8ca0
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x9c], 2
jb 0x53e1aae
mov eax, dword [ebp - 0x30]
push eax
call fcn.053504e7
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], cx
jb 0x53e1acc
mov edx, dword [ebp - 0x4c]
push edx
call fcn.053504e7
add esp, 4
cmp dword [ebp - 0x54], 8
mov ebx, dword [ebp - 0x68]
jae 0x53e1ad8
lea ebx, [ebp - 0x68]
push 5
xor eax, eax
push str.Value
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], ax
call fcn.052e5800
mov byte [ebp - 4], 7
xor ecx, ecx
mov eax, ebx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x53e1b10
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x30]
call fcn.052e5800
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 8
mov eax, dword [esi + 4]
push edx
push eax
push esi
call fcn.052e8ca0
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov ebx, 8
mov dword [ecx], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x9c], 3
cmp dword [ebp - 0x1c], ebx
jb 0x53e1b67
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.053504e7
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
cmp dword [ebp - 0x38], ebx
jb 0x53e1b88
mov eax, dword [ebp - 0x4c]
push eax
call fcn.053504e7
add esp, 4
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0x94]
call fcn.053e1070
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 9
push 4
xor edx, edx
push str.Type
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], dx
call fcn.052e5800
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xb8]
push 0xffffffffffffffff
push edi
xor eax, eax
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], ax
call fcn.052e53b0
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 0xb
mov eax, dword [esi + 4]
push edx
push eax
push esi
call fcn.052e8ca0
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov dword [ebp - 0x9c], 4
cmp dword [ebp - 0x1c], ebx
jb 0x53e1c1e
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.053504e7
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
cmp dword [ebp - 0x38], ebx
jb 0x53e1c3f
mov eax, dword [ebp - 0x4c]
push eax
call fcn.053504e7
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x70], ebx
jb 0x53e1c67
mov edx, dword [ebp - 0x84]
push edx
call fcn.053504e7
add esp, 4
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x8c], edi
cmp dword [ebp - 0x54], ebx
jae 0x53e1c78
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0xa4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x8c]
push ecx
push edi
push edi
push edi
push eax
push edx
call ebx
cmp eax, 0xea
je 0x53e1ca1
cmp eax, edi
jne 0x53e206f
mov eax, dword [ebp - 0x8c]
cmp eax, edi
jbe 0x53e206f
xor ecx, ecx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0x85]
push ecx
mov edi, eax
lea esi, [ebp - 0xc8]
mov byte [ebp - 0x85], 0
call fcn.052edbc0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x53e1cee
lea eax, [ebp - 0x68]
mov esi, dword [ebp - 0xc8]
lea edx, [ebp - 0x8c]
push edx
push esi
xor edi, edi
push edi
push edi
push eax
mov eax, dword [ebp - 0xa4]
push eax
call ebx
cmp eax, edi
jne 0x53e204a
lea ecx, [ebp - 0x170]
push ecx
call fcn.052e1430
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x170]
mov eax, dword [edx + 4]
lea eax, [ebp + eax - 0x170]
mov dword [eax + 0x14], 0x40
mov eax, dword [ebp - 0x94]
dec eax
cmp eax, 0xa
ja case.0x53e1d50.6
movzx eax, byte [eax + 0x53e2274]
jmp dword [eax*4 + 0x53e2260]
movzx ecx, byte [esi]
push ecx
lea edx, [ebp - 0x170]
push edx
jmp 0x53e1e9d
lea eax, [ebp - 0x170]
push esi
push eax
call fcn.052e8240
add esp, 8
jmp 0x53e1ea2
mov eax, dword [ebp - 0xc8]
mov esi, eax
xor ebx, ebx
jmp 0x53e1d90
cmp ebx, dword [ebp - 0x8c]
jae 0x53e1ea2
cmp byte [esi], 0
jne 0x53e1ddc
cmp byte [esi + 1], 0
jne 0x53e1ddc
push eax
lea ecx, [ebp - 0x170]
push ecx
call fcn.052e8240
add esp, 8
cmp byte [esi + 2], 0
je 0x53e1dd7
cmp byte [esi + 3], 0
je 0x53e1dd7
lea edx, [ebp - 0x170]
push 0x53fd7d0
push edx
call fcn.052e22b0
add esp, 8
lea eax, [esi + 2]
xor edi, edi
add esi, 2
add ebx, 2
jmp 0x53e1d90
mov esi, dword [ebp - 0xc8]
xor ebx, ebx
lea esp, [esp]
cmp ebx, dword [ebp - 0x8c]
jae 0x53e1ea2
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x15c]
lea eax, [ebp + eax - 0x170]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x170]
mov eax, dword [edx + 4]
push edi
lea edx, [ebp - 0x190]
lea eax, [ebp + eax - 0x170]
mov ecx, 0x30
push 2
push edx
mov word [eax + 0x40], cx
call fcn.0532b885
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x170]
mov ecx, dword [ecx + 4]
add esp, 0xc
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
lea ecx, [ebp + ecx - 0x170]
push edx
push ecx
call eax
movzx ecx, byte [esi]
add esp, 0xc
push ecx
lea edx, [ebp - 0x170]
push edx
call fcn.052eb460
push 0x54024e0
push eax
call fcn.052e8240
add esp, 8
inc esi
inc ebx
jmp 0x53e1df0
movzx eax, byte [esi]
push eax
lea ecx, [ebp - 0x170]
push ecx
call fcn.052eb460
lea ecx, [ebp - 0x84]
lea eax, [ebp - 0x170]
call fcn.052e1510
mov esi, eax
mov byte [ebp - 4], 0xe
push 4
xor edx, edx
mov ebx, 7
push str.Data
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], dx
call fcn.052e5800
mov byte [ebp - 4], 0xf
xor eax, eax
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], ax
call fcn.052e2230
mov byte [ebp - 4], 0x10
mov esi, dword [ebp - 0xa0]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x4c]
push ecx
push edx
push esi
call fcn.052e8ca0
mov ecx, 0x4924923
sub ecx, dword [ebp - 0x9c]
cmp ecx, 1
jae 0x53e1f24
push str.list_T__too_long
call fcn.05328b02
inc dword [ebp - 0x9c]
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
cmp dword [ebp - 0x1c], 8
jb 0x53e1f44
mov edx, dword [ebp - 0x30]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], ax
jb 0x53e1f62
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.053504e7
add esp, 4
xor edx, edx
cmp dword [ebp - 0x70], 8
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], dx
jb 0x53e1f83
mov eax, dword [ebp - 0x84]
push eax
call fcn.053504e7
add esp, 4
mov edx, dword [ebp - 0x170]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0xb8], ecx
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov byte [ebp - 4], 0x11
test byte [ebp - 0x12c], 1
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
je 0x53e1fcb
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ecx]
push eax
call fcn.053504e7
add esp, 4
mov edx, dword [ebp - 0x15c]
mov dword [edx], edi
mov eax, dword [ebp - 0x14c]
mov dword [eax], edi
mov ecx, dword [ebp - 0x13c]
mov dword [ecx], edi
mov edx, dword [ebp - 0x158]
mov dword [edx], edi
mov eax, dword [ebp - 0x148]
mov dword [eax], edi
mov ecx, dword [ebp - 0x138]
mov dword [ecx], edi
and dword [ebp - 0x12c], 0xfffffffe
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x130], edi
call fcn.052e4c20
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x170]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x120]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.05328c86
mov esi, dword [ebp - 0xc8]
add esp, 4
mov byte [ebp - 4], 2
cmp esi, edi
je 0x53e205b
push esi
call fcn.053504e7
add esp, 4
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc0], edi
xor edi, edi
mov ebx, dword [ebp - 0xd8]
mov esi, dword [ebx + 0x30]
mov eax, dword [esi + 4]
lea edx, [ebp - 0xa0]
push edx
push eax
push esi
call fcn.052e70a0
mov ecx, dword [ebx + 0x34]
mov edx, 0x15555554
sub edx, ecx
cmp edx, 1
jae 0x53e20a2
push str.list_T__too_long
call fcn.05328b02
inc dword [ebp - 0x90]
inc ecx
mov dword [ebx + 0x34], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xb0], 0x104
jae 0x53e20d0
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xa8]
push ecx
push edi
lea edx, [ebp - 0x94]
push edx
mov edx, dword [ebp - 0x90]
push edi
lea ecx, [ebp - 0xb0]
push ecx
push eax
mov eax, dword [ebp - 0xa4]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea ebx, [ebp - 0xa0]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.052e5ce0
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.053504e7
add esp, 4
xor edi, edi
lea ebx, [edi + 7]
jmp 0x53e1971
lea edx, [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x180]
mov dword [ebp - 0xd0], edi
call fcn.0535058b
push 0x540efd0
lea eax, [ebp - 0x180]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.05350eca
cmp esi, 0x103
jne 0x53e2172
xor ecx, ecx
cmp dword [ebp - 0x90], edi
sete cl
mov dword [ebp - 0xb4], ecx
cmp dword [ebp - 0x54], 8
jb 0x53e2184
mov edx, dword [ebp - 0x68]
push edx
call fcn.053504e7
add esp, 4
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0534fc81
mov esp, ebp
pop ebp
ret 8