Function at 0x639170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b6530
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
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 edi, ecx
mov dword [ebp - 0xe8], edi
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
xor ecx, ecx
mov dword [ebp - 0xe4], 0x2f
mov dword [ebp - 0xe0], 0xe500fa
mov dword [ebp - 0xdc], 0xf800ed
mov dword [ebp - 0xd8], 0xef00fa
mov dword [ebp - 0xd4], 0xf500fd
mov dword [ebp - 0xd0], 0xff00ed
mov dword [ebp - 0xcc], 0xd700da
mov dword [ebp - 0xc8], 0xd900c7
mov dword [ebp - 0xc4], 0xd700c4
mov dword [ebp - 0xc0], 0xce00df
mov dword [ebp - 0xbc], 0xeb00e7
mov dword [ebp - 0xb8], 0xd000d4
mov dword [ebp - 0xb4], 0xaf00db
mov dword [ebp - 0xb0], 0xb100b6
mov dword [ebp - 0xac], 0x9700e3
mov dword [ebp - 0xa8], 0xb400a6
mov dword [ebp - 0xa4], 0xb800ae
mov dword [ebp - 0xa0], 0xea00bd
mov dword [ebp - 0x9c], 0xa30083
mov dword [ebp - 0x98], 0xba00be
mov dword [ebp - 0x94], 0x830093
mov dword [ebp - 0x90], 0xa600b4
mov dword [ebp - 0x8c], 0xbd00a7
mov dword [ebp - 0x88], 0xb100bb
mov dword [ebp - 0x84], 0xd800a4
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xe0], ax
inc ecx
mov eax, dword [ebp - 0xe4]
cmp ecx, eax
jb 0x6392e0
xor ecx, ecx
mov word [ebp + eax*2 - 0xe0], cx
xor eax, eax
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x48], 7
lea edx, [ecx + 2]
mov word [ebp - 0x5c], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x639320
sub ecx, edx
lea eax, [ebp - 0xe0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004044f0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x40]
call fcn.0057f040
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x41], al
mov byte [ebp - 4], 0
call fcn.00404490
cmp byte [ebp - 0x41], 0
je 0x639440
push 1
xor eax, eax
mov dword [ebp - 0x64], 0
push 0x7da668
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.004044f0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x54], 0xc400ec
mov dword [ebp - 0x50], 0xce00ca
mov dword [ebp - 0x4c], 0xcb00c1
mov dword [ebp - 0x48], 0xb000cb
nop dword [eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x54], cx
inc eax
mov ecx, dword [ebp - 0x58]
cmp eax, ecx
jb 0x6393c0
xor eax, eax
mov word [ebp + ecx*2 - 0x54], ax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0xf0], eax
lea edx, [ecx + 2]
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6393f7
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x100]
call fcn.004044f0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x40]
call fcn.0057f630
lea ecx, [ebp - 0x100]
call fcn.00404490
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0
call fcn.00404490
push 6
xor eax, eax
mov dword [ebp - 0x64], 0
push str.clntmp
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.004044f0
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.0041d4e0
push 0x7dc1f0
push eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 4
push eax
call fcn.00408060
mov edi, dword [edi]
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x6394bd
mov ecx, edi
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x100]
call fcn.00404490
lea ecx, [ebp - 0x5c]
call fcn.00404490
lea ecx, [ebp - 0x74]
call fcn.00404490
mov eax, dword [ebp - 0xe8]
xor ecx, ecx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], cx
mov esi, dword [eax + 4]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
push dword [eax]
call fcn.00403b80
lea edx, [esi + 0x2a4]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.004181d0
lea ecx, [ebp - 0x68]
call fcn.00404220
lea ecx, [ebp - 0x80]
call fcn.00404490
mov eax, dword [ebp - 0x40]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x639545
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 0x639562
push eax
call 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