Function at 0x5312a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
add eax, 0xffffffe8
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0xc]
mov ecx, esi
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
sub ecx, eax
mov eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 5
jbe switch.0x00531993
cmp ecx, 0x2e7
jle 0x531c56
mov edx, eax
shr edx, 1
lea ebx, [edx + edx*2]
mov esi, dword [esp + 0xc]
lea edx, [esi + ebx*8]
cmp ecx, 0x5da9
mov dword [esp + 0x24], edx
jb 0x531340
add eax, eax
and eax, 0xfffffff8
lea eax, [eax + eax*2]
lea ecx, [esi + eax]
add eax, edx
push dword [ebp + 0x10]
push dword [esp + 0x24]
push eax
push edx
push ecx
push esi
call fcn.005320f0
add esp, 0x18
jmp 0x531351
push dword [ebp + 0x10]
push dword [esp + 0x24]
push edx
push esi
call fcn.00531e00
add esp, 0x10
mov dword [esp + 0x2c], eax
mov edi, dword [esi + 8]
mov dword [esp + 0x50], edi
mov eax, dword [esi + 0xc]
mov dword [esp + 0x4c], eax
mov edx, dword [esi + ebx*8 + 0xc]
mov dword [esp + 4], edx
xor eax, edx
mov dword [esp + 8], eax
mov eax, dword [esi + ebx*8 + 8]
xor edi, eax
mov edx, dword [esi + ebx*8 + 0x14]
mov ecx, dword [esi + ebx*8 + 0x10]
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x48], ecx
cmp ebx, ecx
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x1c], edx
sbb ebx, edx
setb cl
mov dword [esp + 0x18], eax
cmp dword [esp + 0x50], eax
mov ebx, dword [esp + 0x4c]
sbb ebx, dword [esp + 4]
setb bl
or edi, dword [esp + 8]
movzx ecx, cl
movzx ebx, bl
cmove ebx, ecx
test bl, bl
je 0x5313d0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
jmp 0x53147d
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
nop dword [eax + eax]
lea ecx, [edi - 0x18]
cmp ecx, edx
je 0x531680
mov dword [esp + 0x28], ecx
mov ecx, dword [edi - 0x10]
mov dword [esp + 0x10], ecx
mov ebx, dword [edi - 0xc]
mov eax, ebx
xor eax, dword [esp + 4]
mov edx, ecx
mov ecx, dword [esp + 0x18]
xor edx, ecx
mov esi, dword [esp + 0x48]
cmp dword [edi - 8], esi
mov edi, dword [edi - 4]
sbb edi, dword [esp + 0x1c]
setb byte [esp + 8]
cmp dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
sbb ebx, dword [esp + 4]
setb bl
or edx, eax
movzx eax, byte [esp + 8]
movzx edx, bl
cmove edx, eax
mov edi, ecx
cmp dl, 1
mov edx, dword [esp + 0xc]
jne 0x5313e0
movsd xmm0, qword [edx + 0x10]
movsd qword [esp + 0x40], xmm0
movups xmm0, xmmword [edx]
movaps xmmword [esp + 0x30], xmm0
movsd xmm0, qword [ecx + 0x10]
movsd qword [edx + 0x10], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [edx], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [ecx + 0x10], xmm0
movdqa xmm0, xmmword [esp + 0x30]
movdqu xmmword [ecx], xmm0
inc dword [esp + 0x2c]
lea ebx, [edx + 0x18]
cmp ebx, ecx
mov edi, dword [esp + 0x24]
jae 0x5315c8
mov dword [esp + 0x28], ecx
mov edx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edi
mov eax, dword [edi + 0x10]
mov dword [esp + 0x18], eax
add ebx, 0xffffffe8
mov edi, ebx
mov dword [esp + 4], edx
nop word cs:[eax + eax]
mov ebx, dword [edi + 0x20]
mov dword [esp + 0x1c], ebx
mov eax, dword [edi + 0x24]
mov esi, eax
xor esi, dword [esp + 8]
xor ebx, edx
mov edx, dword [edi + 0x2c]
mov ecx, dword [esp + 0x18]
cmp dword [edi + 0x28], ecx
sbb edx, dword [esp + 0x10]
setb dl
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 4]
sbb eax, dword [esp + 8]
setb al
or ebx, esi
movzx ecx, dl
mov edx, dword [esp + 4]
movzx eax, al
cmove eax, ecx
add edi, 0x18
test al, al
jne 0x5314c0
mov dword [esp + 0x1c], edi
lea eax, [edi + 0x18]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x28]
nop word [eax + eax]
mov edi, dword [ecx - 0x10]
mov esi, dword [ecx - 0xc]
mov eax, esi
xor eax, dword [esp + 8]
mov ebx, edi
xor ebx, edx
mov edx, dword [esp + 0x18]
cmp dword [ecx - 8], edx
mov edx, dword [ecx - 4]
sbb edx, dword [esp + 0x10]
setb dl
cmp edi, dword [esp + 4]
sbb esi, dword [esp + 8]
setb dh
or ebx, eax
movzx eax, dl
movzx edx, dh
cmove edx, eax
add ecx, 0xffffffe8
cmp dl, 1
mov edx, dword [esp + 4]
jne 0x531520
mov ebx, dword [esp + 0x1c]
cmp ebx, ecx
ja 0x5315c0
movsd xmm0, qword [ebx + 0x10]
movsd qword [esp + 0x40], xmm0
movups xmm0, xmmword [ebx]
movaps xmmword [esp + 0x30], xmm0
movsd xmm0, qword [ecx + 0x10]
movsd qword [ebx + 0x10], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebx], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [ecx + 0x10], xmm0
movdqa xmm0, xmmword [esp + 0x30]
movdqu xmmword [ecx], xmm0
inc dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
cmp ebx, edi
mov dword [esp + 0x28], ecx
cmove edi, ecx
mov ebx, dword [esp + 0x48]
jmp 0x531490
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x24]
cmp ebx, edi
je 0x53174a
mov edx, dword [edi + 8]
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0xc]
mov ecx, dword [ebx + 8]
mov dword [esp + 4], ecx
mov esi, dword [ebx + 0xc]
mov dword [esp + 8], esi
mov ecx, eax
xor ecx, esi
mov esi, edx
xor esi, dword [esp + 4]
mov edx, dword [edi + 0x10]
cmp edx, dword [ebx + 0x10]
mov dword [esp + 0x24], edi
mov edx, dword [edi + 0x14]
sbb edx, dword [ebx + 0x14]
setb dl
mov edi, dword [esp + 0x10]
cmp edi, dword [esp + 4]
sbb eax, dword [esp + 8]
setb al
or esi, ecx
movzx ecx, dl
movzx eax, al
cmove eax, ecx
cmp al, 1
jne 0x531746
movsd xmm0, qword [ebx + 0x10]
movsd qword [esp + 0x40], xmm0
movups xmm0, xmmword [ebx]
movaps xmmword [esp + 0x30], xmm0
mov eax, dword [esp + 0x24]
movsd xmm0, qword [eax + 0x10]
movsd qword [ebx + 0x10], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [eax + 0x10], xmm0
movdqa xmm0, xmmword [esp + 0x30]
movdqu xmmword [eax], xmm0
mov eax, dword [esp + 0x2c]
inc eax
mov edx, dword [esp + 0xc]
test eax, eax
je 0x531756
jmp 0x53192b
mov ebx, dword [esp + 0x14]
mov edi, dword [ebx - 0x10]
mov dword [esp + 8], edi
mov ecx, dword [ebx - 0xc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x4c]
mov eax, edx
xor eax, ecx
mov ecx, dword [esp + 0x50]
mov esi, ecx
xor esi, edi
mov edi, dword [esp + 0x58]
cmp edi, dword [ebx - 8]
mov edi, dword [esp + 0x54]
sbb edi, dword [ebx - 4]
setb bl
cmp ecx, dword [esp + 8]
sbb edx, dword [esp + 4]
setb cl
or esi, eax
movzx eax, bl
movzx ecx, cl
cmove ecx, eax
mov eax, dword [esp + 0xc]
lea edx, [eax + 0x18]
test cl, cl
jne 0x5317d6
nop dword [eax + eax]
cmp edx, dword [esp + 0x20]
je case.0x531993.0
mov edi, dword [edx + 8]
mov dword [esp + 0x10], edi
mov esi, dword [edx + 0xc]
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x4c]
mov eax, ecx
xor eax, esi
mov ebx, dword [esp + 0x50]
mov esi, ebx
xor esi, edi
mov edi, dword [esp + 0x58]
cmp edi, dword [edx + 0x10]
mov edi, dword [esp + 0x54]
sbb edi, dword [edx + 0x14]
setb byte [esp + 8]
cmp ebx, dword [esp + 0x10]
sbb ecx, dword [esp + 4]
setb cl
or esi, eax
movzx eax, byte [esp + 8]
movzx ecx, cl
cmove ecx, eax
cmp cl, 1
je 0x531797
add edx, 0x18
cmp edx, dword [esp + 0x20]
jne 0x5316ea
jmp case.0x531993.0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x53192b
mov esi, dword [ebp + 0x10]
push esi
push ebx
push edx
call fcn.00532550
add esp, 0xc
mov ecx, ebx
mov ebx, eax
mov edi, ecx
lea eax, [ecx + 0x18]
push esi
mov esi, eax
push dword [esp + 0x18]
push eax
call fcn.00532550
add esp, 0xc
test al, al
jne 0x531962
mov eax, 2
test bl, bl
jne 0x53190c
jmp 0x531925
movsd xmm0, qword [edx + 0x10]
movsd qword [esp + 0x40], xmm0
movups xmm0, xmmword [edx]
movaps xmmword [esp + 0x30], xmm0
mov eax, dword [esp + 0x20]
movsd xmm0, qword [eax + 0x10]
movsd qword [edx + 0x10], xmm0
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [eax + 0x10], xmm0
movdqa xmm0, xmmword [esp + 0x30]
movdqu xmmword [eax], xmm0
add edx, 0x18
cmp edx, dword [esp + 0x20]
je case.0x531993.0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
nop dword [eax]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x10], eax
add edx, 0xffffffe8
mov esi, edx
mov dword [esp + 4], edi
nop dword [eax]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 4]
xor edi, ecx
mov edx, ebx
xor ebx, eax
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0x28]
mov ecx, esi
mov esi, dword [esp + 8]
sbb esi, dword [ecx + 0x2c]
mov esi, ecx
setb cl
cmp edx, eax
mov eax, dword [esp + 4]
sbb eax, dword [esp + 0x18]
setb al
or ebx, edi
mov ebx, edx
movzx ecx, cl
movzx eax, al
cmove eax, ecx
add esi, 0x18
cmp al, 1
jne 0x531810
mov dword [esp + 0x1c], esi
lea eax, [esi + 0x18]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x28]
nop dword [eax]
mov eax, dword [ecx - 0x10]
mov esi, dword [ecx - 0xc]
mov dword [esp + 0x18], esi
mov edi, dword [esp + 4]
xor edi, esi
mov esi, ebx
xor esi, eax
mov ebx, dword [esp + 0x10]
cmp ebx, dword [ecx - 8]
mov ebx, dword [esp + 8]
sbb ebx, dword [ecx - 4]
setb bl
cmp edx, eax
mov eax, dword [esp + 4]
sbb eax, dword [esp + 0x18]
setb al
or esi, edi
movzx esi, bl
mov ebx, edx
movzx eax, al
cmove eax, esi
add ecx, 0xffffffe8
test al, al
jne 0x531870
mov esi, dword [esp + 0x1c]
cmp esi, ecx
jae 0x531907
movsd xmm0, qword [esi + 0x10]
movsd qword [esp + 0x40], xmm0
movups xmm0, xmmword [esi]
movaps xmmword [esp + 0x30], xmm0
movsd xmm0, qword [ecx + 0x10]
movsd qword [esi + 0x10], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [ecx + 0x10], xmm0
movdqa xmm0, xmmword [esp + 0x30]
mov dword [esp + 0x28], ecx
movdqu xmmword [ecx], xmm0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
jmp 0x5317f0
mov eax, 4
mov ecx, esi
cmp eax, 4
je 0x5312cb
cmp eax, 2
je 0x5312c9
jmp case.0x531993.0
mov edx, dword [esp + 0xc]
mov ebx, edi
mov eax, ebx
sub eax, edx
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov ecx, dword [esp + 0x14]
sub ecx, ebx
sar ecx, 3
imul ecx, ecx, 0xaaaaaaab
cmp eax, ecx
jge 0x531973
push dword [ebp + 0x10]
push ebx
push edx
call fcn.005312a0
add esp, 0xc
add ebx, 0x18
mov esi, ebx
jmp 0x5312c9
mov dword [esp + 0x14], edi
test bl, bl
je 0x5312ba
jmp case.0x531993.0
mov dword [esp + 0xc], edx
lea eax, [ebx + 0x18]
push dword [ebp + 0x10]
push dword [esp + 0x18]
push eax
call fcn.005312a0
add esp, 0xc
mov dword [esp + 0x14], ebx
jmp 0x5312ba
jmp dword [eax*4 + 0x531de4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 0x10]
mov dword [esp + 0x10], edx
mov ebx, dword [ecx - 0xc]
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 8]
mov dword [esp + 4], esi
mov esi, dword [eax + 0xc]
mov dword [esp + 8], esi
mov edi, ebx
xor edi, esi
mov esi, edx
xor esi, dword [esp + 4]
mov edx, dword [ecx - 8]
cmp edx, dword [eax + 0x10]
mov edx, dword [ecx - 4]
sbb edx, dword [eax + 0x14]
setb dl
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 4]
sbb ebx, dword [esp + 8]
setb al
or esi, edi
movzx ecx, dl
movzx eax, al
cmove eax, ecx
cmp al, 1
jne case.0x531993.0
mov eax, dword [esp + 0xc]
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x40], xmm0
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x14]
movsd xmm0, qword [ecx - 8]
movsd qword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx - 0x18]
movups xmmword [eax], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [ecx - 8], xmm0
movaps xmm0, xmmword [esp + 0x30]
movups xmmword [ecx - 0x18], xmm0
jmp case.0x531993.0
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 0x18]
mov edx, dword [esp + 0x14]
add edx, 0xffffffe8
push dword [ebp + 0x10]
push edx
push eax
push ecx
call fcn.00531e00
add esp, 0x10
jmp case.0x531993.0
mov esi, dword [esp + 0xc]
lea eax, [esi + 0x18]
lea ecx, [esi + 0x30]
push dword [ebp + 0x10]
mov dword [esp + 0x1c], ecx
push ecx
mov dword [esp + 0x24], eax
push eax
push esi
call fcn.00531e00
add esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 0x10]
mov dword [esp + 0x10], edx
mov edi, dword [eax - 0xc]
mov ecx, dword [esi + 0x38]
mov dword [esp + 4], ecx
mov ebx, dword [esi + 0x3c]
mov dword [esp + 8], ebx
mov ecx, edi
xor ecx, ebx
mov ebx, edx
xor ebx, dword [esp + 4]
mov edx, dword [eax - 8]
cmp edx, dword [esi + 0x40]
mov edx, dword [eax - 4]
sbb edx, dword [esi + 0x44]
setb dl
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 4]
sbb edi, dword [esp + 8]
setb al
or ebx, ecx
movzx ecx, dl
movzx eax, al
cmove eax, ecx
cmp al, 1
jne case.0x531993.0
mov ecx, dword [esp + 0x18]
movsd xmm0, qword [ecx + 0x10]
movsd qword [esp + 0x40], xmm0
movups xmm0, xmmword [ecx]
movaps xmmword [esp + 0x30], xmm0
mov eax, dword [esp + 0x14]
movsd xmm0, qword [eax - 8]
movsd qword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax - 0x18]
movups xmmword [ecx], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [eax - 8], xmm0
movaps xmm0, xmmword [esp + 0x30]
movups xmmword [eax - 0x18], xmm0
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x38]
mov dword [esp + 8], edx
mov esi, dword [eax + 0x3c]
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov dword [esp + 4], ebx
mov ecx, esi
xor ecx, ebx
mov ebx, edx
xor ebx, edi
mov edx, dword [eax + 0x40]
cmp edx, dword [eax + 0x28]
mov edx, dword [eax + 0x44]
sbb edx, dword [eax + 0x2c]
setb dl
cmp dword [esp + 8], edi
sbb esi, dword [esp + 4]
setb al
or ebx, ecx
movzx ecx, dl
movzx eax, al
cmove eax, ecx
cmp al, 1
jne case.0x531993.0
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x40], xmm0
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x18]
movsd xmm0, qword [ecx + 0x10]
movsd qword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [ecx + 0x10], xmm0
movaps xmm0, xmmword [esp + 0x30]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x20]
mov dword [esp + 8], edx
mov edi, dword [eax + 0x24]
mov ebx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov dword [esp + 4], esi
mov ecx, edi
xor ecx, esi
mov esi, edx
xor esi, ebx
mov edx, dword [eax + 0x28]
cmp edx, dword [eax + 0x10]
mov edx, dword [eax + 0x2c]
sbb edx, dword [eax + 0x14]
setb dl
cmp dword [esp + 8], ebx
sbb edi, dword [esp + 4]
setb al
or esi, ecx
movzx ecx, dl
movzx eax, al
cmove eax, ecx
cmp al, 1
jne case.0x531993.0
mov eax, dword [esp + 0xc]
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x40], xmm0
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x1c]
movsd xmm0, qword [ecx + 0x10]
movsd qword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [ecx + 0x10], xmm0
movaps xmm0, xmmword [esp + 0x30]
movups xmmword [ecx], xmm0
jmp case.0x531993.0
mov esi, dword [esp + 0xc]
lea eax, [esi + 0x18]
lea ecx, [esi + 0x30]
lea edx, [esi + 0x48]
mov edi, dword [esp + 0x14]
add edi, 0xffffffe8
push dword [ebp + 0x10]
push edi
push edx
push ecx
push eax
push esi
call fcn.005320f0
add esp, 0x18
jmp case.0x531993.0
mov esi, dword [esp + 0xc]
lea edi, [esi + 0x30]
lea eax, [esi + 0x18]
push dword [ebp + 0x10]
push edi
push eax
push esi
call fcn.00531e00
add esp, 0x10
lea eax, [esi + 0x48]
cmp eax, dword [esp + 0x14]
je case.0x531993.0
mov edx, 0x48
jmp 0x531cbc
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
movdqu xmmword [eax + 8], xmm0
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
lea eax, [edi + 0x18]
add edx, 0x18
cmp eax, dword [esp + 0x14]
je case.0x531993.0
mov dword [esp + 0x24], eax
mov ecx, dword [edi + 8]
mov dword [esp + 4], ecx
movdqu xmm0, xmmword [eax + 8]
pshufd xmm1, xmm0, 0x55
movd esi, xmm0
mov eax, esi
xor eax, ecx
mov dword [esp + 8], eax
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x10], ebx
movd ecx, xmm1
mov eax, ecx
xor eax, ebx
pshufd xmm1, xmm0, 0xff
pshufd xmm2, xmm0, 0xee
movd ebx, xmm2
mov dword [esp + 0x1c], ebx
cmp ebx, dword [edi + 0x10]
movd ebx, xmm1
mov dword [esp + 0x28], ebx
sbb ebx, dword [edi + 0x14]
setb bl
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 4]
mov dword [esp + 4], ecx
sbb ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
setb bh
or eax, dword [esp + 8]
movzx eax, bh
movzx ebx, bl
cmovne ebx, eax
cmp bl, 1
jne 0x531cac
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], edx
mov eax, edx
mov esi, dword [esp + 0xc]
nop word cs:[eax + eax]
movsd xmm1, qword [esi + eax - 8]
movsd qword [esi + eax + 0x10], xmm1
movdqu xmm1, xmmword [esi + eax - 0x18]
movdqu xmmword [esi + eax], xmm1
cmp eax, 0x18
je 0x531c90
mov edx, dword [esi + eax - 0x28]
mov dword [esp + 0x10], edx
mov ecx, dword [esi + eax - 0x24]
mov dword [esp + 8], ecx
mov edi, dword [esp + 4]
xor edi, ecx
mov ebx, dword [esp + 0x18]
mov ecx, ebx
xor ecx, edx
mov edx, dword [esp + 0x1c]
cmp edx, dword [esi + eax - 0x20]
mov edx, dword [esp + 0x28]
sbb edx, dword [esi + eax - 0x1c]
setb dl
cmp ebx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
sbb ebx, dword [esp + 8]
setb dh
or ecx, edi
movzx ecx, dl
movzx edx, dh
cmove edx, ecx
add eax, 0xffffffe8
test dl, dl
jne 0x531d60
add eax, esi
jmp 0x531c92
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret