Function at 0x4639f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7995f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
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 - 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 0x463e06
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.00464590
mov edi, eax
xor ecx, ecx
mov eax, dword [edi]
lea edx, [edi + 4]
test eax, eax
je 0x463aa5
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov eax, dword [edi]
cmp ecx, eax
jb 0x463a94
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 0x463ad0
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.0057e080
lea ecx, [ebp - 0xac]
mov byte [ebp - 0xd1], al
mov byte [ebp - 4], 0
call fcn.00404490
cmp byte [ebp - 0xd1], 0
je 0x463dd8
mov eax, 6
mov dword [ebp - 0x84], 0xcb00e8
mov dword [ebp - 0x88], eax
xor ecx, ecx
mov dword [ebp - 0x80], 0xdc00d5
mov dword [ebp - 0x7c], 0xd900d5
mov dword [ebp - 0x78], 0xbe
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x84], ax
inc ecx
mov eax, dword [ebp - 0x88]
cmp ecx, eax
jb 0x463b60
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 0x463ba5
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.0057e2d0
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 0x463dcd
nop
mov esi, dword [eax + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0xb4], xmm0
test esi, esi
je 0x463c99
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 0x463f53
mov byte [ebp - 4], 0xd
test esi, esi
je 0x463dac
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x463dac
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x463dac
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 0x463c80
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xac]
call fcn.00404490
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x463de9
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 0x463e06
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], 0xcd00d0
mov dword [ebp - 0x3c], 0xcb00ce
mov dword [ebp - 0x38], 0xce00e0
mov dword [ebp - 0x34], 0xda00d6
mov dword [ebp - 0x30], 0xad00ac
mov dword [ebp - 0x2c], 0xac009e
mov dword [ebp - 0x28], 0xa000b4
mov dword [ebp - 0x24], 0x9b00a8
mov dword [ebp - 0x20], 0xa600ab
mov dword [ebp - 0x1c], 0xa600a7
mov dword [ebp - 0x18], 0xa300ad
mov dword [ebp - 0x14], 0xcf00aa
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x463e90
xor ecx, ecx
mov dword [ebp - 0xf0], SysStringLen
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 0x463ed3
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 0x463fac
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 0x463fbc
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 0x463f86
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 0x464505
push eax
call esi
jmp 0x464505
lea eax, [ebp - 0xf0]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.0045c050
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xe
call fcn.00404490
mov eax, 0x28
mov dword [ebp - 0x64], 0xf600eb
mov dword [ebp - 0x68], eax
xor ecx, ecx
mov dword [ebp - 0x60], 0xef00fc
mov dword [ebp - 0x5c], 0xfc00eb
mov dword [ebp - 0x58], 0xfa00ec
mov dword [ebp - 0x54], 0x82009c
mov dword [ebp - 0x50], 0xa200ae
mov dword [ebp - 0x4c], 0xb600b7
mov dword [ebp - 0x48], 0xb400a3
mov dword [ebp - 0x44], 0xa10094
mov dword [ebp - 0x40], 0xbf00be
mov dword [ebp - 0x3c], 0x9100bc
mov dword [ebp - 0x38], 0xa700bd
mov dword [ebp - 0x34], 0xbd00b5
mov dword [ebp - 0x30], 0x8f00be
mov dword [ebp - 0x2c], 0xa500bb
mov dword [ebp - 0x28], 0xb900b3
mov dword [ebp - 0x24], 0xba0084
mov dword [ebp - 0x20], 0xb600b5
mov dword [ebp - 0x1c], 0xbc00b1
mov dword [ebp - 0x18], 0xbb00b0
mov dword [ebp - 0x14], 0xe0
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x64], ax
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x464070
xor ecx, ecx
mov dword [ebp - 0xf0], SysStringLen
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 0x4640b3
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 0x46412f
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 0x46413f
lea eax, [ebp - 0xf0]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.0045c050
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xe
call fcn.00404490
mov eax, 0x28
mov dword [ebp - 0x64], 0xf600eb
mov dword [ebp - 0x68], eax
xor ecx, ecx
mov dword [ebp - 0x60], 0xef00fc
mov dword [ebp - 0x5c], 0xfc00eb
mov dword [ebp - 0x58], 0xfa00ec
mov dword [ebp - 0x54], 0x82009c
mov dword [ebp - 0x50], 0xa200ae
mov dword [ebp - 0x4c], 0xb600b7
mov dword [ebp - 0x48], 0xb400a3
mov dword [ebp - 0x44], 0xa10094
mov dword [ebp - 0x40], 0xbf00be
mov dword [ebp - 0x3c], 0x9100bc
mov dword [ebp - 0x38], 0xa700bd
mov dword [ebp - 0x34], 0xbd00b5
mov dword [ebp - 0x30], 0x8f00be
mov dword [ebp - 0x2c], 0xa500bb
mov dword [ebp - 0x28], 0xb900b3
mov dword [ebp - 0x24], 0xba0084
mov dword [ebp - 0x20], 0xb600b5
mov dword [ebp - 0x1c], 0xbc00b1
mov dword [ebp - 0x18], 0xbb00b0
mov dword [ebp - 0x14], 0xe0
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x64], ax
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x4641f0
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 0x464233
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 0x4642af
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 0x4642bf
lea eax, [ebp - 0xf0]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.0045c050
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 0x4644ea
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.0057e150
test al, al
je 0x46448a
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 0x7cd378
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.0057e2d0
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.00463910
mov ecx, dword [ebp - 0x94]
test ecx, ecx
setne al
test al, al
jne 0x464524
mov byte [ebp - 4], 0x1a
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x46447f
mov eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x46447f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x46447f
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 0x4644a1
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 0x4644c5
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 0x4642e2
mov edi, dword [ebp - 0xf8]
mov dword [edi], 0
mov dword [edi + 4], 0
lea ecx, [ebp - 0x74]
call fcn.0045b490
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.0076d59e
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 0x464551
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 0x464575
push eax
call esi
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x3c], 0
call fcn.00404490
jmp 0x4644fd