Function at 0x4567f0
Capabilities:
Encode data using xor
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79791c
mov eax, dword fs:[0]
push eax
sub esp, 0x258
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
xor esi, esi
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x138], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], esi
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x7cd378
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.004044f0
push 0x20119
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
push reloc.WS2_32.dll_closesocket
lea ecx, [ebp - 0x24]
call fcn.00420010
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00404490
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
movq qword [ebp - 0x1c], xmm0
xor ecx, ecx
mov dword [ebp - 0x19c], 0x2d
mov dword [ebp - 0x198], 0xd600eb
mov dword [ebp - 0x194], 0xcf00dc
mov dword [ebp - 0x190], 0xdc00cb
mov dword [ebp - 0x18c], 0xda00cc
mov dword [ebp - 0x188], 0x8c009c
mov dword [ebp - 0x184], 0xa000ab
mov dword [ebp - 0x180], 0xaa00b6
mov dword [ebp - 0x17c], 0xa800b5
mov dword [ebp - 0x178], 0xbd00ae
mov dword [ebp - 0x174], 0x9c0096
mov dword [ebp - 0x170], 0xa300a5
mov dword [ebp - 0x16c], 0xa000aa
mov dword [ebp - 0x168], 0xa200a7
mov dword [ebp - 0x164], 0x90008e
mov dword [ebp - 0x160], 0xa700a1
mov dword [ebp - 0x15c], 0xb200a4
mov dword [ebp - 0x158], 0xad00b6
mov dword [ebp - 0x154], 0xbe008c
mov dword [ebp - 0x150], 0xae00ae
mov dword [ebp - 0x14c], 0xb000b7
mov dword [ebp - 0x148], 0xbd008e
mov dword [ebp - 0x144], 0x9600b0
mov dword [ebp - 0x140], 0xe5008a
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x198], ax
inc ecx
mov eax, dword [ebp - 0x19c]
cmp ecx, eax
jb 0x456980
xor ecx, ecx
mov word [ebp + eax*2 - 0x198], cx
xor eax, eax
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x74], reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ecx + 2]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4569c3
sub ecx, edx
lea eax, [ebp - 0x198]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.004044f0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
call fcn.00457320
xor ecx, ecx
mov dword [ebp - 0x138], eax
mov edx, dword [eax]
lea edi, [eax + 4]
test edx, edx
je 0x456a1c
mov esi, eax
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x456a05
mov esi, dword [ebp - 0x134]
xor eax, eax
mov ecx, edi
mov word [edi + edx*2], ax
mov dword [ebp - 0x58], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 7
lea edx, [ecx + 2]
mov word [ebp - 0x54], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456a40
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x54]
call fcn.004044f0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x3c]
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
call fcn.0045c1e0
push fcn.004442e0
push 2
push 0x1c
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 6
push eax
call fcn.0076d1e5
lea eax, [ebp - 0x88]
mov dword [ebp - 0x80], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
push eax
movq qword [ebp - 0x88], xmm0
call fcn.00420090
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x13c], eax
cmp edi, eax
je 0x456c8c
nop dword [eax]
push 7
xor eax, eax
mov dword [ebp - 0x1c4], 0
push str.default
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x1c0], 7
mov word [ebp - 0x1d4], ax
call fcn.004044f0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x1d4]
or esi, 1
mov ecx, edi
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x138], esi
call fcn.00405430
test al, al
jne 0x456b74
push 7
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x7d76d0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.004044f0
or esi, 2
lea edx, [ebp - 0x3c]
mov ecx, edi
mov dword [ebp - 0x134], esi
call fcn.00405430
mov byte [ebp - 0x12d], 0
test al, al
je 0x456b7b
mov byte [ebp - 0x12d], 1
mov eax, dword [ebp - 0x134]
test al, 2
je 0x456b9c
and eax, 0xfffffffd
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x134], eax
call fcn.00404490
mov eax, dword [ebp - 0x134]
and eax, 0xfffffffe
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x134], eax
call fcn.00404490
cmp byte [ebp - 0x12d], 0
jne 0x456c77
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea eax, [ebp - 0x12c]
push edi
push eax
call fcn.00421b40
add esp, 0xc
movups xmm0, xmmword [eax]
xor ecx, ecx
mov dword [ebp - 0x1b8], reloc.WS2_32.dll_closesocket
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movups xmmword [ebp - 0x1b4], xmm0
mov word [eax], cx
movq qword [ebp - 0x1a4], xmm1
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x456c4d
mov dword [eax], reloc.WS2_32.dll_closesocket
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
movups xmmword [eax + 4], xmm0
mov dword [ebp - 0x1a4], ecx
movq qword [eax + 0x14], xmm1
xor eax, eax
add dword [ebp - 0x18], 0x1c
mov dword [ebp - 0x1a0], 7
mov word [ebp - 0x1b4], ax
jmp 0x456c5d
lea ecx, [ebp - 0x1b8]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0045c050
lea ecx, [ebp - 0x1b4]
call fcn.00404490
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 7
call fcn.00404490
mov esi, dword [ebp - 0x134]
add edi, 0x18
cmp edi, dword [ebp - 0x13c]
jne 0x456ae0
push 0x30
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0xa4], 0
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 7
add esp, 0xc
mov word [ebp - 0xb4], ax
movups xmmword [ebp - 0xc4], xmm0
mov word [ebp - 0x9c], ax
mov byte [ebp - 0x9a], al
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x1bc], ecx
cmp eax, ecx
je 0x45727f
lea edi, [eax + 4]
mov dword [ebp - 0x138], edi
push 0xf003f
push 0x100
push eax
lea ecx, [ebp - 0xc4]
call fcn.0057e150
test al, al
je 0x45723e
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0057f440
mov esi, dword [ebp - 0x94]
cmp esi, dword [ebp - 0x90]
je 0x45722f
xor eax, eax
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 7
mov word [ebp - 0x1b4], ax
push esi
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0xd
call fcn.00404120
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0057e2d0
lea ecx, [ebp - 0x1ec]
call fcn.00404490
lea ecx, [ebp - 0x1b4]
call fcn.00404490
cmp dword [ebp - 0x2c], 0
je 0x457218
push 0x30
lea eax, [ebp - 0x6c]
mov byte [ebp - 0x13c], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x6c], 0
add esp, 0xc
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov word [ebp - 0x44], ax
mov byte [ebp - 0x42], al
push edi
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x12
call fcn.00404120
mov byte [ebp - 4], 0x13
mov ecx, 0x1c
mov dword [ebp - 0x17c], ecx
xor eax, eax
mov dword [ebp - 0x178], 0xc100fd
mov dword [ebp - 0x174], 0xd700ca
mov dword [ebp - 0x170], 0xcf00d3
mov dword [ebp - 0x16c], 0xcd00db
mov dword [ebp - 0x168], 0x92009c
mov dword [ebp - 0x164], 0xa200b6
mov dword [ebp - 0x160], 0xb100b6
mov dword [ebp - 0x15c], 0xb700b3
mov dword [ebp - 0x158], 0xb90089
mov dword [ebp - 0x154], 0xb900ba
mov dword [ebp - 0x150], 0xbb00a3
mov dword [ebp - 0x14c], 0xab00ab
mov dword [ebp - 0x148], 0x83008c
mov dword [ebp - 0x144], 0xbd00a7
mov dword [ebp - 0x140], 0xd4
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x178], cx
inc eax
mov ecx, dword [ebp - 0x17c]
cmp eax, ecx
jb 0x456ec0
xor eax, eax
mov dword [ebp - 0x1a0], 7
mov word [ebp + ecx*2 - 0x178], ax
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x1a4], eax
lea edx, [ecx + 2]
mov word [ebp - 0x1b4], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456f03
sub ecx, edx
lea eax, [ebp - 0x178]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004044f0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1ec]
push 3
xor eax, eax
mov dword [ebp - 0x1dc], 0
push 0x7d76e0
mov dword [ebp - 0x1d8], 7
mov word [ebp - 0x1ec], ax
call fcn.004044f0
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00405530
add esp, 0xc
lea ecx, [ebp - 0x1ec]
call fcn.00404490
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0x13
call fcn.00404490
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x1b4]
mov eax, dword [eax]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00404120
push 0xf003f
push 0x100
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x6c]
call fcn.0057e150
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 0x12d], al
mov byte [ebp - 4], 0x13
call fcn.00404490
cmp byte [ebp - 0x12d], 0
je 0x4570be
xor edi, edi
lea ecx, [ebp - 0x1d4]
push esi
mov dword [ebp - 0x20], edi
call fcn.00404120
mov byte [ebp - 4], 0x17
cmp byte [ebp - 0x44], 0
je 0x457086
cmp dword [ebp - 0x1c0], 8
lea ecx, [ebp - 0x20]
push ecx
push edi
lea ecx, [ebp - 0x78]
push ecx
lea eax, [ebp - 0x1d4]
cmovae eax, dword [ebp - 0x1d4]
push edi
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x457086
cmp dword [ebp - 0x78], 3
jne 0x457086
push dword [ebp - 0x20]
call fcn.0078f0da
add esp, 4
lea ecx, [ebp - 0x1d4]
cmp dword [ebp - 0x1c0], 8
mov edi, eax
lea eax, [ebp - 0x20]
cmovae ecx, dword [ebp - 0x1d4]
push eax
push edi
lea eax, [ebp - 0x7c]
push eax
push 0
push ecx
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x457086
cmp dword [ebp - 0x7c], 3
mov byte [ebp - 0x12d], 1
je 0x45708d
mov byte [ebp - 0x12d], 0
lea ecx, [ebp - 0x1d4]
call fcn.00404490
cmp byte [ebp - 0x12d], 0
je 0x4570b8
mov eax, dword [ebp - 0x13c]
xor ecx, ecx
cmp dword [edi], 3
movzx eax, al
cmove eax, ecx
mov dword [ebp - 0x13c], eax
mov edi, dword [ebp - 0x138]
xor eax, eax
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 7
mov word [ebp - 0x110], ax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0x18
cmp eax, esi
je 0x45713a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45712b
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0xf8]
push eax
call fcn.004044f0
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0xe0]
push eax
call fcn.004044f0
mov ecx, dword [ebp - 0x134]
mov eax, dword [ecx]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x110]
cmp eax, edi
je 0x457185
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x457176
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x110]
push eax
call fcn.004044f0
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp - 0x13c]
mov byte [ebp - 0xc8], al
test ecx, ecx
je 0x457311
mov eax, dword [ecx]
lea edx, [ebp - 0x114]
push edx
call dword [eax + 8]
lea ecx, [ebp - 0xe0]
call fcn.00404490
lea ecx, [ebp - 0xf8]
call fcn.00404490
lea ecx, [ebp - 0x110]
call fcn.00404490
lea ecx, [ebp - 0x12c]
call fcn.00404490
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4571e9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x44], 0
call fcn.00404490
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x457211
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x3c]
call fcn.00404490
add esi, 0x18
cmp esi, dword [ebp - 0x90]
jne 0x456d42
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xb
call fcn.00404220
mov eax, dword [ebp - 0x134]
add edi, 0x1c
add eax, 0x1c
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x134], eax
cmp eax, dword [ebp - 0x1bc]
jne 0x456d00
mov eax, dword [ebp - 0xc4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x45727f
push eax
call esi
mov dword [ebp - 0xc4], 0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0x9c], 0
call fcn.00404490
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x4572b2
push eax
call esi
mov dword [ebp - 0xc4], 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xc0], 0
call fcn.00404220
lea ecx, [ebp - 0x1c]
call fcn.0045b490
lea ecx, [ebp - 0x24]
call fcn.0041ff70
mov dword [ebp - 4], 0x19
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x4572f6
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3