Function at 0x572a10
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 0x74bffe
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.007051b0
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 0x572a89
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 0x572ed1
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 0x572ed1
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x572ecf
cmp byte [0xa968b0], 0
mov eax, dword [str.Output]
mov ecx, dword [0x8f6408]
mov dword [ebp - 0x7c], eax
je 0x572b38
cmp byte [0x8f63f8], 0
je 0x572b38
test cl, cl
je 0x572ba8
cmp cl, 6
jb 0x572ba8
shr ecx, 8
cmp cl, 3
jb 0x572ba8
jmp 0x572b3c
test cl, cl
je 0x572ba8
mov dword [ebp - 0x1c], 0xbd0bac
mov edi, dword [ebp - 0x1c]
mov eax, dword [0x8f6408]
sub edi, 0x433bf0
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 0x572b61
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.00518420
mov edi, dword [ebp - 0x20]
add esp, 0x28
xor edx, edx
mov dword [ebp - 0x1c], edx
test edi, edi
je 0x572ecf
mov ecx, dword [0x1033fe0]
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 0x572ed1
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x572c0d
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 0x75ede4
movups xmmword [eax], xmm0
lea eax, [ebp - 0x4f0]
push eax
call fcn.0048e930
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.00486be0
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 0x572d2b
mov eax, dword [ebp - 0x4e4]
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x572d21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57311b
push edx
push ecx
call fcn.00516d60
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 0x572d6c
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x34], 7
movups xmmword [ebp - 0x48], xmm0
jmp 0x572dae
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.00486a90
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.00704c30
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], reloc.WS2_32.dll_accept
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, eax
mov eax, dword [0xafe444]
cmp eax, dword [ecx + 0x64c]
jg 0x5730a7
jmp 0x572ddf
mov ecx, dword [ebp - 0x18]
mov eax, dword [0xafe44c]
cmp eax, dword [ecx + 0x64c]
jg 0x5730e1
cmp byte [0xafe440], 0
je 0x572e12
cmp byte [0xafe448], 0
je 0x572e0b
or dword [ebp - 0x30], 0x200
jmp 0x572e12
or dword [ebp - 0x30], 0x100
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x572e4d
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x572e43
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x573120
push ecx
push edi
call fcn.00516d60
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 0x5730a2
mov eax, dword [ecx]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [eax + 8]
call eax
mov edi, eax
test edi, edi
jne 0x572f0e
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x572ebf
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x572eb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x573120
push edx
push ecx
call fcn.00516d60
add esp, 8
mov edx, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x20]
jb 0x572bd0
xor edi, edi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x572edf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x572ef7
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 [0xa968b0], 0
mov ecx, dword [0x8f6410]
je 0x572f45
cmp byte [0x8f63f8], 0
je 0x572f45
test cl, cl
je 0x57305f
cmp cl, 6
jb 0x57305f
shr ecx, 8
cmp cl, 3
jb 0x57305f
jmp 0x572f4d
test cl, cl
je 0x57305f
lea eax, [ebp - 0x48]
mov dword [ebp - 0x24], 0xc39536
mov esi, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0xf0]
sub esi, 0x49c552
push eax
call fcn.00519050
add esp, 8
mov dword [ebp - 0x24], eax
mov ecx, dword [ebx + 0x2c]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x572f87
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
jmp 0x572f8c
mov eax, 0x8fdf6c
add eax, 4
push 0x1033ff0
push eax
call fcn.00705e85
mov dword [ebp - 0x4c], eax
mov edx, esi
mov eax, dword [0x8f6410]
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 0x572fb5
mov eax, dword [ebp - 0x24]
sub edx, ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax + 0x14], 0x10
jb 0x572fcf
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.00518420
mov edx, dword [ebp - 0xdc]
add esp, 0x28
cmp edx, 0x10
jb 0x57305f
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x573055
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57311b
push edx
push ecx
call fcn.00516d60
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x572ed1
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x573093
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x573120
push edx
push ecx
call fcn.00516d60
add esp, 8
jmp 0x572ed1
call fcn.006ee13d
push 0xafe444
call fcn.00702d61
add esp, 4
cmp dword [0xafe444], 0xffffffff
jne 0x572ddc
mov byte [ebp - 4], 5
call fcn.0051abd0
push 0xafe444
mov byte [0xafe440], al
call fcn.00702d17
add esp, 4
jmp 0x572ddc
push 0xafe44c
call fcn.00702d61
add esp, 4
cmp dword [0xafe44c], 0xffffffff
jne 0x572df0
mov byte [ebp - 4], 6
call fcn.005702b0
push 0xafe44c
mov byte [0xafe448], al
call fcn.00702d17
add esp, 4
jmp 0x572df0
call fcn.0070f5b4
call fcn.0070f5b4
int3