Function at 0x476d40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79ce22
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 esi, ecx
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xac], esi
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
je 0x476ddb
movups xmm0, xmmword [ebp - 0x50]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x50], ax
movq xmm0, qword [ebp - 0x40]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
jmp 0x4770ed
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
mov edx, dword [ebp - 0xac]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476e10
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.004044f0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov ecx, 0x10
mov dword [ebp - 0x34], 0x9c0099
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x30], 0x9a009c
mov dword [ebp - 0x2c], 0x9c00e9
mov dword [ebp - 0x28], 0x860096
mov dword [ebp - 0x24], 0xf60087
mov dword [ebp - 0x20], 0x8600f1
mov dword [ebp - 0x1c], 0xf20081
mov dword [ebp - 0x18], 0x8c0086
mov dword [ebp - 0x14], 0xb9
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x34], cx
inc eax
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jb 0x476e83
xor eax, eax
mov word [ebp + ecx*2 - 0x34], ax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xb4], eax
lea edx, [ecx + 2]
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476ec0
sub ecx, edx
lea eax, [ebp - 0x34]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc4]
call fcn.004044f0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0xc4]
push dword [ebp - 0x58]
cmovae eax, dword [ebp - 0x68]
push eax
push 0
call fcn.00413a90
mov dword [ebp - 0x88], 0
xor ecx, ecx
mov dword [ebp - 0x84], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 4
call fcn.00404490
lea ecx, [ebp - 0x2c]
call fcn.00477120
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00405710
add esp, 8
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x2c]
call fcn.00478d60
push ecx
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
call fcn.00476b60
add esp, 4
lea ecx, [ebp - 0xd0]
call fcn.0040f050
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004057b0
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.00407a10
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0xb
call fcn.00407a10
push 0x7d93cc
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00421b40
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
push dword [ebp - 0x70]
cmovae ecx, dword [ebp - 0x80]
push ecx
mov ecx, eax
call fcn.00407c50
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xbc], xmm0
movups xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x50]
movq qword [ebp - 0xcc], xmm0
movq qword [ebp - 0xd8], xmm0
call fcn.00404490
movups xmm0, xmmword [ebp - 0xbc]
xor eax, eax
mov dword [ebp - 0xd8], 0
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd4], 7
movups xmmword [ebp - 0x50], xmm0
mov word [ebp - 0xe8], ax
movq xmm0, qword [ebp - 0xcc]
movq qword [ebp - 0x40], xmm0
call fcn.00404490
lea ecx, [ebp - 0x100]
call fcn.00404490
movups xmm0, xmmword [ebp - 0xbc]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x80]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [ebp - 0x40], 0
movq xmm0, qword [ebp - 0xcc]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00407a10
lea ecx, [ebp - 0x98]
call fcn.00404490
lea ecx, [ebp - 0x68]
call fcn.00404490
lea ecx, [ebp - 0x50]
call fcn.00404490
mov eax, 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