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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79905c
mov eax, dword fs:[0]
push eax
sub esp, 0x258
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
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 0x7cf388
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], 0xc500fa
mov dword [ebp - 0x194], 0xd800cd
mov dword [ebp - 0x190], 0xcf00da
mov dword [ebp - 0x18c], 0xd500dd
mov dword [ebp - 0x188], 0xff00ed
mov dword [ebp - 0x184], 0xd700da
mov dword [ebp - 0x180], 0xd900c7
mov dword [ebp - 0x17c], 0xd700c4
mov dword [ebp - 0x178], 0xce00df
mov dword [ebp - 0x174], 0xeb00e7
mov dword [ebp - 0x170], 0xd000d4
mov dword [ebp - 0x16c], 0xaf00db
mov dword [ebp - 0x168], 0xb100b6
mov dword [ebp - 0x164], 0x87009f
mov dword [ebp - 0x160], 0xb400b0
mov dword [ebp - 0x15c], 0xad00b5
mov dword [ebp - 0x158], 0xbe00a7
mov dword [ebp - 0x154], 0xa9009d
mov dword [ebp - 0x150], 0xbd00bf
mov dword [ebp - 0x14c], 0xbf00a6
mov dword [ebp - 0x148], 0x8e00bf
mov dword [ebp - 0x144], 0xa10081
mov dword [ebp - 0x140], 0xd600bb
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x198], ax
inc ecx
mov eax, dword [ebp - 0x19c]
cmp ecx, eax
jb 0x457680
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 0x4576c3
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.00458020
xor ecx, ecx
mov dword [ebp - 0x138], eax
mov edx, dword [eax]
lea edi, [eax + 4]
test edx, edx
je 0x45771c
mov esi, eax
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x457705
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 0x457740
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.0045cef0
push fcn.004442c0
push 2
push 0x1c
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 6
push eax
call fcn.0076e7c5
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 0x45798c
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 0x457874
push 7
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x7d9714
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 0x45787b
mov byte [ebp - 0x12d], 1
mov eax, dword [ebp - 0x134]
test al, 2
je 0x45789c
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 0x457977
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 0x45794d
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 0x45795d
lea ecx, [ebp - 0x1b8]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0045cd60
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 0x4577e0
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 0x457f7f
lea edi, [eax + 4]
mov dword [ebp - 0x138], edi
push 0xf003f
push 0x100
push eax
lea ecx, [ebp - 0xc4]
call fcn.0057f2d0
test al, al
je 0x457f3e
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xc4]
call fcn.005805c0
mov esi, dword [ebp - 0x94]
cmp esi, dword [ebp - 0x90]
je 0x457f2f
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.0057f450
lea ecx, [ebp - 0x1ec]
call fcn.00404490
lea ecx, [ebp - 0x1b4]
call fcn.00404490
cmp dword [ebp - 0x2c], 0
je 0x457f18
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], 0xd200ec
mov dword [ebp - 0x174], 0xc000db
mov dword [ebp - 0x170], 0xdc00c2
mov dword [ebp - 0x16c], 0xc200ca
mov dword [ebp - 0x168], 0xe100ed
mov dword [ebp - 0x164], 0xd500c7
mov dword [ebp - 0x160], 0xc200c7
mov dword [ebp - 0x15c], 0xc800c2
mov dword [ebp - 0x158], 0xca00f8
mov dword [ebp - 0x154], 0xce00cb
mov dword [ebp - 0x150], 0xc800d2
mov dword [ebp - 0x14c], 0xa400da
mov dword [ebp - 0x148], 0x90009d
mov dword [ebp - 0x144], 0xaa00b6
mov dword [ebp - 0x140], 0xc5
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x178], cx
inc eax
mov ecx, dword [ebp - 0x17c]
cmp eax, ecx
jb 0x457bc0
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 0x457c03
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 0x7d9724
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.0057f2d0
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 0x12d], al
mov byte [ebp - 4], 0x13
call fcn.00404490
cmp byte [ebp - 0x12d], 0
je 0x457dbe
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 0x457d86
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 0x457d86
cmp dword [ebp - 0x78], 3
jne 0x457d86
push dword [ebp - 0x20]
call fcn.007906ca
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 0x457d86
cmp dword [ebp - 0x7c], 3
mov byte [ebp - 0x12d], 1
je 0x457d8d
mov byte [ebp - 0x12d], 0
lea ecx, [ebp - 0x1d4]
call fcn.00404490
cmp byte [ebp - 0x12d], 0
je 0x457db8
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 0x457e3a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x457e2b
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 0x457e85
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x457e76
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 0x458011
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 0x457ee9
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 0x457f11
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 0x457a42
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 0x457a00
mov eax, dword [ebp - 0xc4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x457f7f
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 0x457fb2
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.0045c1a0
lea ecx, [ebp - 0x24]
call fcn.0041ff70
mov dword [ebp - 4], 0x19
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x457ff6
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.0076eb7e
mov esp, ebp
pop ebp
ret
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3