Function at 0x53f580
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xd8
call fcn.004c47c0
mov eax, dword [0x66e5c0]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xec]
push ebx
mov ebx, dword [esp + 0xe4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xf8]
push ebp
mov ebp, dword [esp + 0xf0]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x100]
push esi
mov esi, dword [esp + 0xf0]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x108]
shr esi, 3
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x40], 2
cmp esi, 0x14
je 0x53f642
cmp esi, 0x1c
je 0x53f642
cmp esi, 0x20
je 0x53f642
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.004c3ed9
add esp, 0xd8
ret
test ebp, ebp
jne 0x53f671
cmp esi, 0x14
jne 0x53f656
call fcn.005228b0
mov dword [esp + 0x14], eax
jmp 0x53f67c
cmp esi, 0x1c
jne 0x53f666
call fcn.005228c0
mov dword [esp + 0x14], eax
jmp 0x53f67c
call fcn.005228d0
mov dword [esp + 0x14], eax
jmp 0x53f67c
push ebp
call fcn.004fe520
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0x24]
push edi
mov edi, 0x200
cmp ebx, edi
cmovae edi, ebx
add edi, 0x3f
and edi, 0xffffffc0
test ecx, ecx
je 0x53f6d1
mov eax, dword [esp + 0x100]
cmp eax, esi
jae 0x53f6bc
push 0x55
push 0x623e24
push 0x6e
push 0x7d
push 0xa
call fcn.004fd720
add esp, 0x14
xor eax, eax
jmp 0x53fd74
cmova eax, esi
push eax
push ecx
lea eax, [esp + 0xcc]
push eax
call fcn.004ce090
add esp, 0xc
call fcn.00529640
mov dword [esp + 0x34], eax
test eax, eax
je 0x53fd54
call fcn.0050cbd0
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x53fd54
push ebx
call fcn.0050ccc0
push ebx
call fcn.0050ca80
push ebx
mov ebp, eax
call fcn.0050ca80
push ebx
mov dword [esp + 0x40], eax
call fcn.0050ca80
push ebx
mov dword [esp + 0x50], eax
call fcn.0050ca80
push ebx
mov dword [esp + 0x3c], eax
call fcn.0050ca80
push ebx
mov dword [esp + 0x48], eax
call fcn.0050ca80
push ebx
mov dword [esp + 0x70], eax
call fcn.0050ca80
push ebx
mov dword [esp + 0x38], eax
call fcn.0050ca80
mov ebx, eax
add esp, 0x24
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x53fd54
lea eax, [edi - 1]
push eax
mov dword [esp + 0x50], eax
call fcn.00506f30
push eax
push ebx
call fcn.0051f310
add esp, 0xc
test eax, eax
je 0x53fd54
mov edi, dword [esp + 0x3c]
nop dword [eax]
push dword [esp + 0x38]
xor ebx, ebx
cmp dword [esp + 0x2c], ebx
push 0
push dword [esp + 0x24]
sete bl
call fcn.0052a020
inc dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x53fd54
cmp dword [esp + 0x28], 0
jne 0x53f7c9
lea eax, [esp + 0xc4]
push esi
push eax
call fcn.0050bc60
add esp, 8
test eax, eax
jle 0x53fd54
jmp 0x53f7d1
mov dword [esp + 0x28], 0
push esi
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.004ce090
push esi
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.004ce090
lea eax, [esi - 1]
add esp, 0x18
test eax, eax
js 0x53f81f
nop word [eax + eax]
add byte [esp + eax + 0xa4], 1
jne 0x53f81f
sub eax, 1
jns 0x53f810
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x6c]
push 0
push eax
lea eax, [esp + 0xd4]
push esi
push eax
call fcn.00517a30
add esp, 0x18
test eax, eax
je 0x53fd54
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x8c]
push 0
push eax
lea eax, [esp + 0xb4]
push esi
push eax
call fcn.00517a30
add esp, 0x18
test eax, eax
je 0x53fd54
xor ecx, ecx
test esi, esi
jle 0x53f954
cmp esi, 8
jb 0x53f944
cmp esi, 0x40
jb 0x53f90f
mov eax, esi
and eax, 0x8000003f
jns 0x53f898
dec eax
or eax, 0xffffffc0
inc eax
mov edx, esi
sub edx, eax
nop dword [eax]
movups xmm0, xmmword [esp + ecx + 0x64]
movups xmm1, xmmword [esp + ecx + 0x84]
xorps xmm1, xmm0
movups xmmword [esp + ecx + 0x64], xmm1
movups xmm0, xmmword [esp + ecx + 0x74]
movups xmm1, xmmword [esp + ecx + 0x94]
xorps xmm1, xmm0
movups xmmword [esp + ecx + 0x74], xmm1
movups xmm0, xmmword [esp + ecx + 0x84]
movups xmm1, xmmword [esp + ecx + 0xa4]
xorps xmm1, xmm0
movups xmmword [esp + ecx + 0x84], xmm1
movups xmm0, xmmword [esp + ecx + 0x94]
movups xmm1, xmmword [esp + ecx + 0xb4]
xorps xmm1, xmm0
movups xmmword [esp + ecx + 0x94], xmm1
add ecx, 0x40
cmp ecx, edx
jl 0x53f8a0
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x53f940
mov eax, esi
and eax, 0x80000007
jns 0x53f91d
dec eax
or eax, 0xfffffff8
inc eax
mov edx, esi
sub edx, eax
movq xmm0, qword [esp + ecx + 0x64]
movq xmm1, qword [esp + ecx + 0x84]
xorps xmm1, xmm0
movq qword [esp + ecx + 0x64], xmm1
add ecx, 8
cmp ecx, edx
jl 0x53f921
cmp ecx, esi
jge 0x53f954
mov al, byte [esp + ecx + 0x84]
xor byte [esp + ecx + 0x64], al
inc ecx
cmp ecx, esi
jl 0x53f944
push dword [esp + 0x24]
or byte [esp + 0x68], 0x80
lea eax, [esp + 0x68]
or byte [esp + esi + 0x67], 1
push esi
push eax
call fcn.005064f0
add esp, 0xc
test eax, eax
je 0x53fd54
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x28]
push 0x40
push dword [esp + 0x34]
call fcn.0052a5f0
add esp, 0x14
test eax, eax
jg 0x53f99e
je 0x53f780
jmp 0x53fd54
mov ebx, dword [esp + 0x1c]
push 0
push 2
push ebx
call fcn.0052a020
add esp, 0xc
test eax, eax
je 0x53fd54
push 0
push 3
push ebx
call fcn.0052a020
add esp, 0xc
test eax, eax
je 0x53fd54
mov eax, 0xcccccccd
xor ecx, ecx
mul dword [esp + 0x4c]
mov dword [esp + 0x40], ecx
mov ebx, edx
shr ebx, 7
test ecx, ecx
je 0x53f9fb
push ecx
push 0
push dword [esp + 0x24]
call fcn.0052a020
add esp, 0xc
test eax, eax
je 0x53fd54
push 0
push edi
call fcn.00506e80
add esp, 8
xor edi, edi
test ebx, ebx
js 0x53faa9
lea eax, [esi - 1]
test eax, eax
js 0x53fa2f
nop word [eax + eax]
add byte [esp + eax + 0xa4], 1
jne 0x53fa2f
sub eax, 1
jns 0x53fa20
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x6c]
push 0
push eax
lea eax, [esp + 0xb4]
push esi
push eax
call fcn.00517a30
add esp, 0x18
test eax, eax
je 0x53fd54
push ebp
lea eax, [esp + 0x68]
push esi
push eax
call fcn.005064f0
add esp, 0xc
test eax, eax
je 0x53fd54
lea eax, [esi*8]
imul eax, edi
push eax
push ebp
push ebp
call fcn.0051f310
add esp, 0xc
test eax, eax
je 0x53fd54
mov eax, dword [esp + 0x3c]
push ebp
push eax
push eax
call fcn.0050cdb0
add esp, 0xc
test eax, eax
je 0x53fd54
inc edi
cmp edi, ebx
jle 0x53fa10
push dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
push edi
call fcn.00506b40
add esp, 8
test eax, eax
je 0x53fd54
push edi
push dword [esp + 0x30]
call fcn.005068e0
add esp, 8
test eax, eax
je 0x53fd54
push dword [esp + 0x10]
mov eax, dword [esp + 0x30]
push eax
push eax
call fcn.0050cdb0
add esp, 0xc
test eax, eax
je 0x53fd54
push dword [esp + 0x24]
push ebp
call fcn.0051f480
add esp, 8
test eax, eax
je 0x53fd54
push dword [esp + 0x20]
push ebp
push dword [esp + 0x34]
push dword [esp + 0x5c]
push 0
call fcn.0052abf0
add esp, 0x14
test eax, eax
je 0x53fd54
call fcn.00506f30
push eax
push dword [esp + 0x54]
push ebp
call fcn.0050ce40
add esp, 0xc
test eax, eax
je 0x53fd54
push ebp
push dword [esp + 0x30]
push dword [esp + 0x1c]
call fcn.0050ce40
add esp, 0xc
test eax, eax
je 0x53fd54
push dword [esp + 0x10]
push dword [esp + 0x18]
call fcn.00506710
add esp, 8
test eax, eax
js 0x53fb8f
push dword [esp + 0x1c]
push 1
push dword [esp + 0x28]
push 0x40
push dword [esp + 0x24]
call fcn.0052a5f0
add esp, 0x14
test eax, eax
jg 0x53fba9
jne 0x53fd54
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x40], ecx
cmp ecx, 0x1000
jl 0x53f9e0
jmp 0x53f780
mov ebx, dword [esp + 0x1c]
push 1
push 2
push ebx
call fcn.0052a020
add esp, 0xc
test eax, eax
je 0x53fd54
call fcn.00506f30
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.0050ce40
add esp, 0xc
test eax, eax
je 0x53fd54
mov edi, dword [esp + 0x20]
push edi
push dword [esp + 0x28]
push dword [esp + 0x18]
push 0
push ebp
call fcn.0052abf0
add esp, 0x14
test eax, eax
je 0x53fd54
push 2
push dword [esp + 0x14]
call fcn.00506e80
add esp, 8
test eax, eax
je 0x53fd54
push edi
push dword [esp + 0x18]
push dword [esp + 0x3c]
call fcn.005296c0
add esp, 0xc
test eax, eax
je 0x53fd54
push dword [esp + 0x34]
push edi
push dword [esp + 0x1c]
push ebp
push dword [esp + 0x20]
push dword [esp + 0x44]
call fcn.005340a0
add esp, 0x18
test eax, eax
je 0x53fd54
push dword [esp + 0x30]
call fcn.00506ae0
add esp, 4
test eax, eax
je 0x53fca4
call fcn.00506f30
push eax
mov eax, dword [esp + 0x14]
push eax
push eax
call fcn.0050cdb0
add esp, 0xc
test eax, eax
je 0x53fd54
push dword [esp + 0x34]
inc dword [esp + 0x48]
push edi
push dword [esp + 0x1c]
push ebp
push dword [esp + 0x20]
push dword [esp + 0x44]
call fcn.005340a0
add esp, 0x18
test eax, eax
jne 0x53fc51
jmp 0x53fd54
push 1
push 3
push ebx
call fcn.0052a020
add esp, 0xc
test eax, eax
je 0x53fd54
mov dword [esp + 0x48], 1
mov ebx, dword [esp + 0x54]
push dword [ebx + 8]
call fcn.005069f0
push dword [ebx + 0xc]
call fcn.005069f0
push dword [ebx + 0x10]
call fcn.005069f0
push dword [esp + 0x20]
call fcn.00506940
push dword [esp + 0x34]
mov dword [ebx + 8], eax
call fcn.00506940
push dword [esp + 0x44]
mov dword [ebx + 0xc], eax
call fcn.00506940
add esp, 0x18
mov dword [ebx + 0x10], eax
cmp dword [ebx + 8], 0
je 0x53fd4c
cmp dword [ebx + 0xc], 0
je 0x53fd4c
test eax, eax
je 0x53fd4c
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x53fd22
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x53fd30
mov eax, dword [esp + 0x44]
mov dword [ecx], eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x53fd54
push esi
lea ecx, [esp + 0xc8]
push ecx
push eax
call fcn.004ce090
add esp, 0xc
jmp 0x53fd54
mov dword [esp + 0x48], 0
mov esi, dword [esp + 0x20]
push esi
call fcn.0050c980
push esi
call fcn.0050c9f0
push dword [esp + 0x3c]
call fcn.005295f0
mov eax, dword [esp + 0x54]
add esp, 0xc
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c3ed9
add esp, 0xd8
ret