Function at 0x464700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79ad38
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
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 - 0x100], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
call fcn.00424580
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 1
jl 0x464b16
push 0x30
lea eax, [ebp - 0x40]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 7
add esp, 0xc
mov word [ebp - 0x30], ax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x18], ax
mov byte [ebp - 0x16], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.004652a0
mov edi, eax
xor ecx, ecx
mov eax, dword [edi]
lea edx, [edi + 4]
test eax, eax
je 0x4647b5
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov eax, dword [edi]
cmp ecx, eax
jb 0x4647a4
xor ecx, ecx
mov word [edx + eax*2], cx
xor eax, eax
mov dword [ebp - 0x9c], ecx
mov ecx, edx
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4647e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xac]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 1
push eax
push SysReAllocString
lea ecx, [ebp - 0x40]
call fcn.0057f200
lea ecx, [ebp - 0xac]
mov byte [ebp - 0xd1], al
mov byte [ebp - 4], 0
call fcn.00404490
cmp byte [ebp - 0xd1], 0
je 0x464ae8
mov eax, 6
mov dword [ebp - 0x84], 0xd800f9
mov dword [ebp - 0x88], eax
xor ecx, ecx
mov dword [ebp - 0x80], 0xcb00c4
mov dword [ebp - 0x7c], 0xca00c4
mov dword [ebp - 0x78], 0xaf
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x84], ax
inc ecx
mov eax, dword [ebp - 0x88]
cmp ecx, eax
jb 0x464870
xor ecx, ecx
mov word [ebp + eax*2 - 0x84], cx
xor eax, eax
mov dword [ebp - 0x108], ecx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x104], 7
lea edx, [ecx + 2]
mov word [ebp - 0x118], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4648b5
sub ecx, edx
lea eax, [ebp - 0x84]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x118]
call fcn.004044f0
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x40]
call fcn.0057f450
mov dword [ebp - 0x9c], 0
xor ecx, ecx
mov dword [ebp - 0x98], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xac], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x9c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xec]
call fcn.00404490
lea ecx, [ebp - 0x8c]
call fcn.00404490
lea ecx, [ebp - 0x118]
call fcn.00404490
mov ecx, dword [ebp - 0x100]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x90], ecx
cmp eax, ecx
je 0x464add
nop
mov esi, dword [eax + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0xb4], xmm0
test esi, esi
je 0x4649a9
lock inc dword [esi + 4]
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], esi
lea edi, [eax + 0x144]
mov byte [ebp - 4], 7
push edi
lea ecx, [ebp - 0x190]
call fcn.00404120
lea eax, [edi + 0x18]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x178]
call fcn.00404120
lea eax, [edi + 0x30]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x160]
call fcn.00404120
lea eax, [edi + 0x48]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x148]
call fcn.00404120
lea eax, [edi + 0x60]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x130]
call fcn.00404120
cmp dword [ebp - 0x98], 8
lea ecx, [ebp - 0xac]
lea eax, [ebp - 0x160]
cmovae ecx, dword [ebp - 0xac]
cmp dword [ebp - 0x14c], 8
push ecx
cmovae eax, dword [ebp - 0x160]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
lea ecx, [ebp - 0x130]
mov edi, eax
call fcn.00404490
lea ecx, [ebp - 0x148]
call fcn.00404490
lea ecx, [ebp - 0x160]
call fcn.00404490
lea ecx, [ebp - 0x178]
call fcn.00404490
lea ecx, [ebp - 0x190]
call fcn.00404490
test edi, edi
je 0x464c63
mov byte [ebp - 4], 0xd
test esi, esi
je 0x464abc
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x464abc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x464abc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0xfc]
add eax, 8
mov dword [ebp - 0xfc], eax
cmp eax, dword [ebp - 0x90]
jne 0x464990
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xac]
call fcn.00404490
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x464af9
push eax
call esi
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x18], 0
call fcn.00404490
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x464b16
push eax
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
movq qword [ebp - 0x74], xmm0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0xe
xor ecx, ecx
mov dword [ebp - 0x44], 0x17
mov dword [ebp - 0x40], 0xde00c1
mov dword [ebp - 0x3c], 0xdc00df
mov dword [ebp - 0x38], 0xdd00f1
mov dword [ebp - 0x34], 0xd500c7
mov dword [ebp - 0x30], 0xde00dd
mov dword [ebp - 0x2c], 0xdb00ef
mov dword [ebp - 0x28], 0xd300c5
mov dword [ebp - 0x24], 0xe400d9
mov dword [ebp - 0x20], 0xd500da
mov dword [ebp - 0x1c], 0xd100d6
mov dword [ebp - 0x18], 0xd000dc
mov dword [ebp - 0x14], 0xc000db
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x464ba0
xor ecx, ecx
mov dword [ebp - 0xf0], VariantCopy
mov word [ebp + eax*2 - 0x40], cx
xor eax, eax
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xd8], 7
lea edx, [ecx + 2]
mov word [ebp - 0xec], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464be3
sub ecx, edx
lea eax, [ebp - 0x40]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xec]
call fcn.004044f0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x6c], ecx
je 0x464cbc
movups xmm0, xmmword [ebp - 0xec]
mov eax, dword [ebp - 0xf0]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movups xmmword [ecx + 4], xmm0
mov word [ebp - 0xec], ax
movq xmm0, qword [ebp - 0xdc]
movq qword [ecx + 0x14], xmm0
add dword [ebp - 0x70], 0x1c
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
jmp 0x464ccc
mov edi, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xf4]
mov dword [edi], eax
mov dword [edi + 4], esi
lea ecx, [ebp - 0xac]
call fcn.00404490
mov eax, dword [ebp - 0x40]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x464c96
push eax
call esi
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x18], 0
call fcn.00404490
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x465215
push eax
call esi
jmp 0x465215
lea eax, [ebp - 0xf0]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.0045cd60
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xe
call fcn.00404490
mov eax, 0x28
mov dword [ebp - 0x64], 0xe500fa
mov dword [ebp - 0x68], eax
xor ecx, ecx
mov dword [ebp - 0x60], 0xf800ed
mov dword [ebp - 0x5c], 0xef00fa
mov dword [ebp - 0x58], 0xf500fd
mov dword [ebp - 0x54], 0xf100ed
mov dword [ebp - 0x50], 0xd500df
mov dword [ebp - 0x4c], 0xc500c6
mov dword [ebp - 0x48], 0xcb00d2
mov dword [ebp - 0x44], 0xd200e5
mov dword [ebp - 0x40], 0xc800cf
mov dword [ebp - 0x3c], 0xe200cd
mov dword [ebp - 0x38], 0xa800cc
mov dword [ebp - 0x34], 0xae00a4
mov dword [ebp - 0x30], 0x9800af
mov dword [ebp - 0x2c], 0xb600aa
mov dword [ebp - 0x28], 0xa600a2
mov dword [ebp - 0x24], 0xa90095
mov dword [ebp - 0x20], 0xa100a4
mov dword [ebp - 0x1c], 0xaf00a0
mov dword [ebp - 0x18], 0xb400a1
mov dword [ebp - 0x14], 0xd1
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x64], ax
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x464d80
xor ecx, ecx
mov dword [ebp - 0xf0], VariantCopy
mov word [ebp + eax*2 - 0x64], cx
xor eax, eax
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xd8], 7
lea edx, [ecx + 2]
mov word [ebp - 0xec], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464dc3
sub ecx, edx
lea eax, [ebp - 0x64]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xec]
call fcn.004044f0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x6c], ecx
je 0x464e3f
movups xmm0, xmmword [ebp - 0xec]
mov eax, dword [ebp - 0xf0]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movups xmmword [ecx + 4], xmm0
mov word [ebp - 0xec], ax
movq xmm0, qword [ebp - 0xdc]
movq qword [ecx + 0x14], xmm0
add dword [ebp - 0x70], 0x1c
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
jmp 0x464e4f
lea eax, [ebp - 0xf0]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.0045cd60
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xe
call fcn.00404490
mov eax, 0x28
mov dword [ebp - 0x64], 0xe500fa
mov dword [ebp - 0x68], eax
xor ecx, ecx
mov dword [ebp - 0x60], 0xf800ed
mov dword [ebp - 0x5c], 0xef00fa
mov dword [ebp - 0x58], 0xf500fd
mov dword [ebp - 0x54], 0xf100ed
mov dword [ebp - 0x50], 0xd500df
mov dword [ebp - 0x4c], 0xc500c6
mov dword [ebp - 0x48], 0xcb00d2
mov dword [ebp - 0x44], 0xd200e5
mov dword [ebp - 0x40], 0xc800cf
mov dword [ebp - 0x3c], 0xe200cd
mov dword [ebp - 0x38], 0xa800cc
mov dword [ebp - 0x34], 0xae00a4
mov dword [ebp - 0x30], 0x9800af
mov dword [ebp - 0x2c], 0xb600aa
mov dword [ebp - 0x28], 0xa600a2
mov dword [ebp - 0x24], 0xa90095
mov dword [ebp - 0x20], 0xa100a4
mov dword [ebp - 0x1c], 0xaf00a0
mov dword [ebp - 0x18], 0xb400a1
mov dword [ebp - 0x14], 0xd1
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x64], ax
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x464f00
xor ecx, ecx
mov dword [ebp - 0xf0], reloc.OLEAUT32.dll_SysReAllocString
mov word [ebp + eax*2 - 0x64], cx
xor eax, eax
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xd8], 7
lea edx, [ecx + 2]
mov word [ebp - 0xec], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464f43
sub ecx, edx
lea eax, [ebp - 0x64]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xec]
call fcn.004044f0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x6c], ecx
je 0x464fbf
movups xmm0, xmmword [ebp - 0xec]
mov eax, dword [ebp - 0xf0]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movups xmmword [ecx + 4], xmm0
mov word [ebp - 0xec], ax
movq xmm0, qword [ebp - 0xdc]
movq qword [ecx + 0x14], xmm0
add dword [ebp - 0x70], 0x1c
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
jmp 0x464fcf
lea eax, [ebp - 0xf0]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.0045cd60
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xe
call fcn.00404490
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0xf4], eax
cmp edi, eax
je 0x4651fa
mov eax, dword [edi]
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
lea eax, [edi + 4]
push eax
call fcn.00404120
push 0x30
lea eax, [ebp - 0x40]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x40], 0
add esp, 0xc
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov word [ebp - 0x18], ax
mov byte [ebp - 0x16], al
push 0xf003f
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x40]
call fcn.0057f2d0
test al, al
je 0x46519a
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x118]
push eax
push 0x7cf388
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
call fcn.004044f0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x40]
call fcn.0057f450
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x7c], xmm0
mov word [eax], cx
lea ecx, [ebp - 0xec]
call fcn.00404490
lea ecx, [ebp - 0x118]
call fcn.00404490
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x18
call fcn.00404490
mov ecx, dword [ebp - 0x100]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x94], xmm0
call fcn.00464620
mov ecx, dword [ebp - 0x94]
test ecx, ecx
setne al
test al, al
jne 0x465234
mov byte [ebp - 4], 0x1a
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x46518f
mov eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x46518f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x46518f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x8c]
call fcn.00404490
mov eax, dword [ebp - 0x40]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4651b1
push eax
call esi
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x18], 0
call fcn.00404490
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4651d5
push eax
call esi
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0xe
call fcn.00404490
add edi, 0x1c
cmp edi, dword [ebp - 0xf4]
jne 0x464ff2
mov edi, dword [ebp - 0xf8]
mov dword [edi], 0
mov dword [edi + 4], 0
lea ecx, [ebp - 0x74]
call fcn.0045c1a0
mov eax, edi
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 4
mov edi, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x90]
mov dword [edi], ecx
mov dword [edi + 4], eax
lea ecx, [ebp - 0x8c]
call fcn.00404490
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x465261
push eax
call esi
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x18], 0
call fcn.00404490
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x465285
push eax
call esi
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x3c], 0
call fcn.00404490
jmp 0x46520d