Function at 0x53eac0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706bde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xae8
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x4c], esi
push 0x208
lea eax, [ebp - 0x6f8]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.006c2360
add esp, 0xc
mov dword [ebp - 0x6c], 0x104
mov dword [ebp - 0x20], 0
cmp dword [esi + 0x14], 8
mov eax, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], 0
jb 0x53eb39
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
push dword [esi + 0x18]
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x53ef81
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x6f8]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
test edi, edi
jne 0x53ef81
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x53ef7f
cmp byte [0x991b00], 0
mov eax, dword [str.Output]
mov ecx, dword [0x7f0018]
mov dword [ebp - 0x7c], eax
je 0x53ebe8
cmp byte [0x7f0008], 0
je 0x53ebe8
test cl, cl
je 0x53ec58
cmp cl, 6
jb 0x53ec58
shr ecx, 8
cmp cl, 3
jb 0x53ec58
jmp 0x53ebec
test cl, cl
je 0x53ec58
mov dword [ebp - 0x1c], 0xafa5fc
mov edi, dword [ebp - 0x1c]
mov eax, dword [0x7f0018]
sub edi, 0x3ac140
mov edx, edi
mov dword [ebp - 0x18], eax
mov eax, dword [str.Output]
mov dword [ebp - 0x1c], eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x53ec11
mov eax, dword [ebp - 0x84]
sub edx, ecx
mov ecx, dword [ebp - 0x20]
push 0
sub esp, 0x10
mov dword [ebp - 0x7c], eax
mov eax, esp
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x80]
push edx
push edi
push 3
push dword [ebp - 0x1c]
mov dword [eax], 2
push dword [ebp - 0x18]
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
call fcn.004e9800
mov edi, dword [ebp - 0x20]
add esp, 0x28
xor edx, edx
mov dword [ebp - 0x1c], edx
test edi, edi
je 0x53ef7f
mov ecx, dword [0xf2db10]
mov eax, dword fs:[0x2c]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x24], eax
nop word [eax + eax]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x70], 0x200
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xaf8]
push eax
push edx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test edi, edi
jne 0x53ef81
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x53ecbd
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
lea edx, [ebp - 0xaf8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x4e0]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xd0], 0xcd
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x4e8], 0
mov dword [ebp - method.fmt::v8::basic_memory_buffer_wchar_t__500__class_std::allocator_wchar_t__.virtual_0], vtable.fmt::v8::basic_memory_buffer_wchar_t__500__class_std::allocator_wchar_t__.0
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x4e4], 0x1f4
movups xmm0, xmmword [ebp - 0xd0]
push ecx
mov eax, esp
mov byte [ebp - 4], 2
sub esp, 0x10
mov dword [eax], 0
mov eax, esp
push 5
push 0x7154d4
movups xmmword [eax], xmm0
lea eax, [ebp - 0x4f0]
push eax
call fcn.0047b390
add esp, 0x20
mov dword [ebp - 0x68], 0
xor eax, eax
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
push dword [ebp - 0x4e8]
push dword [ebp - 0x4ec]
call fcn.00473710
mov ecx, dword [ebp - 0x4ec]
lea eax, [ebp - 0x4e0]
mov byte [ebp - 4], 1
mov dword [ebp - method.fmt::v8::basic_memory_buffer_wchar_t__500__class_std::allocator_wchar_t__.virtual_0], vtable.fmt::v8::basic_memory_buffer_wchar_t__500__class_std::allocator_wchar_t__.0
cmp ecx, eax
je 0x53eddb
mov eax, dword [ebp - 0x4e4]
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x53edd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53f1cb
push edx
push ecx
call fcn.004e7fa0
add esp, 8
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
mov edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x58]
cmovae ecx, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], ecx
cmp eax, 8
jae 0x53ee1c
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x34], 7
movups xmmword [ebp - 0x48], xmm0
jmp 0x53ee5e
mov esi, eax
lea ecx, [ebp - 0x48]
or esi, 7
mov eax, bind
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.004735c0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.006c1de0
mov eax, dword [ebp - 0x58]
add esp, 0xc
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], 0x20019
mov dword [ebp - 0x2c], bind
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, eax
mov eax, dword [0x9f7ee8]
cmp eax, dword [ecx + 0x5ac]
jg 0x53f157
jmp 0x53ee8f
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x9f7ef0]
cmp eax, dword [ecx + 0x5ac]
jg 0x53f191
cmp byte [0x9f7ee4], 0
je 0x53eec2
cmp byte [0x9f7eec], 0
je 0x53eebb
or dword [ebp - 0x30], 0x200
jmp 0x53eec2
or dword [ebp - 0x30], 0x100
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x53eefd
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x53eef3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53f1d0
push ecx
push edi
call fcn.004e7fa0
add esp, 8
mov ecx, dword [ebx + 0x2c]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
test ecx, ecx
je 0x53f152
mov eax, dword [ecx]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [eax + 8]
call eax
mov edi, eax
test edi, edi
jne 0x53efbe
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x53ef6f
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x53ef65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53f1d0
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov edx, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x20]
jb 0x53ec80
xor edi, edi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x53ef8f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x53efa7
mov esi, dword [ecx]
lea eax, [ebx + 8]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x28
cmp byte [0x991b00], 0
mov ecx, dword [0x7f0020]
je 0x53eff5
cmp byte [0x7f0008], 0
je 0x53eff5
test cl, cl
je 0x53f10f
cmp cl, 6
jb 0x53f10f
shr ecx, 8
cmp cl, 3
jb 0x53f10f
jmp 0x53effd
test cl, cl
je 0x53f10f
lea eax, [ebp - 0x48]
mov dword [ebp - 0x24], 0xb55c7c
mov esi, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0xf0]
sub esi, 0x407798
push eax
call fcn.004ea3e0
add esp, 8
mov dword [ebp - 0x24], eax
mov ecx, dword [ebx + 0x2c]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x53f037
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
jmp 0x53f03c
mov eax, 0x7f70f4
add eax, 4
push 0xf2db20
push eax
call fcn.006c2f95
mov dword [ebp - 0x4c], eax
mov edx, esi
mov eax, dword [0x7f0020]
add esp, 8
mov dword [ebp - 0x78], eax
mov eax, dword [str.Error]
mov dword [ebp - 0x18], eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x53f065
mov eax, dword [ebp - 0x24]
sub edx, ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax + 0x14], 0x10
jb 0x53f07f
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xd4]
push 0
sub esp, 0x10
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, esp
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0xa8]
push edx
push esi
push 3
push dword [ebp - 0x18]
mov dword [eax], 0xdc
push dword [ebp - 0x78]
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
call fcn.004e9800
mov edx, dword [ebp - 0xdc]
add esp, 0x28
cmp edx, 0x10
jb 0x53f10f
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x53f105
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53f1cb
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x53ef81
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x53f143
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53f1d0
push edx
push ecx
call fcn.004e7fa0
add esp, 8
jmp 0x53ef81
call fcn.006ab2f0
push 0x9f7ee8
call fcn.006bff11
add esp, 4
cmp dword [0x9f7ee8], 0xffffffff
jne 0x53ee8c
mov byte [ebp - 4], 5
call fcn.004ec030
push 0x9f7ee8
mov byte [0x9f7ee4], al
call fcn.006bfec7
add esp, 4
jmp 0x53ee8c
push 0x9f7ef0
call fcn.006bff11
add esp, 4
cmp dword [0x9f7ef0], 0xffffffff
jne 0x53eea0
mov byte [ebp - 4], 6
call fcn.0053c410
push 0x9f7ef0
mov byte [0x9f7eec], al
call fcn.006bfec7
add esp, 4
jmp 0x53eea0
call fcn.006cc674
call fcn.006cc674
int3