Function at 0x100052e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100648b6
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
push edi
mov eax, dword [0x10078014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
sub edx, dword [esi + 0x10]
lea eax, [ecx + 1]
cmp eax, edx
jbe 0x10005321
xor bl, bl
jmp 0x10005327
mov eax, dword [esi + 0x10]
mov bl, byte [ecx + eax]
lea edx, [ecx + 1]
mov dword [esi + 8], edx
lea eax, [edx + 4]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
cmp eax, ecx
jbe 0x10005343
mov dword [ebp - 0x10], 0
jmp 0x1000534c
mov eax, dword [esi + 0x10]
mov eax, dword [edx + eax]
mov dword [ebp - 0x10], eax
add edx, 4
mov dword [esi + 8], edx
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
lea eax, [edx + 4]
cmp eax, ecx
jbe 0x10005363
xor edi, edi
jmp 0x10005369
mov eax, dword [esi + 0x10]
mov edi, dword [edx + eax]
lea eax, [edx + 4]
mov dword [esi + 8], eax
mov eax, dword [0x1007a230]
test eax, eax
je 0x10005405
cmp bl, 1
je 0x10005386
cmp bl, 2
jne 0x100053c8
mov ecx, dword [eax + 0x94]
test ecx, ecx
je 0x1000539b
push edi
call fcn.10058a10
mov eax, dword [0x1007a230]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x100053ad
push edi
call fcn.10031810
mov eax, dword [0x1007a230]
mov ecx, dword [0x1007a234]
test ecx, ecx
je 0x100053ce
mov dword [ecx + 0x44], edi
test eax, eax
je 0x100053ce
call fcn.1001bf70
mov eax, dword [0x1007a230]
mov ecx, dword [0x1007a234]
cmp bl, 3
je 0x100053d8
cmp bl, 4
jne 0x10005405
mov edx, dword [eax + 0x94]
test edx, edx
je 0x100053f5
push edi
mov ecx, edx
call fcn.10058b00
mov eax, dword [0x1007a230]
mov ecx, dword [0x1007a234]
test ecx, ecx
je 0x10005405
mov dword [ecx + 0x48], edi
test eax, eax
je 0x10005405
call fcn.1001c000
movzx eax, bl
dec eax
cmp eax, 3
ja case.default.0x10005412
jmp dword [eax*4 + 0x10005638]
movaps xmm0, xmmword [0x1006f8a0]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x66322e21
mov dword [ebp - 0x34], 0x2e352705
mov word [ebp - 0x30], 0x68
nop dword [eax]
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x18
jb 0x10005440
sub esp, 0x18
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0x47]
mov ecx, esp
push eax
call fcn.100029c0
lea eax, [ebp - 0x78]
push eax
call fcn.100061b0
add esp, 0x20
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x1000547a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100029c0
mov edx, 0xff6565ff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10005760
lea ecx, [ebp - 0x2c]
call fcn.10002380
lea ecx, [ebp - 0x78]
jmp 0x10005621
movaps xmm0, xmmword [str.5yZFA]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x5d465476
mov word [ebp - 0x18], 0x1b
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x14
jb 0x100054c1
sub esp, 0x18
mov byte [ebp - 0x17], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.100029c0
lea eax, [ebp - 0x48]
push eax
call fcn.100061b0
add esp, 0x20
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x100054fb
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x78]
call fcn.100029c0
mov byte [ebp - 4], 3
mov edx, 0xffff3b3b
lea ecx, [ebp - 0x78]
call fcn.10005760
lea ecx, [ebp - 0x78]
call fcn.10002380
lea ecx, [ebp - 0x48]
jmp 0x10005621
movaps xmm0, xmmword [0x10070180]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x373a3714
mov dword [ebp - 0x18], 0x78333538
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x10005547
sub esp, 0x18
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.100029c0
lea eax, [ebp - 0x48]
push eax
call fcn.100061b0
add esp, 0x20
mov dword [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x10005581
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x78]
call fcn.100029c0
mov byte [ebp - 4], 5
mov edx, 0xff6565ff
jmp 0x1000550d
movaps xmm0, xmmword [0x1006fd30]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x1a51575a
mov byte [ebp - 0x4c], 0
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x13
jb 0x100055b3
sub esp, 0x18
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x5f]
mov ecx, esp
push eax
call fcn.100029c0
lea eax, [ebp - 0xa8]
push eax
call fcn.100061b0
add esp, 0x20
mov dword [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x100055f0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x90]
call fcn.100029c0
mov edx, 0xffff3b3b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
call fcn.10005760
lea ecx, [ebp - 0x90]
call fcn.10002380
lea ecx, [ebp - 0xa8]
call fcn.10002380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret