Function at 0x526b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x743304
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
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 0x526f72
push edi
mov edx, dword [ebp + 8]
mov ecx, edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xf
lea edi, [ecx + 1]
mov byte [ebp - 0x3c], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x526ba4
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.00483e90
cmp dword [ebp - 0x28], 0x10
lea edi, [ebp - 0x3c]
mov byte [ebp - 4], 1
mov edx, 0x811c9dc5
cmovae edi, dword [ebp - 0x3c]
xor ecx, ecx
cmp dword [ebp - 0x2c], ecx
jbe 0x526be4
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x2c]
jb 0x526bd2
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push edx
push eax
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00487090
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
test eax, eax
jne 0x526c07
mov eax, dword [edi + 4]
mov dword [ebp + 8], eax
push 0x58
call fcn.00512870
mov edi, eax
mov dword [ebp - 0x10], eax
add esp, 4
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x526c87
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 eax, dword [ebp + 0xc]
lea ecx, [edi + 0x40]
push eax
mov byte [ebp - 4], 3
mov dword [edi], 0x79079c
mov dword [edi + 0x3c], eax
call fcn.00480e80
jmp 0x526c8c
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], edi
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
call fcn.00527810
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
cmp eax, dword [ecx + 4]
je 0x526e07
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x526d31
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 0x526d02
mov eax, dword [ecx + 0x3c]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00527d30
add esp, 8
mov byte [ebp - 4], 5
jmp 0x526d17
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
push ecx
push 0x7f
push eax
mov eax, dword [ebp + 0x10]
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.00481f10
mov eax, dword [edi]
lea edx, [ebp - 0x54]
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], 7
call edi
mov edx, dword [ebp - 0x40]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x526d89
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x526d7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526f78
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 0x526dc5
mov esi, eax
nop word [eax + 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 0x526db0
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 0x526df8
mov esi, 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 0x526de3
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 - 0x28], 0x10
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], ecx
cmp eax, 0x10
jae 0x526e48
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
movups xmmword [ebp - 0x58], xmm0
jmp 0x526eba
or eax, 0xf
mov ecx, bind
cmp eax, ecx
cmova eax, ecx
mov dword [ebp + 0x14], eax
inc eax
cmp eax, 0x1000
jb 0x526e87
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x526f7d
push ecx
call fcn.00512870
add esp, 4
test eax, eax
je 0x526f82
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x526e9a
test eax, eax
je 0x526e98
push eax
call fcn.00512870
add esp, 4
mov ecx, eax
jmp 0x526e9a
xor ecx, ecx
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x58], ecx
push eax
push dword [ebp + 0x10]
push ecx
call fcn.00700d60
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov dword [ebp + 0xc], 0
mov dword [ebp - 0x40], edi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 8
push eax
call fcn.005280c0
mov ecx, dword [ebp - 0x40]
pop edi
test ecx, ecx
je 0x526ee6
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x526f16
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x526f0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526f82
push edx
push ecx
call fcn.00512900
add esp, 8
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x526f46
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x526f3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526f82
push edx
push ecx
call fcn.00512900
add esp, 8
push esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 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