Function at 0x5b3ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, dword [esp + 0x44]
cmp byte [ebx + 0x14], 0
jne 0x5b3b2a
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 0x10]
cmp ecx, dword [ebx + 0xc]
jne 0x5b3b19
lea eax, [ecx + ecx*2]
shr eax, 1
test ecx, ecx
mov edi, 0x20
cmovne edi, eax
cmp edi, ecx
jbe 0x5b3b24
cmp edi, 0x3fffffff
ja 0x5b3b24
lea eax, [edi*4]
push eax
push dword [ebx + 4]
call sym.adb.exe_OPENSSL_realloc
add esp, 8
test eax, eax
je 0x5b3b24
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], edi
mov ecx, dword [ebx + 8]
jmp 0x5b3b1c
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4], esi
inc dword [ebx + 8]
jmp 0x5b3b2a
mov word [ebx + 0x14], 0x101
push ebx
call sym.adb.exe_BN_CTX_get
add esp, 4
xor edi, edi
test eax, eax
je 0x5b4a7f
mov esi, eax
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
lea eax, [ebp + 0x14]
push ebp
push ebx
push eax
push dword [ecx + 4]
push dword [esp + 0x4c]
push esi
call sym.adb.exe_BN_mod_exp_mont_consttime
add esp, 0x18
test eax, eax
je 0x5b4a7f
push ebx
push ebp
push ebp
push esi
push esi
call sym.adb.exe_BN_mod_mul_montgomery
add esp, 0x14
test eax, eax
je 0x5b4a7f
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov edi, dword [esi + 4]
mov dword [esp], eax
mov edx, dword [eax + 4]
xor ebx, ebx
mov eax, edi
sub eax, edx
mov dword [esp + 4], eax
mov dword [esp + 0xc], esi
mov eax, edi
mov dword [esp + 8], edi
jge 0x5b3cd9
mov eax, dword [esp]
mov ebp, dword [eax]
mov ecx, edx
sub ecx, edi
xor ebx, ebx
mov eax, edi
cmp ecx, 8
jb 0x5b3cd0
lea edi, [ecx - 8]
mov eax, edi
shr eax, 3
inc eax
mov esi, eax
and esi, 3
cmp edi, 0x18
jae 0x5b3bd9
pxor xmm0, xmm0
xor ebx, ebx
pxor xmm1, xmm1
jmp 0x5b3c57
and eax, 0xfffffffc
mov edi, dword [esp + 8]
lea edi, [edi*4 + 0x70]
add edi, ebp
pxor xmm0, xmm0
xor ebx, ebx
pxor xmm1, xmm1
nop word cs:[eax + eax]
movdqu xmm2, xmmword [edi + ebx*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [edi + ebx*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [edi + ebx*4 - 0x50]
movdqu xmm3, xmmword [edi + ebx*4 - 0x40]
movdqu xmm4, xmmword [edi + ebx*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [edi + ebx*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [edi + ebx*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [edi + ebx*4]
por xmm1, xmm2
add ebx, 0x20
add eax, 0xfffffffc
jne 0x5b3c00
mov eax, ecx
and eax, 0xfffffff8
test esi, esi
je 0x5b3c9a
add ebx, dword [esp + 8]
lea edi, [ebx*4 + 0x10]
add edi, ebp
shl esi, 5
xor ebx, ebx
nop word cs:[eax + eax]
movdqu xmm2, xmmword [edi + ebx - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [edi + ebx]
por xmm1, xmm2
add ebx, 0x20
cmp esi, ebx
jne 0x5b3c80
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd ebx, xmm0
cmp ecx, eax
jne 0x5b3cc2
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
jmp 0x5b3cd9
mov edi, dword [esp + 8]
add eax, edi
mov esi, dword [esp + 0xc]
nop dword [eax]
or ebx, dword [ebp + eax*4]
inc eax
cmp edx, eax
jne 0x5b3cd0
cmp edx, edi
jge 0x5b3cf3
mov ecx, dword [esi]
mov eax, dword [esp + 4]
cmp eax, 8
jae 0x5b3cfc
mov eax, edx
mov ebp, dword [esp + 0x34]
jmp 0x5b3e00
mov ebp, dword [esp + 0x34]
jmp 0x5b3e08
movd xmm0, ebx
lea edi, [eax - 8]
mov eax, edi
shr eax, 3
inc eax
mov esi, eax
and esi, 3
cmp edi, 0x18
jae 0x5b3d1f
pxor xmm1, xmm1
xor ebx, ebx
mov ebp, dword [esp + 0x34]
jmp 0x5b3d97
and eax, 0xfffffffc
lea edi, [ecx + edx*4]
add edi, 0x70
pxor xmm1, xmm1
xor ebx, ebx
mov ebp, dword [esp + 0x34]
nop word cs:[eax + eax]
movdqu xmm2, xmmword [edi + ebx*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [edi + ebx*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [edi + ebx*4 - 0x50]
movdqu xmm3, xmmword [edi + ebx*4 - 0x40]
movdqu xmm4, xmmword [edi + ebx*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [edi + ebx*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [edi + ebx*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [edi + ebx*4]
por xmm1, xmm2
add ebx, 0x20
add eax, 0xfffffffc
jne 0x5b3d40
mov eax, dword [esp + 4]
and eax, 0xfffffff8
test esi, esi
je 0x5b3dca
add ebx, edx
lea edi, [ecx + ebx*4]
add edi, 0x10
shl esi, 5
xor ebx, ebx
nop
movdqu xmm2, xmmword [edi + ebx - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [edi + ebx]
por xmm1, xmm2
add ebx, 0x20
cmp esi, ebx
jne 0x5b3db0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd ebx, xmm0
cmp dword [esp + 4], eax
jne 0x5b3df4
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
jmp 0x5b3e08
add eax, edx
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
nop
or ebx, dword [ecx + eax*4]
inc eax
cmp edi, eax
jne 0x5b3e00
cmp edi, edx
cmovl edx, edi
test edx, edx
jle 0x5b3f0d
mov ecx, dword [esi]
mov eax, dword [esp]
mov esi, dword [eax]
xor eax, eax
cmp edx, 4
jb 0x5b3f00
movd xmm0, ebx
lea edi, [edx - 4]
mov eax, edi
shr eax, 2
inc eax
mov ebp, eax
and ebp, 3
cmp edi, 0xc
jae 0x5b3e42
xor ebx, ebx
jmp 0x5b3ea6
and eax, 0xfffffffc
xor ebx, ebx
nop word [eax + eax]
movdqu xmm1, xmmword [ecx + ebx*4]
movdqu xmm2, xmmword [ecx + ebx*4 + 0x10]
movdqu xmm3, xmmword [esi + ebx*4]
pxor xmm3, xmm1
por xmm3, xmm0
movdqu xmm0, xmmword [esi + ebx*4 + 0x10]
pxor xmm0, xmm2
movdqu xmm1, xmmword [ecx + ebx*4 + 0x20]
movdqu xmm2, xmmword [esi + ebx*4 + 0x20]
pxor xmm2, xmm1
por xmm2, xmm0
por xmm2, xmm3
movdqu xmm1, xmmword [ecx + ebx*4 + 0x30]
movdqu xmm0, xmmword [esi + ebx*4 + 0x30]
pxor xmm0, xmm1
por xmm0, xmm2
add ebx, 0x10
add eax, 0xfffffffc
jne 0x5b3e50
mov dword [esp + 4], edx
mov eax, edx
and eax, 0xfffffffc
test ebp, ebp
je 0x5b3ed9
lea edx, [esi + ebx*4]
lea ebx, [ecx + ebx*4]
shl ebp, 4
xor edi, edi
nop
movdqu xmm1, xmmword [ebx + edi]
movdqu xmm2, xmmword [edx + edi]
pxor xmm2, xmm1
por xmm0, xmm2
add edi, 0x10
cmp ebp, edi
jne 0x5b3ec0
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd ebx, xmm0
mov edx, dword [esp + 4]
cmp edx, eax
mov ebp, dword [esp + 0x34]
je 0x5b3f0d
nop dword [eax + eax]
mov edi, dword [esi + eax*4]
xor edi, dword [ecx + eax*4]
or ebx, edi
inc eax
cmp edx, eax
jne 0x5b3f00
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov ebp, dword [eax + 4]
xor edx, edx
mov edi, dword [esp + 8]
mov eax, edi
sub eax, ebp
mov dword [esp + 0x18], eax
jge 0x5b4078
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov dword [esp + 0x14], ebp
sub ebp, edi
xor edx, edx
mov eax, edi
cmp ebp, 8
jb 0x5b4062
mov dword [esp + 0x1c], ebp
lea esi, [ebp - 8]
mov eax, esi
shr eax, 3
inc eax
mov edx, eax
and edx, 3
cmp esi, 0x18
jae 0x5b3f72
pxor xmm0, xmm0
xor edi, edi
pxor xmm1, xmm1
jmp 0x5b3fe7
and eax, 0xfffffffc
lea esi, [ecx + edi*4]
add esi, 0x70
pxor xmm0, xmm0
xor edi, edi
pxor xmm1, xmm1
nop word cs:[eax + eax]
movdqu xmm2, xmmword [esi + edi*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [esi + edi*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [esi + edi*4 - 0x50]
movdqu xmm3, xmmword [esi + edi*4 - 0x40]
movdqu xmm4, xmmword [esi + edi*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [esi + edi*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [esi + edi*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [esi + edi*4]
por xmm1, xmm2
add edi, 0x20
add eax, 0xfffffffc
jne 0x5b3f90
mov eax, dword [esp + 0x1c]
and eax, 0xfffffff8
test edx, edx
je 0x5b402a
add edi, dword [esp + 8]
lea esi, [ecx + edi*4]
add esi, 0x10
shl edx, 5
xor edi, edi
nop word cs:[eax + eax]
movdqu xmm2, xmmword [esi + edi - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [esi + edi]
por xmm1, xmm2
add edi, 0x20
cmp edx, edi
jne 0x5b4010
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd edx, xmm0
cmp dword [esp + 0x1c], eax
jne 0x5b4058
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov ebp, dword [esp + 0x14]
jmp 0x5b4078
mov edi, dword [esp + 8]
add eax, edi
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x14]
nop word cs:[eax + eax]
or edx, dword [ecx + eax*4]
inc eax
cmp ebp, eax
jne 0x5b4070
mov eax, dword [esp]
mov ecx, dword [eax + 0xc]
xor ecx, dword [esp + 0x10]
cmp ebp, edi
jge 0x5b4198
mov esi, dword [esi]
mov eax, dword [esp + 0x18]
cmp eax, 8
jae 0x5b409c
mov eax, ebp
jmp 0x5b4190
mov dword [esp], ecx
movd xmm0, edx
lea ecx, [eax - 8]
mov eax, ecx
shr eax, 3
inc eax
mov edx, eax
and edx, 3
cmp ecx, 0x18
jae 0x5b40be
pxor xmm1, xmm1
xor edi, edi
jmp 0x5b4127
and eax, 0xfffffffc
lea ecx, [esi + ebp*4]
add ecx, 0x70
pxor xmm1, xmm1
xor edi, edi
nop dword [eax]
movdqu xmm2, xmmword [ecx + edi*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [ecx + edi*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [ecx + edi*4 - 0x50]
movdqu xmm3, xmmword [ecx + edi*4 - 0x40]
movdqu xmm4, xmmword [ecx + edi*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [ecx + edi*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [ecx + edi*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [ecx + edi*4]
por xmm1, xmm2
add edi, 0x20
add eax, 0xfffffffc
jne 0x5b40d0
mov eax, dword [esp + 0x18]
and eax, 0xfffffff8
test edx, edx
je 0x5b415a
add edi, ebp
lea ecx, [esi + edi*4]
add ecx, 0x10
shl edx, 5
xor edi, edi
nop
movdqu xmm2, xmmword [ecx + edi - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [ecx + edi]
por xmm1, xmm2
add edi, 0x20
cmp edx, edi
jne 0x5b4140
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd edx, xmm0
cmp dword [esp + 0x18], eax
jne 0x5b4183
mov edi, dword [esp + 8]
mov ecx, dword [esp]
jmp 0x5b4198
add eax, ebp
mov edi, dword [esp + 8]
mov ecx, dword [esp]
nop dword [eax]
or edx, dword [esi + eax*4]
inc eax
cmp edi, eax
jne 0x5b4190
or ecx, ebx
cmp edi, ebp
cmovl ebp, edi
test ebp, ebp
mov dword [esp], ecx
jle 0x5b42a2
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 4]
mov esi, dword [ecx]
xor edi, edi
cmp ebp, 4
jb 0x5b4295
movd xmm0, edx
lea ecx, [ebp - 4]
mov edi, ecx
shr edi, 2
inc edi
mov edx, edi
and edx, 3
cmp ecx, 0xc
jae 0x5b41dc
xor ebx, ebx
jmp 0x5b4246
and edi, 0xfffffffc
xor ebx, ebx
nop word cs:[eax + eax]
movdqu xmm1, xmmword [eax + ebx*4]
movdqu xmm2, xmmword [eax + ebx*4 + 0x10]
movdqu xmm3, xmmword [esi + ebx*4]
pxor xmm3, xmm1
por xmm3, xmm0
movdqu xmm0, xmmword [esi + ebx*4 + 0x10]
pxor xmm0, xmm2
movdqu xmm1, xmmword [eax + ebx*4 + 0x20]
movdqu xmm2, xmmword [esi + ebx*4 + 0x20]
pxor xmm2, xmm1
por xmm2, xmm0
por xmm2, xmm3
movdqu xmm1, xmmword [eax + ebx*4 + 0x30]
movdqu xmm0, xmmword [esi + ebx*4 + 0x30]
pxor xmm0, xmm1
por xmm0, xmm2
add ebx, 0x10
add edi, 0xfffffffc
jne 0x5b41f0
mov dword [esp + 0x14], ebp
mov edi, ebp
and edi, 0xfffffffc
test edx, edx
je 0x5b4279
mov ebp, edx
lea ecx, [esi + ebx*4]
lea ebx, [eax + ebx*4]
shl ebp, 4
xor edx, edx
movdqu xmm1, xmmword [ebx + edx]
movdqu xmm2, xmmword [ecx + edx]
pxor xmm2, xmm1
por xmm0, xmm2
add edx, 0x10
cmp ebp, edx
jne 0x5b4260
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd edx, xmm0
mov ebp, dword [esp + 0x14]
jmp 0x5b429e
mov ecx, dword [esi + edi*4]
xor ecx, dword [eax + edi*4]
or edx, ecx
inc edi
cmp ebp, edi
jne 0x5b4295
cmp dword [esp], 0
sete al
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 4]
xor ecx, dword [esi + 0xc]
or ecx, edx
sete cl
or cl, al
movzx eax, cl
neg eax
mov dword [esp + 8], eax
mov edi, dword [esp + 0x34]
cmp dword [edi + 0x10], 2
jl 0x5b4a69
mov ebp, 1
mov ebx, dword [esp + 0x44]
nop dword [eax + eax]
mov eax, dword [edi + 0x14]
mov ecx, eax
xor ecx, ebp
not eax
dec ecx
test ecx, eax
jns 0x5b42f9
cmp dword [esp + 8], 0xffffffff
jne 0x5b4a6d
push ebx
push dword [esp + 0x44]
mov esi, dword [esp + 0x14]
push esi
push esi
push esi
call sym.adb.exe_BN_mod_mul_montgomery
add esp, 0x14
test eax, eax
je 0x5b4aa2
mov dword [esp + 0x18], ebp
mov ebx, dword [edi + 0xc]
mov edx, dword [esi + 4]
mov ecx, dword [ebx + 4]
xor ebp, ebp
mov eax, edx
sub eax, ecx
mov dword [esp + 4], eax
mov eax, edx
mov dword [esp], edx
jge 0x5b4468
mov edi, dword [ebx]
mov esi, ecx
sub esi, edx
xor ebp, ebp
mov eax, edx
cmp esi, 8
jb 0x5b444e
lea edx, [esi - 8]
mov eax, edx
shr eax, 3
inc eax
mov ebp, eax
and ebp, 3
cmp edx, 0x18
mov dword [esp + 0x10], ebx
jae 0x5b436d
pxor xmm0, xmm0
xor edx, edx
pxor xmm1, xmm1
jmp 0x5b43e7
and eax, 0xfffffffc
mov edx, dword [esp]
lea ebx, [edi + edx*4]
add ebx, 0x70
pxor xmm0, xmm0
xor edx, edx
pxor xmm1, xmm1
nop word cs:[eax + eax]
movdqu xmm2, xmmword [ebx + edx*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [ebx + edx*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [ebx + edx*4 - 0x50]
movdqu xmm3, xmmword [ebx + edx*4 - 0x40]
movdqu xmm4, xmmword [ebx + edx*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [ebx + edx*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [ebx + edx*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [ebx + edx*4]
por xmm1, xmm2
add edx, 0x20
add eax, 0xfffffffc
jne 0x5b4390
mov eax, esi
and eax, 0xfffffff8
test ebp, ebp
je 0x5b441a
add edx, dword [esp]
lea edx, [edi + edx*4]
add edx, 0x10
shl ebp, 5
xor ebx, ebx
nop
movdqu xmm2, xmmword [edx + ebx - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [edx + ebx]
por xmm1, xmm2
add ebx, 0x20
cmp ebp, ebx
jne 0x5b4400
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd ebp, xmm0
cmp esi, eax
jne 0x5b4445
mov esi, dword [esp + 0xc]
mov edx, dword [esp]
mov ebx, dword [esp + 0x10]
jmp 0x5b4468
mov edx, dword [esp]
add eax, edx
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
nop word cs:[eax + eax]
or ebp, dword [edi + eax*4]
inc eax
cmp ecx, eax
jne 0x5b4460
cmp ecx, edx
jge 0x5b4598
mov esi, dword [esi]
mov eax, dword [esp + 4]
cmp eax, 8
jae 0x5b4490
mov eax, ecx
jmp 0x5b4590
movd xmm0, ebp
lea edx, [eax - 8]
mov eax, edx
shr eax, 3
inc eax
mov edi, eax
and edi, 3
cmp edx, 0x18
mov dword [esp + 0x10], ebx
jae 0x5b44b3
pxor xmm1, xmm1
xor edx, edx
jmp 0x5b4527
and eax, 0xfffffffc
lea ebx, [esi + ecx*4]
add ebx, 0x70
pxor xmm1, xmm1
xor edx, edx
nop word cs:[eax + eax]
movdqu xmm2, xmmword [ebx + edx*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [ebx + edx*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [ebx + edx*4 - 0x50]
movdqu xmm3, xmmword [ebx + edx*4 - 0x40]
movdqu xmm4, xmmword [ebx + edx*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [ebx + edx*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [ebx + edx*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [ebx + edx*4]
por xmm1, xmm2
add edx, 0x20
add eax, 0xfffffffc
jne 0x5b44d0
mov eax, dword [esp + 4]
and eax, 0xfffffff8
test edi, edi
je 0x5b455a
add edx, ecx
lea edx, [esi + edx*4]
add edx, 0x10
shl edi, 5
xor ebx, ebx
nop
movdqu xmm2, xmmword [edx + ebx - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [edx + ebx]
por xmm1, xmm2
add ebx, 0x20
cmp edi, ebx
jne 0x5b4540
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd ebp, xmm0
cmp dword [esp + 4], eax
jne 0x5b4583
mov edx, dword [esp]
mov ebx, dword [esp + 0x10]
jmp 0x5b4598
add eax, ecx
mov edx, dword [esp]
mov ebx, dword [esp + 0x10]
nop dword [eax]
or ebp, dword [esi + eax*4]
inc eax
cmp edx, eax
jne 0x5b4590
cmp edx, ecx
cmovl ecx, edx
test ecx, ecx
jle 0x5b469d
mov eax, dword [esp + 0xc]
mov esi, dword [eax]
mov edi, dword [ebx]
xor eax, eax
cmp ecx, 4
jb 0x5b4690
mov dword [esp + 0x10], ebx
movd xmm0, ebp
lea ebx, [ecx - 4]
mov eax, ebx
shr eax, 2
inc eax
mov ebp, eax
and ebp, 3
xor edx, edx
cmp ebx, 0xc
jb 0x5b4636
and eax, 0xfffffffc
xor edx, edx
nop word [eax + eax]
movdqu xmm1, xmmword [esi + edx*4]
movdqu xmm2, xmmword [esi + edx*4 + 0x10]
movdqu xmm3, xmmword [edi + edx*4]
pxor xmm3, xmm1
por xmm3, xmm0
movdqu xmm0, xmmword [edi + edx*4 + 0x10]
pxor xmm0, xmm2
movdqu xmm1, xmmword [esi + edx*4 + 0x20]
movdqu xmm2, xmmword [edi + edx*4 + 0x20]
pxor xmm2, xmm1
por xmm2, xmm0
por xmm2, xmm3
movdqu xmm1, xmmword [esi + edx*4 + 0x30]
movdqu xmm0, xmmword [edi + edx*4 + 0x30]
pxor xmm0, xmm1
por xmm0, xmm2
add edx, 0x10
add eax, 0xfffffffc
jne 0x5b45e0
mov dword [esp + 4], ecx
mov eax, ecx
and eax, 0xfffffffc
test ebp, ebp
je 0x5b4669
lea ecx, [edi + edx*4]
lea edx, [esi + edx*4]
shl ebp, 4
xor ebx, ebx
nop
movdqu xmm1, xmmword [edx + ebx]
movdqu xmm2, xmmword [ecx + ebx]
pxor xmm2, xmm1
por xmm0, xmm2
add ebx, 0x10
cmp ebp, ebx
jne 0x5b4650
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd ebp, xmm0
mov ecx, dword [esp + 4]
cmp ecx, eax
mov ebx, dword [esp + 0x10]
je 0x5b469d
nop dword [eax + eax]
mov edx, dword [edi + eax*4]
xor edx, dword [esi + eax*4]
or ebp, edx
inc eax
cmp ecx, eax
jne 0x5b4690
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x10], ecx
xor eax, ecx
or eax, ebp
mov eax, dword [esp + 8]
mov ecx, 0xffffffff
cmove eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 8]
mov ebx, dword [edx + 4]
xor ebp, ebp
mov ecx, dword [esp]
mov edi, ecx
sub edi, ebx
mov dword [esp + 4], edx
jge 0x5b4808
mov esi, dword [edx]
mov eax, ecx
mov edx, ebx
sub edx, ecx
xor ebp, ebp
cmp edx, 8
jb 0x5b47ec
lea ecx, [edx - 8]
mov eax, ecx
shr eax, 3
inc eax
mov ebp, eax
and ebp, 3
cmp ecx, 0x18
mov dword [esp + 0x14], edi
jae 0x5b4712
pxor xmm0, xmm0
xor ecx, ecx
pxor xmm1, xmm1
jmp 0x5b4787
and eax, 0xfffffffc
mov ecx, dword [esp]
lea edi, [esi + ecx*4]
add edi, 0x70
pxor xmm0, xmm0
xor ecx, ecx
pxor xmm1, xmm1
nop dword [eax + eax]
movdqu xmm2, xmmword [edi + ecx*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [edi + ecx*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [edi + ecx*4 - 0x50]
movdqu xmm3, xmmword [edi + ecx*4 - 0x40]
movdqu xmm4, xmmword [edi + ecx*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [edi + ecx*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [edi + ecx*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [edi + ecx*4]
por xmm1, xmm2
add ecx, 0x20
add eax, 0xfffffffc
jne 0x5b4730
mov eax, edx
and eax, 0xfffffff8
test ebp, ebp
je 0x5b47ba
add ecx, dword [esp]
lea ecx, [esi + ecx*4]
add ecx, 0x10
shl ebp, 5
xor edi, edi
nop
movdqu xmm2, xmmword [ecx + edi - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [ecx + edi]
por xmm1, xmm2
add edi, 0x20
cmp ebp, edi
jne 0x5b47a0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd ebp, xmm0
cmp edx, eax
jne 0x5b47e5
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov edi, dword [esp + 0x14]
jmp 0x5b4808
add eax, dword [esp]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
nop word cs:[eax + eax]
or ebp, dword [esi + eax*4]
inc eax
cmp ebx, eax
jne 0x5b4800
cmp ebx, ecx
jge 0x5b4938
mov eax, dword [esp + 0xc]
mov esi, dword [eax]
cmp edi, 8
jae 0x5b4830
mov eax, ebx
jmp 0x5b4930
movd xmm0, ebp
lea ecx, [edi - 8]
mov eax, ecx
shr eax, 3
inc eax
mov edx, eax
and edx, 3
cmp ecx, 0x18
mov dword [esp + 0x14], edi
jae 0x5b4853
pxor xmm1, xmm1
xor ecx, ecx
jmp 0x5b48c7
and eax, 0xfffffffc
lea edi, [esi + ebx*4]
add edi, 0x70
pxor xmm1, xmm1
xor ecx, ecx
nop word cs:[eax + eax]
movdqu xmm2, xmmword [edi + ecx*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [edi + ecx*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [edi + ecx*4 - 0x50]
movdqu xmm3, xmmword [edi + ecx*4 - 0x40]
movdqu xmm4, xmmword [edi + ecx*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [edi + ecx*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [edi + ecx*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [edi + ecx*4]
por xmm1, xmm2
add ecx, 0x20
add eax, 0xfffffffc
jne 0x5b4870
mov eax, dword [esp + 0x14]
and eax, 0xfffffff8
test edx, edx
je 0x5b48fa
add ecx, ebx
lea ecx, [esi + ecx*4]
add ecx, 0x10
shl edx, 5
xor edi, edi
nop
movdqu xmm2, xmmword [ecx + edi - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [ecx + edi]
por xmm1, xmm2
add edi, 0x20
cmp edx, edi
jne 0x5b48e0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd ebp, xmm0
cmp dword [esp + 0x14], eax
jne 0x5b4923
mov ecx, dword [esp]
mov edx, dword [esp + 4]
jmp 0x5b4938
add eax, ebx
mov ecx, dword [esp]
mov edx, dword [esp + 4]
nop dword [eax]
or ebp, dword [esi + eax*4]
inc eax
cmp ecx, eax
jne 0x5b4930
cmp ecx, ebx
cmovl ebx, ecx
test ebx, ebx
jle 0x5b4a3d
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov esi, dword [edx]
xor edi, edi
cmp ebx, 4
jb 0x5b4a30
movd xmm0, ebp
lea edx, [ebx - 4]
mov edi, edx
shr edi, 2
inc edi
mov ebp, edi
and ebp, 3
xor ecx, ecx
cmp edx, 0xc
jb 0x5b49d6
and edi, 0xfffffffc
xor ecx, ecx
nop word cs:[eax + eax]
movdqu xmm1, xmmword [eax + ecx*4]
movdqu xmm2, xmmword [eax + ecx*4 + 0x10]
movdqu xmm3, xmmword [esi + ecx*4]
pxor xmm3, xmm1
por xmm3, xmm0
movdqu xmm0, xmmword [esi + ecx*4 + 0x10]
pxor xmm0, xmm2
movdqu xmm1, xmmword [eax + ecx*4 + 0x20]
movdqu xmm2, xmmword [esi + ecx*4 + 0x20]
pxor xmm2, xmm1
por xmm2, xmm0
por xmm2, xmm3
movdqu xmm1, xmmword [eax + ecx*4 + 0x30]
movdqu xmm0, xmmword [esi + ecx*4 + 0x30]
pxor xmm0, xmm1
por xmm0, xmm2
add ecx, 0x10
add edi, 0xfffffffc
jne 0x5b4980
mov dword [esp], ebx
mov edi, ebx
and edi, 0xfffffffc
test ebp, ebp
je 0x5b4a09
lea ebx, [esi + ecx*4]
lea ecx, [eax + ecx*4]
shl ebp, 4
xor edx, edx
nop dword [eax]
movdqu xmm1, xmmword [ecx + edx]
movdqu xmm2, xmmword [ebx + edx]
pxor xmm2, xmm1
por xmm0, xmm2
add edx, 0x10
cmp ebp, edx
jne 0x5b49f0
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd ebp, xmm0
mov ebx, dword [esp]
cmp ebx, edi
mov edx, dword [esp + 4]
je 0x5b4a3d
nop word [eax + eax]
mov ecx, dword [esi + edi*4]
xor ecx, dword [eax + edi*4]
or ebp, ecx
inc edi
cmp ebx, edi
jne 0x5b4a30
mov ecx, dword [esp + 0x10]
xor ecx, dword [edx + 0xc]
mov eax, dword [esp + 8]
and eax, 1
or eax, ebp
or eax, ecx
je 0x5b4a69
mov ebp, dword [esp + 0x18]
inc ebp
mov edi, dword [esp + 0x34]
cmp ebp, dword [edi + 0x10]
mov ebx, dword [esp + 0x44]
jl 0x5b42e0
jmp 0x5b4a6d
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 8]
and ecx, 1
mov dword [eax], ecx
mov edi, 1
cmp byte [ebx + 0x14], 0
jne 0x5b4a98
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
lea edx, [ecx - 1]
mov dword [ebx + 8], edx
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebx + 0x10], eax
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
cmp byte [ebx + 0x14], 0
jne 0x5b4a98
jmp 0x5b4a85