Function at 0x407150
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x84]
sub esp, 0x84
push 0xffffffffffffffff
push 0x460f87
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4790bc]
xor eax, ebp
mov dword [ebp + 0x80], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [esi + 4], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0xf
mov byte [esi + 0x34], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0xf
mov byte [esi + 0x4c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0xf
mov byte [esi + 0x64], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0xf
mov byte [esi + 0x94], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0xf
mov byte [esi + 0xac], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0xf
mov byte [esi + 0xd0], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0xf
mov byte [esi + 0xe8], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x120], 0xf
mov byte [esi + 0x10c], 0
mov dword [esi + 0x124], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x138], 0xf
mov byte [esi + 0x124], 0
mov dword [esi + 0x13c], 0
mov dword [esi + 0x14c], 0
mov dword [esi + 0x150], 0xf
mov byte [esi + 0x13c], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0x164], 0
mov dword [esi + 0x168], 0xf
mov byte [esi + 0x154], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x17c], 0
mov dword [esi + 0x180], 0xf
mov byte [esi + 0x16c], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x194], 0
mov dword [esi + 0x198], 0xf
mov byte [esi + 0x184], 0
mov dword [esi + 0x1a4], 0
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1d0], 0
mov byte [esi + 0x1d4], 0
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1e8], 0
mov dword [esi + 0x1ec], 0xf
mov byte [esi + 0x1d8], 0
mov dword [esi + 0x1f0], 0
mov dword [esi + 0x200], 0
mov dword [esi + 0x204], 0xf
mov byte [esi + 0x1f0], 0
mov dword [esi + 0x208], 0
mov dword [esi + 0x218], 0
mov dword [esi + 0x21c], 0xf
mov byte [esi + 0x208], 0
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x13]
mov word [ebp - 0x14], 0x30
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 0x12], 0
lea ecx, [esi + 0x220]
push eax
mov dword [ebp - 0x18], ecx
call fcn.004065c0
lea edx, [esi + 0x238]
mov byte [ebp - 4], 0xa
mov dword [ebp + 0x78], 0x24246d24
xor ecx, ecx
mov word [ebp + 0x7c], 0x100
mov dword [ebp - 0x18], edx
nop
lea eax, [ecx + 0x14]
xor byte [ebp + ecx + 0x78], al
inc ecx
cmp ecx, 4
jb 0x407510
lea eax, [ebp - 0xd]
mov byte [ebp + 0x7d], 0
push eax
lea eax, [ebp + 0x7c]
mov ecx, edx
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004065c0
movaps xmm0, xmmword [0x463da0]
lea edx, [esi + 0x250]
movups xmmword [ebp], xmm0
xor eax, eax
mov byte [ebp - 4], 0xb
movaps xmm0, xmmword [0x463db0]
movups xmmword [ebp + 0x10], xmm0
mov dword [ebp + 0x70], 0xe6f2e4c0
movaps xmm0, xmmword [0x463d60]
movups xmmword [ebp + 0x20], xmm0
mov word [ebp + 0x74], 0x100
movaps xmm0, xmmword [str.k__:e]
movups xmmword [ebp + 0x30], xmm0
mov dword [ebp - 0x18], edx
movaps xmm0, xmmword [str._428__r_:_6___]
movups xmmword [ebp + 0x40], xmm0
movaps xmm0, xmmword [0x463d80]
movups xmmword [ebp + 0x50], xmm0
movaps xmm0, xmmword [0x463e20]
movups xmmword [ebp + 0x60], xmm0
nop dword [eax]
lea ecx, [eax + 0x14]
xor byte [ebp + eax], cl
inc eax
cmp eax, 0x74
jb 0x4075a0
lea eax, [ebp - 0xd]
mov byte [ebp + 0x75], 0
push eax
lea eax, [ebp + 0x74]
mov ecx, edx
push eax
lea eax, [ebp]
push eax
call fcn.004065c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x80]
xor ecx, ebp
call fcn.0045f2ee
lea esp, [ebp + 0x84]
pop ebp
ret