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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a3e49
mov eax, dword fs:[0]
push eax
sub esp, 0x3bc
mov eax, dword [0x831184]
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], 0xf300fa
mov dword [ebp - 0x1e0], 0xf800f8
mov dword [ebp - 0x1dc], 0xe300e8
mov dword [ebp - 0x1d8], 0xf300f3
mov dword [ebp - 0x1d4], 0xc000c4
mov dword [ebp - 0x1d0], 0xd100c1
mov dword [ebp - 0x1cc], 0xc200db
mov dword [ebp - 0x1c8], 0xd700f4
mov dword [ebp - 0x1c4], 0xce00d7
mov dword [ebp - 0x1c0], 0xd300c9
mov dword [ebp - 0x1bc], 0xed00d1
mov dword [ebp - 0x1b8], 0xb400da
mov dword [ebp - 0x1b4], 0x91009d
mov dword [ebp - 0x1b0], 0xb600a6
mov dword [ebp - 0x1ac], 0xaf00b3
mov dword [ebp - 0x1a8], 0xad00a4
mov dword [ebp - 0x1a4], 0xca00ba
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1e4], ax
inc ecx
mov eax, dword [ebp - 0x1e8]
cmp ecx, eax
jb 0x57d470
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 0x57d4c0
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.0057f2d0
test al, al
je 0x57daf0
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.00580380
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x24]
cmp edi, dword [ebp - 0x20]
je 0x57dae8
nop
push edi
lea ecx, [ebp - 0x40]
call fcn.00404120
push 0x7cf384
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.0057f2d0
test al, al
je 0x57d8af
mov ecx, 4
mov dword [ebp - 0x1f4], 0xd300fd
mov dword [ebp - 0x1f8], ecx
xor eax, eax
mov dword [ebp - 0x1f0], 0xc900db
mov dword [ebp - 0x1ec], 0xad
nop dword [eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x1f4], cx
inc eax
mov ecx, dword [ebp - 0x1f8]
cmp eax, ecx
jb 0x57d640
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 0x57d683
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 0x57d6f4
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 0x57d6f4
cmp dword [ebp - 0x14], 4
jne 0x57d6f4
mov esi, dword [ebp - 0x18]
jmp 0x57d6f6
xor esi, esi
lea ecx, [ebp - 0x1a0]
call fcn.00404490
cmp esi, 0xb
jne 0x57d8af
mov dword [ebp - 0x1a0], 9
xor ecx, ecx
mov dword [ebp - 0x19c], 0xc700e0
mov dword [ebp - 0x198], 0xcb00ca
mov dword [ebp - 0x194], 0xfe00c8
mov dword [ebp - 0x190], 0xc400ce
mov dword [ebp - 0x18c], 0xb200d9
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x19c], ax
inc ecx
mov eax, dword [ebp - 0x1a0]
cmp ecx, eax
jb 0x57d750
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 0x57d795
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.0057f450
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 0x57d8a4
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 0x57d899
push 0xf003f
push 0
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x70]
call fcn.0057f2d0
test al, al
jne 0x57d8dd
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 0x57dae8
mov esi, dword [ebp - 0x1fc]
jmp 0x57d530
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.0057fab0
test al, al
je 0x57d8f4
xor esi, esi
jmp 0x57dab5
push 0xb0
lea eax, [ebp - 0x188]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x188], 0x7d6f90
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x178], 0x7d7228
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 - 0x188], 0x7c81a4
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], 0x7c8164
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], 0xcb00ea
mov dword [ebp - 0x1d0], 0x8b00c5
mov dword [ebp - 0x1cc], 0x8e00d9
mov dword [ebp - 0x1c8], 0xd500dd
mov dword [ebp - 0x1c4], 0xdd00dc
mov dword [ebp - 0x1c0], 0xd100c5
mov dword [ebp - 0x1bc], 0xd20095
mov dword [ebp - 0x1b8], 0xd100c5
mov dword [ebp - 0x1b4], 0xdf00cf
mov dword [ebp - 0x1b0], 0x9c00c9
mov dword [ebp - 0x1ac], 0xdb00d6
mov dword [ebp - 0x1a8], 0xfa00c6
mov dword [ebp - 0x1a4], 0xc200e1
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.004345f0
mov edi, eax
lea eax, [ebp - 0x3c8]
push eax
call fcn.0057db60
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x310]
push eax
call fcn.00578e90
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.00469f50
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 0x57daf5
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 0x57db17
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 0x57db34
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.0076eb7e
mov esp, ebp
pop ebp
ret