Function at 0x53fb40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xd8
call fcn.004c4b70
mov eax, dword [0x671580]
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 0x53fc02
cmp esi, 0x1c
je 0x53fc02
cmp esi, 0x20
je 0x53fc02
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.004c4309
add esp, 0xd8
ret
test ebp, ebp
jne 0x53fc31
cmp esi, 0x14
jne 0x53fc16
call fcn.00521760
mov dword [esp + 0x14], eax
jmp 0x53fc3c
cmp esi, 0x1c
jne 0x53fc26
call fcn.00521770
mov dword [esp + 0x14], eax
jmp 0x53fc3c
call fcn.00521780
mov dword [esp + 0x14], eax
jmp 0x53fc3c
push ebp
call fcn.004fdcf0
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 0x53fc91
mov eax, dword [esp + 0x100]
cmp eax, esi
jae 0x53fc7c
push 0x55
push 0x626924
push 0x6e
push 0x7d
push 0xa
call fcn.004fcef0
add esp, 0x14
xor eax, eax
jmp 0x540334
cmova eax, esi
push eax
push ecx
lea eax, [esp + 0xcc]
push eax
call fcn.004cf210
add esp, 0xc
call fcn.005284f0
mov dword [esp + 0x34], eax
test eax, eax
je 0x540314
call fcn.0050d780
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x540314
push ebx
call fcn.0050d870
push ebx
call fcn.0050d630
push ebx
mov ebp, eax
call fcn.0050d630
push ebx
mov dword [esp + 0x40], eax
call fcn.0050d630
push ebx
mov dword [esp + 0x50], eax
call fcn.0050d630
push ebx
mov dword [esp + 0x3c], eax
call fcn.0050d630
push ebx
mov dword [esp + 0x48], eax
call fcn.0050d630
push ebx
mov dword [esp + 0x70], eax
call fcn.0050d630
push ebx
mov dword [esp + 0x38], eax
call fcn.0050d630
mov ebx, eax
add esp, 0x24
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x540314
lea eax, [edi - 1]
push eax
mov dword [esp + 0x50], eax
call fcn.00506710
push eax
push ebx
call fcn.0051e1c0
add esp, 0xc
test eax, eax
je 0x540314
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.00528ed0
inc dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x540314
cmp dword [esp + 0x28], 0
jne 0x53fd89
lea eax, [esp + 0xc4]
push esi
push eax
call fcn.0050c810
add esp, 8
test eax, eax
jle 0x540314
jmp 0x53fd91
mov dword [esp + 0x28], 0
push esi
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.004cf210
push esi
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.004cf210
lea eax, [esi - 1]
add esp, 0x18
test eax, eax
js 0x53fddf
nop word [eax + eax]
add byte [esp + eax + 0xa4], 1
jne 0x53fddf
sub eax, 1
jns 0x53fdd0
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x6c]
push 0
push eax
lea eax, [esp + 0xd4]
push esi
push eax
call fcn.0050ad70
add esp, 0x18
test eax, eax
je 0x540314
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x8c]
push 0
push eax
lea eax, [esp + 0xb4]
push esi
push eax
call fcn.0050ad70
add esp, 0x18
test eax, eax
je 0x540314
xor ecx, ecx
test esi, esi
jle 0x53ff14
cmp esi, 8
jb 0x53ff04
cmp esi, 0x40
jb 0x53fecf
mov eax, esi
and eax, 0x8000003f
jns 0x53fe58
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 0x53fe60
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x53ff00
mov eax, esi
and eax, 0x80000007
jns 0x53fedd
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 0x53fee1
cmp ecx, esi
jge 0x53ff14
mov al, byte [esp + ecx + 0x84]
xor byte [esp + ecx + 0x64], al
inc ecx
cmp ecx, esi
jl 0x53ff04
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.00505cd0
add esp, 0xc
test eax, eax
je 0x540314
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x28]
push 0x40
push dword [esp + 0x34]
call fcn.005294a0
add esp, 0x14
test eax, eax
jg 0x53ff5e
je 0x53fd40
jmp 0x540314
mov ebx, dword [esp + 0x1c]
push 0
push 2
push ebx
call fcn.00528ed0
add esp, 0xc
test eax, eax
je 0x540314
push 0
push 3
push ebx
call fcn.00528ed0
add esp, 0xc
test eax, eax
je 0x540314
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 0x53ffbb
push ecx
push 0
push dword [esp + 0x24]
call fcn.00528ed0
add esp, 0xc
test eax, eax
je 0x540314
push 0
push edi
call fcn.00506660
add esp, 8
xor edi, edi
test ebx, ebx
js 0x540069
lea eax, [esi - 1]
test eax, eax
js 0x53ffef
nop word [eax + eax]
add byte [esp + eax + 0xa4], 1
jne 0x53ffef
sub eax, 1
jns 0x53ffe0
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x6c]
push 0
push eax
lea eax, [esp + 0xb4]
push esi
push eax
call fcn.0050ad70
add esp, 0x18
test eax, eax
je 0x540314
push ebp
lea eax, [esp + 0x68]
push esi
push eax
call fcn.00505cd0
add esp, 0xc
test eax, eax
je 0x540314
lea eax, [esi*8]
imul eax, edi
push eax
push ebp
push ebp
call fcn.0051e1c0
add esp, 0xc
test eax, eax
je 0x540314
mov eax, dword [esp + 0x3c]
push ebp
push eax
push eax
call fcn.0050d960
add esp, 0xc
test eax, eax
je 0x540314
inc edi
cmp edi, ebx
jle 0x53ffd0
push dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
push edi
call fcn.00506320
add esp, 8
test eax, eax
je 0x540314
push edi
push dword [esp + 0x30]
call fcn.005060c0
add esp, 8
test eax, eax
je 0x540314
push dword [esp + 0x10]
mov eax, dword [esp + 0x30]
push eax
push eax
call fcn.0050d960
add esp, 0xc
test eax, eax
je 0x540314
push dword [esp + 0x24]
push ebp
call fcn.0051e330
add esp, 8
test eax, eax
je 0x540314
push dword [esp + 0x20]
push ebp
push dword [esp + 0x34]
push dword [esp + 0x5c]
push 0
call fcn.00529aa0
add esp, 0x14
test eax, eax
je 0x540314
call fcn.00506710
push eax
push dword [esp + 0x54]
push ebp
call fcn.0050d9f0
add esp, 0xc
test eax, eax
je 0x540314
push ebp
push dword [esp + 0x30]
push dword [esp + 0x1c]
call fcn.0050d9f0
add esp, 0xc
test eax, eax
je 0x540314
push dword [esp + 0x10]
push dword [esp + 0x18]
call fcn.00505ef0
add esp, 8
test eax, eax
js 0x54014f
push dword [esp + 0x1c]
push 1
push dword [esp + 0x28]
push 0x40
push dword [esp + 0x24]
call fcn.005294a0
add esp, 0x14
test eax, eax
jg 0x540169
jne 0x540314
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x40], ecx
cmp ecx, 0x1000
jl 0x53ffa0
jmp 0x53fd40
mov ebx, dword [esp + 0x1c]
push 1
push 2
push ebx
call fcn.00528ed0
add esp, 0xc
test eax, eax
je 0x540314
call fcn.00506710
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.0050d9f0
add esp, 0xc
test eax, eax
je 0x540314
mov edi, dword [esp + 0x20]
push edi
push dword [esp + 0x28]
push dword [esp + 0x18]
push 0
push ebp
call fcn.00529aa0
add esp, 0x14
test eax, eax
je 0x540314
push 2
push dword [esp + 0x14]
call fcn.00506660
add esp, 8
test eax, eax
je 0x540314
push edi
push dword [esp + 0x18]
push dword [esp + 0x3c]
call fcn.00528570
add esp, 0xc
test eax, eax
je 0x540314
push dword [esp + 0x34]
push edi
push dword [esp + 0x1c]
push ebp
push dword [esp + 0x20]
push dword [esp + 0x44]
call fcn.00534660
add esp, 0x18
test eax, eax
je 0x540314
push dword [esp + 0x30]
call fcn.005062c0
add esp, 4
test eax, eax
je 0x540264
call fcn.00506710
push eax
mov eax, dword [esp + 0x14]
push eax
push eax
call fcn.0050d960
add esp, 0xc
test eax, eax
je 0x540314
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.00534660
add esp, 0x18
test eax, eax
jne 0x540211
jmp 0x540314
push 1
push 3
push ebx
call fcn.00528ed0
add esp, 0xc
test eax, eax
je 0x540314
mov dword [esp + 0x48], 1
mov ebx, dword [esp + 0x54]
push dword [ebx + 8]
call fcn.005061d0
push dword [ebx + 0xc]
call fcn.005061d0
push dword [ebx + 0x10]
call fcn.005061d0
push dword [esp + 0x20]
call fcn.00506120
push dword [esp + 0x34]
mov dword [ebx + 8], eax
call fcn.00506120
push dword [esp + 0x44]
mov dword [ebx + 0xc], eax
call fcn.00506120
add esp, 0x18
mov dword [ebx + 0x10], eax
cmp dword [ebx + 8], 0
je 0x54030c
cmp dword [ebx + 0xc], 0
je 0x54030c
test eax, eax
je 0x54030c
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x5402e2
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x5402f0
mov eax, dword [esp + 0x44]
mov dword [ecx], eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x540314
push esi
lea ecx, [esp + 0xc8]
push ecx
push eax
call fcn.004cf210
add esp, 0xc
jmp 0x540314
mov dword [esp + 0x48], 0
mov esi, dword [esp + 0x20]
push esi
call fcn.0050d530
push esi
call fcn.0050d5a0
push dword [esp + 0x3c]
call fcn.005284a0
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.004c4309
add esp, 0xd8
ret