Function at 0x535290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x84], 0x53a0e0
lea eax, [esi + 0x80]
mov edx, dword fs:[0]
mov dword [esi + 0x80], edx
mov dword fs:[0], eax
mov eax, dword [ecx]
nop word cs:[eax + eax]
mov edx, eax
xor edx, 3
lock cmpxchg dword [ecx], edx
jne 0x5352e0
test al, 1
je 0x5354da
test al, 2
jne 0x5354f8
test al, 8
mov dword [esi + 0x10], ecx
jne 0x535357
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 4
mov eax, dword [ecx + 0x24]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x20]
mov byte [esi + 7], 1
mov dword [esi + 0x88], 1
mov dword [esi + 8], eax
call fcn.00521df0
test eax, eax
je 0x535382
movups xmm0, xmmword [eax + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 1
movaps xmmword [esi + 0x60], xmm0
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x18], edx
jmp 0x535389
test al, 0x10
je 0x5353e0
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 0x48]
mov dword [esi + 0x88], 0
test eax, eax
je 0x53556c
push dword [ecx + 0x4c]
call dword [eax + 8]
add esp, 4
jmp 0x5353e0
xorps xmm0, xmm0
movaps xmmword [esi + 0x60], xmm0
mov eax, dword [esi + 0x10]
mov dword [esi + 0x88], 2
lea ecx, [eax + 0x28]
mov dword [esi + 8], ecx
call fcn.00531a60
movsd xmm0, qword [esi + 0x28]
mov eax, dword [esi + 8]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov byte [esi + 7], 0
mov dword [esi + 0x88], 1
call fcn.00521df0
test eax, eax
je 0x5353e0
movaps xmm0, xmmword [esi + 0x60]
movups xmmword [eax + 0x10], xmm0
mov ebx, dword [esi + 0x10]
cmp dword [ebx + 0x18], 0
jne 0x535445
mov edi, dword [ebx + 0x1c]
mov cl, 1
xor eax, eax
lock cmpxchg byte [edi + 0x78], cl
jne 0x53549c
dec dword [edi + 0xa0]
xor ecx, ecx
mov al, 1
lock cmpxchg byte [edi + 0x78], cl
jne 0x5354b3
cmp dword [edi + 0xe8], 0x3b9aca00
je 0x53542e
mov al, 1
xchg byte [edi + 0xd9], al
mov dword [esi + 0x88], 0xffffffff
add edi, 0xf0
mov dword [esi + 0x88], 0xffffffff
mov ecx, edi
call fcn.00524650
mov dword [esi + 0x14], 1
mov eax, 0xffffffc0
lock xadd dword [ebx], eax
shr eax, 6
cmp eax, dword [esi + 0x14]
jb 0x535516
jne 0x535488
mov ecx, ebx
mov dword [esi + 0x88], 7
call fcn.00531970
mov eax, dword [esi + 0x10]
push dword [eax - 4]
push 0
push dword [0x5b93c8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [edi + 0x78]
mov dword [esi + 0x88], 0xffffffff
call fcn.0053e0c0
jmp 0x5353fb
lea ecx, [edi + 0x78]
mov dword [esi + 0x88], 0xffffffff
call fcn.0053dda0
cmp dword [edi + 0xe8], 0x3b9aca00
jne 0x53541c
jmp 0x53542e
mov dword [esi + 0x88], 0xffffffff
mov ecx, str.assertion_failed:_prev.is_running__
mov edx, 0x23
push 0x5a8048
call fcn.0053bbd0
mov dword [esi + 0x88], 0xffffffff
mov ecx, 0x5a8058
mov edx, 0x25
push 0x5a8080
call fcn.0053bbd0
lea ecx, [esi + 0x34]
lea edx, [esi + 0x14]
mov dword [esi + 0x48], 0x5a80a0
mov dword [esi + 0x4c], 2
mov dword [esi + 0x58], 0
mov dword [esi + 0x34], eax
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x38], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x3c], 0x453380
mov dword [esi + 0x40], edx
mov edx, 0x5a80b0
mov dword [esi + 0x44], 0x453380
mov dword [esi + 0x50], ecx
lea ecx, [esi + 0x48]
mov dword [esi + 0x54], 2
call fcn.0053ba80
lea ecx, [esi + 0x18]
mov edx, 0x5a7d70
mov dword [esi + 0x18], 0x5a7d68
mov dword [esi + 0x1c], 1
mov dword [esi + 0x28], 0
mov dword [esi + 0x20], str.Index_out_of_bounds
mov dword [esi + 0x24], 0
call fcn.0053ba80
ud2