Function at 0x526720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74329d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, ecx
push esi
mov dword [ebp - 0x14], eax
lea esi, [eax + 0x20]
push esi
mov dword [ebp - 0x18], esi
call fcn.006eb0ee
add esp, 4
test eax, eax
jne 0x526b2f
push edi
mov edx, dword [ebp + 8]
mov ecx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xf
lea edi, [ecx + 1]
mov byte [ebp - 0x38], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x526774
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.00483e90
cmp dword [ebp - 0x24], 0x10
lea edi, [ebp - 0x38]
mov byte [ebp - 4], 1
mov edx, 0x811c9dc5
cmovae edi, dword [ebp - 0x38]
xor ecx, ecx
cmp dword [ebp - 0x28], ecx
jbe 0x5267b4
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x28]
jb 0x5267a2
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x38]
push edx
push eax
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00487090
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
test eax, eax
jne 0x5267d7
mov eax, dword [edi + 4]
mov dword [ebp + 8], eax
push 0x48
call fcn.00512870
mov edi, eax
mov dword [ebp - 0x10], eax
add esp, 4
test edi, edi
je 0x526852
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x38], eax
mov dword [edi], 0x790748
mov dword [edi + 0x3c], ecx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x526857
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp + 0xc], edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
cmp eax, dword [ecx + 4]
je 0x5269c4
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x5268ed
mov eax, dword [ebp + 8]
push 0
push 0x8f77b0
push 0x8f7790
push 0
push dword [eax + 0x20]
call fcn.00701cbd
mov ecx, eax
add esp, 0x14
mov eax, dword [edi]
add eax, 8
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x5268be
mov eax, dword [ecx + 0x3c]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00527d30
add esp, 8
mov byte [ebp - 4], 3
jmp 0x5268d3
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
push ecx
push 0x7f
push eax
mov eax, dword [ebp + 0x10]
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00481f10
mov eax, dword [edi]
lea edx, [ebp - 0x50]
push edx
mov edi, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [ebp - 0x10]
push eax
mov byte [ebp - 4], 5
call edi
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x526945
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52693b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526b35
push edx
push ecx
call fcn.00512900
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edi, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], eax
cmp eax, ecx
je 0x52697b
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
push 0x7f
push esi
call dword [eax + 0x10]
add esi, 0x18
cmp esi, dword [ebp + 0x14]
jne 0x526966
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], eax
cmp eax, ecx
je 0x5269b5
mov esi, eax
nop dword [eax]
mov eax, dword [edi]
mov ecx, edi
push 0x7f
push esi
call dword [eax + 0x14]
add esi, 0x18
cmp esi, dword [ebp + 0x14]
jne 0x5269a0
mov esi, dword [ebp - 0x18]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
call fcn.00526120
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x38]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], ecx
cmp eax, 0x10
jae 0x526a05
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0xf
movups xmmword [ebp - 0x54], xmm0
jmp 0x526a77
or eax, 0xf
mov ecx, bind
cmp eax, ecx
cmova eax, ecx
mov dword [ebp + 0x14], eax
inc eax
cmp eax, 0x1000
jb 0x526a44
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x526b3a
push ecx
call fcn.00512870
add esp, 4
test eax, eax
je 0x526b3f
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x526a57
test eax, eax
je 0x526a55
push eax
call fcn.00512870
add esp, 4
mov ecx, eax
jmp 0x526a57
xor ecx, ecx
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x54], ecx
push eax
push dword [ebp + 0x10]
push ecx
call fcn.00700d60
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp + 0xc], 0
mov dword [ebp - 0x3c], edi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 6
push eax
call fcn.005280c0
mov ecx, dword [ebp - 0x3c]
pop edi
test ecx, ecx
je 0x526aa3
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x526ad3
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x526ac9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526b3f
push edx
push ecx
call fcn.00512900
add esp, 8
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x526b03
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x526af9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526b3f
push edx
push ecx
call fcn.00512900
add esp, 8
push esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.006eb149
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.006eb4aa
call fcn.0070b6e4
call fcn.00483bc0
call fcn.0070b6e4
int3