Function at 0x57c1d0
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a2679
mov eax, dword fs:[0]
push eax
sub esp, 0x3bc
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x200], ecx
xor esi, esi
lea eax, [ebp - 0x70]
push 0x30
push esi
push eax
mov dword [ebp - 0x14], esi
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x50], esi
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 7
add esp, 0xc
mov word [ebp - 0x60], ax
movups xmmword [ebp - 0x70], xmm0
mov word [ebp - 0x48], ax
mov byte [ebp - 0x46], al
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [ebp - 0x1e8], 0x21
mov dword [ebp - 0x1e4], 0xe000eb
mov dword [ebp - 0x1e0], 0xef00e9
mov dword [ebp - 0x1dc], 0xf000f9
mov dword [ebp - 0x1d8], 0xfc00e2
mov dword [ebp - 0x1d4], 0xb300b5
mov dword [ebp - 0x1d0], 0xa600b0
mov dword [ebp - 0x1cc], 0xb100aa
mov dword [ebp - 0x1c8], 0xa80085
mov dword [ebp - 0x1c4], 0xbd00a6
mov dword [ebp - 0x1c0], 0xa400b8
mov dword [ebp - 0x1bc], 0x9e00a0
mov dword [ebp - 0x1b8], 0xbb00ab
mov dword [ebp - 0x1b4], 0x82008c
mov dword [ebp - 0x1b0], 0xa100b7
mov dword [ebp - 0x1ac], 0xbc00a2
mov dword [ebp - 0x1a8], 0xb200b5
mov dword [ebp - 0x1a4], 0xd900ab
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1e4], ax
inc ecx
mov eax, dword [ebp - 0x1e8]
cmp ecx, eax
jb 0x57c2f0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1e4], cx
xor eax, eax
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x1e4]
mov dword [ebp - 0xa4], reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ecx + 2]
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x57c340
sub ecx, edx
lea eax, [ebp - 0x1e4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.0057e150
test al, al
je 0x57c970
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x70]
push eax
movq qword [ebp - 0x24], xmm0
call fcn.0057f200
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x24]
cmp edi, dword [ebp - 0x20]
je 0x57c968
nop
push edi
lea ecx, [ebp - 0x40]
call fcn.00404120
push 0x7cd374
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00421b40
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00407c50
xor ecx, ecx
or esi, 1
mov dword [ebp - 0x1fc], esi
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc0], eax
xor eax, eax
movq qword [ebp - 0x208], xmm0
movups xmmword [ebp - 0x218], xmm1
mov dword [ebp - 0x208], ecx
movups xmmword [ebp - 0xbc], xmm1
mov dword [ebp - 0x204], 7
movq qword [ebp - 0xac], xmm0
mov word [ebp - 0x218], ax
lea ecx, [ebp - 0x218]
call fcn.00404490
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
call fcn.00404490
push 0xf003f
push 0
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x70]
call fcn.0057e150
test al, al
je 0x57c72f
mov ecx, 4
mov dword [ebp - 0x1f4], 0xc000ec
mov dword [ebp - 0x1f8], ecx
xor eax, eax
mov dword [ebp - 0x1f0], 0xde00ca
mov dword [ebp - 0x1ec], 0xbc
nop dword [eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x1f4], cx
inc eax
mov ecx, dword [ebp - 0x1f8]
cmp eax, ecx
jb 0x57c4c0
xor eax, eax
mov word [ebp + ecx*2 - 0x1f4], ax
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x190], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x18c], 7
mov word [ebp - 0x1a0], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x57c503
sub ecx, edx
lea eax, [ebp - 0x1f4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004044f0
cmp byte [ebp - 0x48], 0
je 0x57c574
cmp dword [ebp - 0x18c], 8
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], 4
push ecx
lea eax, [ebp - 0x1a0]
cmovae eax, dword [ebp - 0x1a0]
push 0
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57c574
cmp dword [ebp - 0x14], 4
jne 0x57c574
mov esi, dword [ebp - 0x18]
jmp 0x57c576
xor esi, esi
lea ecx, [ebp - 0x1a0]
call fcn.00404490
cmp esi, 0xb
jne 0x57c72f
mov dword [ebp - 0x1a0], 9
xor ecx, ecx
mov dword [ebp - 0x19c], 0xd400f1
mov dword [ebp - 0x198], 0xdc00db
mov dword [ebp - 0x194], 0xed00d9
mov dword [ebp - 0x190], 0xcb00df
mov dword [ebp - 0x18c], 0xc100a8
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x19c], ax
inc ecx
mov eax, dword [ebp - 0x1a0]
cmp ecx, eax
jb 0x57c5d0
xor ecx, ecx
mov word [ebp + eax*2 - 0x19c], cx
xor eax, eax
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x21c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x230], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x57c615
sub ecx, edx
lea eax, [ebp - 0x19c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004044f0
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x70]
call fcn.0057e2d0
mov dword [ebp - 0x78], 0
xor ecx, ecx
mov dword [ebp - 0x74], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x278]
call fcn.00404490
lea ecx, [ebp - 0x248]
call fcn.00404490
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xb
call fcn.00404490
cmp dword [ebp - 0x78], 0
je 0x57c724
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xd8]
call fcn.0041cd00
mov ecx, dword [ebp - 0x200]
lea edx, [ebp - 0xd8]
mov byte [ebp - 4], 0xc
call fcn.00403010
test al, al
je 0x57c719
push 0xf003f
push 0
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x70]
call fcn.0057e150
test al, al
jne 0x57c75d
lea ecx, [ebp - 0xd8]
call fcn.00404490
lea ecx, [ebp - 0x88]
call fcn.00404490
lea ecx, [ebp - 0xbc]
call fcn.00404490
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00404490
add edi, 0x18
cmp edi, dword [ebp - 0x20]
je 0x57c968
mov esi, dword [ebp - 0x1fc]
jmp 0x57c3b0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.0057e930
test al, al
je 0x57c774
xor esi, esi
jmp 0x57c935
push 0xb0
lea eax, [ebp - 0x188]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x188], 0x7d4f80
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x178], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x188]
mov eax, dword [ebp - 0x1fc]
or eax, 2
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x170]
push 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x188]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x18c], eax
lea ecx, [ebp - 0x170]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x170], 0x7c6164
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0x19
mov dword [ebp - 0x1d4], 0xd800fb
mov dword [ebp - 0x1d0], 0x9c00d4
mov dword [ebp - 0x1cc], 0x9d00c8
mov dword [ebp - 0x1c8], 0xda00cc
mov dword [ebp - 0x1c4], 0xae00ad
mov dword [ebp - 0x1c0], 0xa600b4
mov dword [ebp - 0x1bc], 0xa100e4
mov dword [ebp - 0x1b8], 0xae00b4
mov dword [ebp - 0x1b4], 0xac00be
mov dword [ebp - 0x1b0], 0xeb00b8
mov dword [ebp - 0x1ac], 0xa800a7
mov dword [ebp - 0x1a8], 0xf500b7
mov dword [ebp - 0x1a4], 0xd100f0
call fcn.00403e20
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.00404740
add esp, 8
push eax
call fcn.00404930
add esp, 8
call fcn.00434600
mov edi, eax
lea eax, [ebp - 0x3c8]
push eax
call fcn.0057c9e0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x310]
push eax
call fcn.00577d10
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x188]
push ecx
push esi
push 0x21c
push eax
push 0
mov ecx, edi
call fcn.00469240
lea ecx, [ebp - 0x188]
call fcn.00406480
mov esi, 2
lea ecx, [ebp - 0xd8]
call fcn.00404490
lea ecx, [ebp - 0x88]
call fcn.00404490
lea ecx, [ebp - 0xbc]
call fcn.00404490
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x24]
call fcn.00404220
jmp 0x57c975
lea ecx, [ebp - 0x24]
call fcn.00404220
mov esi, 2
lea ecx, [ebp - 0xa0]
call fcn.00404490
mov eax, dword [ebp - 0x70]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x57c997
push eax
call edi
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x48], 0
call fcn.00404490
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x57c9b4
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret