Function at 0x53e2280
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ecfb7
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x54183c4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x60], ebx
cmp dword [0x542d7e4], ebx
jne 0x53e22df
mov dword [0x542d7e4], esi
xor ecx, ecx
push ebx
mov word [ebp - 0x50], cx
push 0x105
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ebx
call fcn.052e8e40
lea edx, [ebp - 0x54]
push edx
push 0x20019
push ebx
push edi
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x53e2696
lea eax, [ebp - 0x10c]
push eax
call fcn.052e1430
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x50]
mov esi, 8
xor edi, edi
mov dword [ebp - 0x68], 0x104
cmp dword [ebp - 0x3c], esi
jae 0x53e2347
lea eax, [ebp - 0x50]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
push ebx
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x53e24ce
push ebx
xor eax, eax
push 0x54025b8
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], ax
call fcn.052e5800
mov byte [ebp - 4], 3
test byte [ebp - 0xc8], 1
je 0x53e239f
mov ecx, dword [ebp - 0xf8]
mov eax, dword [ecx]
push eax
call fcn.053504e7
add esp, 4
mov edx, dword [ebp - 0xf8]
mov dword [edx], ebx
mov eax, dword [ebp - 0xe8]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xd8]
mov dword [ecx], ebx
mov edx, dword [ebp - 0xf4]
mov dword [edx], ebx
mov eax, dword [ebp - 0xe4]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], ebx
and dword [ebp - 0xc8], 0xfffffffe
mov ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x20], esi
jae 0x53e23e1
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xcc], ebx
cmp eax, ebx
je 0x53e23ff
push ecx
lea esi, [ebp - 0x108]
call fcn.052e2090
mov esi, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x20], esi
jb 0x53e2414
mov edx, dword [ebp - 0x34]
push edx
call fcn.053504e7
add esp, 4
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x10], ebx
jne 0x53e242e
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.052e8240
jmp 0x53e243b
push eax
lea edx, [ebp - 0x10c]
push edx
call fcn.052ee5f0
add esp, 8
cmp dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x50]
jae 0x53e2449
lea esi, [ebp - 0x50]
lea eax, [ebp - 0x10c]
push 0x5402540
push eax
call fcn.052e8240
add esp, 8
push esi
push eax
call fcn.052e8240
add esp, 8
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x10c]
call fcn.052e1510
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
mov esi, 8
cmp dword [ebp - 0x3c], esi
jae 0x53e2489
lea ecx, [ebp - 0x50]
push eax
push ecx
mov ecx, dword [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.053e2280
mov byte [ebp - 4], 2
cmp dword [ebp - 0x20], esi
jb 0x53e24ac
mov edx, dword [ebp - 0x34]
push edx
call fcn.053504e7
add esp, 4
mov eax, dword [ebp - 0x50]
inc edi
mov dword [ebp - 0x68], 0x104
cmp dword [ebp - 0x3c], esi
jae 0x53e24bf
lea eax, [ebp - 0x50]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
push edi
jmp 0x53e2351
mov edi, dword [0x542d7e4]
lea eax, [ebp - 0x34]
push eax
call fcn.053e13a0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x58]
push ecx
push esi
mov edx, edi
mov ecx, eax
call fcn.053e18a0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x20], 8
jb 0x53e250b
mov edx, dword [ebp - 0x34]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
push esi
mov ecx, edi
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], ax
call fcn.053e14e0
mov ecx, eax
mov dword [ebp - 0x60], ecx
cmp ecx, ebx
je 0x53e255c
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x53e255c
test byte [eax + 0x1c], 1
je 0x53e255c
cmp byte [eax + 0x19], 2
jb 0x53e255c
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0x14]
push 0x53f96f8
push 0xd
push ecx
push edx
call fcn.052ed6e0
add esp, 0x14
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x58], 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
test byte [ebp - 0xc8], 1
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x64], ecx
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 0x53e25b0
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx]
push eax
call fcn.053504e7
add esp, 4
mov eax, dword [ebp - 0xf8]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xe8]
mov dword [ecx], ebx
mov edx, dword [ebp - 0xd8]
mov dword [edx], ebx
mov eax, dword [ebp - 0xf4]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xe4]
mov dword [ecx], ebx
mov edx, dword [ebp - 0xd4]
mov dword [edx], ebx
and dword [ebp - 0xc8], 0xfffffffe
mov dword [ebp - 0xcc], ebx
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xd0]
mov ebx, eax
test eax, eax
je 0x53e2651
mov edi, dword [eax]
test edi, edi
je 0x53e2648
push 0
lea ecx, [ebp - 0x5c]
call fcn.05328f8a
mov eax, dword [edi + 4]
test eax, eax
je 0x53e2627
cmp eax, 0xffffffff
jae 0x53e2627
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [ebp - 0x5c]
and esi, edi
call fcn.05328fb2
test esi, esi
je 0x53e2648
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebx
call fcn.053504e7
add esp, 4
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 6
call fcn.05328fe3
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0xbc]
mov dword [ebp + ecx - 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 edx
mov dword [ebp - 0xbc], vtable.std::ios_base.0
call fcn.05328c86
mov esi, dword [ebp - 0x70]
add esp, 4
xor ebx, ebx
cmp esi, dword [0x542d7e4]
jne 0x53e26a4
mov dword [0x542d7e4], ebx
cmp dword [ebp - 0x3c], 8
jb 0x53e26b6
mov eax, dword [ebp - 0x50]
push eax
call fcn.053504e7
add esp, 4
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0534fc81
mov esp, ebp
pop ebp
ret 0xc