Function at 0x431138
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov al, byte [0x574f10]
sub esp, 0x50
push ebx
push esi
push edi
mov edi, ecx
test al, al
jne 0x4305ae
call fcn.004400a0
mov al, byte [0x574f10]
cmp byte [0x574f17], 0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x44], ecx
je 0x4305dc
lea eax, [ecx + 0x10]
push eax
lea eax, [ecx + 0x30]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00440ab0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea esi, [ecx + 0x10]
mov dword [ebp - 0x40], esi
test al, al
jne 0x4305eb
call fcn.004400a0
cmp dword [edi + 0x14], 0x10000
movzx eax, byte [0x574f11]
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 2
add eax, ecx
cmp eax, 3
ja case.default.0x43060c
jmp dword [eax*4 + 0x431514]
mov eax, dword [edi + 0x18]
mov ebx, dword [esi + 8]
add eax, 0x30
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov esi, dword [esi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x34], ecx
jmp 0x430643
mov ebx, dword [ebp + 0xc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
test eax, eax
je 0x430656
mov esi, dword [eax]
mov edi, dword [eax + 4]
jmp 0x43065c
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
lea ecx, [eax + 8]
movlpd qword [ebp - 0x50], xmm0
test ecx, ecx
je 0x43066f
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x430675
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
xor dword [ebp - 0xc], esi
xor ebx, edx
mov edx, dword [ebp - 0x10]
add eax, 0x10
mov esi, dword [ebp - 4]
xor edx, ecx
mov ecx, dword [ebp - 8]
xor esi, edi
mov dword [ebp - 0x4c], eax
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp - 0xc]
and eax, 0xf0
add eax, ecx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x30], eax
mov eax, ebx
shr eax, 0x18
mov ebx, esi
and eax, 0xf0
shr ebx, 0x18
add eax, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], eax
and ebx, 0xf0
mov eax, dword [ebp - 4]
add ebx, ecx
shr eax, 0x14
mov esi, edx
shr edi, 0x18
and eax, 0xf0
mov dword [ebp - 0x10], edx
and edi, 0xf0
mov edx, dword [ebp + 0xc]
add edi, ecx
shr esi, 0x14
shr edx, 0x14
and esi, 0xf0
mov dword [ebp - 0x2c], ebx
add esi, ecx
mov ebx, dword [ecx + eax + 0x100]
and edx, 0xf0
add edx, ecx
sub dword [ebp - 0x34], 0x10
add ecx, eax
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0xc]
shr eax, 0x14
xor ebx, dword [edx + 0x200]
and eax, 0xf0
xor ebx, dword [esi + 0x300]
xor ebx, dword [edi + 0x400]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 0x104]
xor eax, dword [edx + 0x204]
xor eax, dword [esi + 0x304]
mov dword [ebp - 0x18], ebx
mov ebx, eax
xor ebx, dword [edi + 0x404]
mov edi, dword [ebp - 0x18]
mov dword [ebp + 8], eax
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 8]
xor edi, dword [ebx + 0x700]
xor eax, dword [ebx + 0x704]
mov ebx, dword [ebp - 0x2c]
xor edi, dword [ebx + 0x500]
xor eax, dword [ebx + 0x504]
mov ebx, dword [ebp - 0x28]
mov dword [ebp + 8], eax
xor edi, dword [ebx + 0x600]
mov dword [ebp - 0x18], edi
mov edi, eax
mov eax, dword [ebp - 0x40]
xor edi, dword [ebx + 0x604]
mov ebx, dword [ebp - 0x18]
xor ebx, dword [eax + esi]
mov dword [ebp - 0x18], ebx
mov ebx, esi
mov esi, dword [ebp - 0x3c]
xor edi, dword [eax + ebx + 4]
mov dword [ebp + 8], edi
mov edi, dword [eax + ebx + 8]
mov ebx, dword [eax + ebx + 0xc]
xor ebx, dword [ecx + 0x10c]
xor edi, dword [ecx + 0x108]
xor ebx, dword [edx + 0x20c]
mov ecx, edi
xor ebx, dword [esi + 0x30c]
xor ecx, dword [edx + 0x208]
xor ecx, dword [esi + 0x308]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp + 0xc]
shr esi, 0xc
and esi, 0xf0
xor ebx, dword [edi + 0x40c]
xor ebx, dword [eax + 0x70c]
xor ecx, dword [edi + 0x408]
xor ecx, dword [eax + 0x708]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x10]
shr edi, 0xc
xor edx, dword [ebx + 0x50c]
and edi, 0xf0
xor edx, dword [eax + 0x60c]
xor ecx, dword [ebx + 0x508]
xor ecx, dword [eax + 0x608]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, 0xf0
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 8]
add eax, ecx
mov dword [ebp - 0x38], eax
add edi, ecx
mov eax, dword [ebp + 0xc]
add esi, ecx
shr eax, 0x10
and eax, 0xf0
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 4]
add eax, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xf0
shr ebx, 0x10
add eax, ecx
shr edx, 0xc
and ebx, 0xf0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
add ebx, ecx
and edx, 0xf0
shr eax, 0xc
add edx, ecx
mov dword [ebp - 0x30], ebx
and eax, 0xf0
mov dword [ebp - 0x48], edi
add ecx, eax
mov ebx, dword [edx + 0x104]
xor ebx, dword [esi + 0x204]
xor ebx, dword [edi + 0x304]
mov eax, dword [edx + 0x100]
xor eax, dword [esi + 0x200]
xor eax, dword [edi + 0x300]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
xor eax, dword [ebx + 0x400]
xor edi, dword [ebx + 0x404]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x38]
xor edi, dword [eax + 0x704]
mov ebx, dword [ebp - 0x14]
xor ebx, dword [eax + 0x700]
mov eax, dword [ebp - 0x3c]
xor edi, dword [eax + 0x504]
xor ebx, dword [eax + 0x500]
mov eax, dword [ebp - 0x40]
xor ebx, dword [eax + 0x600]
xor edi, dword [eax + 0x604]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x18]
shld eax, ebx, 8
xor edi, eax
shl ebx, 8
xor edi, dword [ecx + 4]
xor dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [ecx]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0xc]
xor eax, dword [edx + 0x10c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], edi
mov edi, dword [ecx + 8]
xor edi, dword [edx + 0x108]
mov edx, eax
xor edx, dword [esi + 0x20c]
mov ecx, edi
xor ecx, dword [esi + 0x208]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x48]
xor ecx, dword [edi + 0x308]
xor edx, dword [edi + 0x30c]
xor ecx, dword [ebx + 0x408]
xor ecx, dword [eax + 0x708]
xor edx, dword [ebx + 0x40c]
xor edx, dword [eax + 0x70c]
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
shr ebx, 8
xor ecx, dword [eax + 0x508]
and ebx, 0xf0
xor edx, dword [eax + 0x50c]
mov eax, dword [ebp - 0x40]
xor ecx, dword [eax + 0x608]
xor edx, dword [eax + 0x60c]
mov eax, dword [ebp + 8]
xor edx, 0
shr eax, 0x18
xor ecx, eax
mov eax, dword [ebp - 0x24]
shld eax, edi, 8
xor edx, eax
shl edi, 8
mov eax, dword [ebp - 0x10]
xor ecx, edi
shr eax, 8
mov edi, dword [ebp - 0x10]
and eax, 0xf0
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 8]
add eax, ecx
mov dword [ebp - 0x40], eax
add ebx, ecx
mov eax, dword [ebp + 0xc]
shr eax, 8
and eax, 0xf0
mov dword [ebp - 0x28], edx
add eax, ecx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xf0
add eax, ecx
shr edi, 4
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 4]
and edi, 0xf0
mov esi, dword [ebp + 0xc]
add edi, ecx
mov eax, dword [ebp - 0xc]
shr edx, 4
shr eax, 4
and edx, 0xf0
add edx, ecx
shr esi, 4
and eax, 0xf0
mov dword [ebp - 0x48], edi
and esi, 0xf0
add esi, ecx
add ecx, eax
mov ebx, dword [edx + 0x104]
mov eax, dword [edx + 0x100]
xor ebx, dword [esi + 0x204]
xor ebx, dword [edi + 0x304]
xor eax, dword [esi + 0x200]
xor eax, dword [edi + 0x300]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
xor eax, dword [ebx + 0x400]
xor edi, dword [ebx + 0x404]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x1c]
xor ebx, dword [eax + 0x700]
xor edi, dword [eax + 0x704]
mov eax, dword [ebp - 0x3c]
xor ebx, dword [eax + 0x500]
xor edi, dword [eax + 0x504]
mov eax, dword [ebp - 0x38]
xor edi, dword [eax + 0x604]
xor ebx, dword [eax + 0x600]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x14]
shld eax, edi, 8
shl edi, 8
xor ebx, edi
mov edi, dword [ecx + 8]
xor edi, dword [edx + 0x108]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
xor ebx, eax
mov dword [ebp - 0x30], edi
xor ebx, dword [ecx + 4]
mov eax, dword [ebp - 0x1c]
xor eax, dword [ecx]
mov ecx, dword [ecx + 0xc]
xor ecx, dword [edx + 0x10c]
mov dword [ebp - 0x14], ecx
mov ecx, edi
xor ecx, dword [esi + 0x208]
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x14]
xor edx, dword [esi + 0x20c]
mov dword [ebp - 0x1c], eax
xor ecx, dword [edi + 0x308]
xor edx, dword [edi + 0x30c]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 8]
xor ecx, dword [ebx + 0x408]
xor ecx, dword [eax + 0x708]
xor edx, dword [ebx + 0x40c]
xor edx, dword [eax + 0x70c]
mov eax, dword [ebp - 0x3c]
xor ecx, dword [eax + 0x508]
xor edx, dword [eax + 0x50c]
mov eax, dword [ebp - 0x38]
xor ecx, dword [eax + 0x608]
xor edx, dword [eax + 0x60c]
mov eax, dword [ebp - 0x20]
shr eax, 0x18
xor ecx, eax
mov eax, dword [ebp - 0x28]
xor edx, 0
mov edi, dword [ebp - 0x2c]
shld eax, edi, 8
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x10]
xor edx, eax
mov eax, dword [ebp - 0xc]
and esi, 0xf
and eax, 0xf
shl edi, 8
xor ecx, edi
shl eax, 4
mov dword [ebp - 0x30], ecx
mov edi, ebx
mov ecx, dword [ebp - 4]
and ebx, 0xf0
and ecx, 0xf
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], ecx
and edi, 0xf
add ecx, 0x10
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
add ecx, ecx
add eax, edx
and dword [ebp - 0xc], 0xf0
mov dword [ebp - 0x48], eax
add ebx, edx
mov eax, dword [ebp + 0xc]
and eax, 0xf0
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
add edx, eax
lea eax, [esi + 0x20]
and dword [ebp - 4], 0xf0
mov esi, dword [ebp - 8]
add eax, eax
mov esi, dword [esi + ecx*8]
xor esi, dword [ebx + eax*8]
mov dword [ebp + 8], esi
mov esi, dword [ebx + ecx*8 + 4]
mov ecx, ebx
xor esi, dword [ecx + eax*8 + 4]
lea eax, [edi + 0x30]
mov ecx, dword [ebp + 8]
add eax, eax
add edi, edi
xor esi, dword [ebx + eax*8 + 4]
xor ecx, dword [ebx + eax*8]
mov eax, ebx
mov ebx, dword [ebp - 0xc]
xor esi, dword [ebx + eax + 0x404]
xor ecx, dword [ebx + eax + 0x400]
mov ebx, dword [ebp - 4]
xor esi, dword [ebx + eax + 0x504]
xor ecx, dword [ebx + eax + 0x500]
xor ecx, dword [edx + 0x600]
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
xor esi, dword [edx + 0x604]
xor ecx, dword [ebx + 0x700]
xor esi, dword [ebx + 0x704]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x1c]
shld eax, ecx, 8
shl ecx, 8
xor esi, eax
xor dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
xor esi, dword [ecx + 4]
xor eax, dword [ecx]
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x3c]
mov dword [ebp + 8], eax
add esi, esi
mov eax, dword [ebp - 8]
mov ebx, dword [eax + edi*8 + 0x308]
xor ebx, dword [eax + esi*8 + 0x208]
mov dword [ebp + 0xc], ebx
mov ebx, dword [eax + edi*8 + 0x30c]
mov edi, eax
xor ebx, dword [edi + esi*8 + 0x20c]
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp + 0xc]
add eax, eax
xor ebx, dword [edi + eax*8 + 0x10c]
xor esi, dword [edi + eax*8 + 0x108]
mov eax, dword [ebp - 0xc]
xor ebx, dword [eax + edi + 0x40c]
xor esi, dword [eax + edi + 0x408]
mov eax, dword [ebp - 4]
xor ebx, dword [eax + edi + 0x50c]
xor esi, dword [eax + edi + 0x508]
xor ebx, dword [edx + 0x60c]
xor esi, dword [edx + 0x608]
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x10]
shr eax, 0x18
xor edx, dword [ebx + 0x70c]
xor esi, dword [ebx + 0x708]
xor edx, dword [ecx + 0xc]
xor esi, dword [ecx + 8]
xor edx, 0
mov ecx, dword [ebp - 0x14]
xor esi, eax
mov eax, ecx
shr ecx, 0x18
shld eax, edi, 8
xor edx, eax
shl edi, 8
mov eax, dword [ebp - 0x24]
xor esi, edi
shr eax, 0x18
mov dword [ebp - 0x10], edx
mov dword [ebp + 0xc], esi
movzx eax, word [eax*2 + 0x574c28]
cdq
mov ebx, eax
mov edi, edx
mov eax, dword [ebp - 0x28]
shld edi, ebx, 8
shr eax, 0x18
shl ebx, 8
movzx eax, word [eax*2 + 0x574c28]
cdq
xor ebx, eax
xor edi, edx
movzx eax, word [ecx*2 + 0x574c28]
mov ecx, dword [ebp - 0x34]
shld edi, ebx, 8
cdq
shl ebx, 8
xor edi, edx
xor edi, dword [ebp - 0x48]
xor ebx, eax
xor ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
cmp ecx, 0x10
jae 0x430640
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov dword [edi + 0x18], esi
mov esi, dword [ebp - 0x10]
mov dword [edi + 0x14], eax
mov eax, ecx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x1c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [edi + 0x18]
mov ecx, dword [esi]
add edi, 0x30
mov edx, dword [esi + 4]
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], edi
jmp 0x430da3
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
test esi, esi
je 0x430dbc
mov edi, dword [esi]
mov dword [ebp + 0xc], edi
mov edi, dword [esi + 4]
mov dword [ebp + 8], edi
jmp 0x430dc8
mov edi, dword [ebp - 0x4c]
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0x50]
mov dword [ebp + 0xc], edi
lea edi, [esi + 8]
movlpd qword [ebp - 0x50], xmm0
test edi, edi
je 0x430ddf
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x40], edi
mov edi, dword [esi + 8]
jmp 0x430de8
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x50]
xor dword [ebp + 0xc], ecx
add esi, 0x10
xor edx, dword [ebp + 8]
xor ebx, edi
mov edi, dword [ebp - 0xc]
xor eax, dword [ebp - 0x40]
mov dword [ebp + 8], edx
shr edx, 0x14
mov dword [ebp - 4], esi
and edx, 0xff0
mov esi, dword [ebp + 0xc]
add edx, edi
mov ecx, esi
mov dword [ebp - 0x3c], edx
shr ecx, 0x14
mov edx, eax
and ecx, 0xff0
shr edx, 4
add ecx, edi
sub dword [ebp - 0x30], 0x10
mov dword [ebp - 0x20], ecx
and edx, 0xff0
mov ecx, ebx
mov dword [ebp - 0x34], ebx
shr ecx, 4
add edx, edi
and ecx, 0xff0
mov dword [ebp - 0x28], edx
add ecx, edi
movzx ebx, bl
mov dword [ebp - 0x14], ecx
mov edx, edi
mov ecx, dword [ebp + 8]
shr ecx, 0xc
and ecx, 0xff0
add edx, ecx
mov ecx, esi
shr ecx, 0xc
and ecx, 0xff0
mov dword [ebp - 0x38], edx
mov edx, edi
add ecx, edx
mov dword [ebp - 0x1c], ecx
movzx ecx, al
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 8]
shr ecx, 4
and ecx, 0xff0
add edx, ecx
mov ecx, esi
shr ecx, 4
mov esi, edi
mov edi, dword [ebp - 0x34]
and ecx, 0xff0
add ecx, esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], ecx
mov ecx, eax
shr ecx, 0x14
and ecx, 0xff0
shr eax, 0xc
add ecx, esi
and eax, 0xff0
mov dword [ebp - 8], ecx
mov ecx, edi
shr ecx, 0x14
and ecx, 0xff0
shr edi, 0xc
add ecx, esi
and edi, 0xff0
mov dword [ebp - 0x24], ecx
add esi, eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
movzx edx, cl
mov ecx, dword [ebp - 0xc]
add edi, ecx
movzx eax, al
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], edi
shl eax, 4
add ecx, eax
mov edi, dword [ebp - 0xc]
lea eax, [edx + 0x400]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x40]
add eax, eax
mov edx, dword [ebp - 0xc]
add ecx, 0xc00
add ecx, ecx
mov edx, dword [edx + ecx*8]
xor edx, dword [edi + eax*8]
mov dword [ebp + 0xc], edx
mov edx, dword [edi + ecx*8 + 4]
mov ecx, edi
xor edx, dword [ecx + eax*8 + 4]
lea eax, [ebx + 0x800]
mov ecx, dword [ebp + 0xc]
add eax, eax
add ebx, ebx
xor edx, dword [edi + eax*8 + 4]
xor ecx, dword [edi + eax*8]
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x4c]
xor edx, dword [eax + 0x7004]
xor ecx, dword [eax + 0x7000]
xor edx, dword [esi + 0xe004]
xor ecx, dword [esi + 0xe000]
mov eax, dword [ebp - 0x38]
xor edx, dword [eax + 0x6004]
xor ecx, dword [eax + 0x6000]
mov eax, dword [ebp - 0x2c]
xor edx, dword [eax + 0x5004]
xor ecx, dword [eax + 0x5000]
mov eax, dword [ebp - 0x28]
xor edx, dword [eax + 0xd004]
xor ecx, dword [eax + 0xd000]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
xor edx, dword [ecx + 0xb004]
xor eax, dword [ecx + 0xb000]
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 0xc]
xor edx, dword [eax + 0x3000]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp + 8]
xor edx, dword [eax + 0x3004]
xor edx, dword [edi + 0xa004]
mov eax, dword [ebp + 0xc]
xor eax, dword [edi + 0xa000]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor edx, dword [eax + 0x2000]
xor ecx, dword [eax + 0x2004]
mov eax, dword [ebp - 0x18]
xor edx, dword [eax + 0x1000]
xor ecx, dword [eax + 0x1004]
mov eax, dword [ebp - 0x14]
xor edx, dword [eax + 0x9000]
xor ecx, dword [eax + 0x9004]
mov eax, dword [ebp - 8]
xor edx, dword [eax + 0xf000]
xor ecx, dword [eax + 0xf004]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
xor edx, dword [eax]
mov dword [ebp + 0xc], edx
mov edx, ecx
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 8], edx
mov edx, dword [ebp - 0x48]
add edx, edx
mov eax, dword [ecx + edx*8 + 0x4008]
xor eax, dword [ecx + ebx*8 + 0x8008]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + edx*8 + 0x400c]
xor eax, dword [ecx + ebx*8 + 0x800c]
mov edx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x34]
add edx, edx
xor ebx, dword [ecx + edx*8 + 0xc008]
xor eax, dword [ecx + edx*8 + 0xc00c]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
xor ebx, dword [edx + 0x7008]
xor eax, dword [edx + 0x700c]
xor ebx, dword [esi + 0xe008]
xor eax, dword [esi + 0xe00c]
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 4]
xor ebx, dword [edx + 0x6008]
xor eax, dword [edx + 0x600c]
mov edx, dword [ebp - 0x2c]
xor ebx, dword [edx + 0x5008]
xor eax, dword [edx + 0x500c]
mov edx, dword [ebp - 0x28]
xor ebx, dword [edx + 0xd008]
xor ebx, dword [ecx + 0xb008]
xor eax, dword [edx + 0xd00c]
xor eax, dword [ecx + 0xb00c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
xor ebx, dword [ecx + 0x3008]
xor eax, dword [ecx + 0x300c]
xor ebx, dword [edi + 0xa008]
xor eax, dword [edi + 0xa00c]
mov ecx, dword [ebp - 0x1c]
xor ebx, dword [ecx + 0x2008]
xor eax, dword [ecx + 0x200c]
mov ecx, dword [ebp - 0x18]
xor ebx, dword [ecx + 0x1008]
xor eax, dword [ecx + 0x100c]
mov ecx, dword [ebp - 0x14]
xor ebx, dword [ecx + 0x9008]
xor eax, dword [ecx + 0x900c]
mov ecx, dword [ebp - 0x10]
xor ebx, dword [ecx + 8]
xor eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 8]
xor ebx, dword [ecx + 0xf008]
xor eax, dword [ecx + 0xf00c]
mov ecx, dword [ebp + 0xc]
cmp edx, 0x10
jae 0x430da0
mov edi, dword [ebp - 0x44]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x1c], eax
mov eax, edx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x40]
shr edx, 4
push ebx
push ebp
lea ebp, [0x574c28]
movdqa xmm0, xmmword [esi]
movdqu xmm4, xmmword [ecx]
pxor xmm0, xmm4
movd ebx, xmm0
mov eax, 0xf0f0f0f0
and eax, ebx
shl ebx, 4
and ebx, 0xf0f0f0f0
movzx edi, ah
movdqa xmm5, xmmword [esi + edi + 0x420]
movzx edi, al
movdqa xmm4, xmmword [esi + edi + 0x420]
shr eax, 0x10
movzx edi, ah
movdqa xmm3, xmmword [esi + edi + 0x420]
movzx edi, al
movdqa xmm2, xmmword [esi + edi + 0x420]
psrldq xmm0, 4
movd eax, xmm0
and eax, 0xf0f0f0f0
movzx edi, bh
pxor xmm5, xmmword [esi + edi + 0x20]
movzx edi, bl
pxor xmm4, xmmword [esi + edi + 0x20]
shr ebx, 0x10
movzx edi, bh
pxor xmm3, xmmword [esi + edi + 0x20]
movzx edi, bl
pxor xmm2, xmmword [esi + edi + 0x20]
movd ebx, xmm0
shl ebx, 4
and ebx, 0xf0f0f0f0
movzx edi, ah
pxor xmm5, xmmword [esi + edi + 0x520]
movzx edi, al
pxor xmm4, xmmword [esi + edi + 0x520]
shr eax, 0x10
movzx edi, ah
pxor xmm3, xmmword [esi + edi + 0x520]
movzx edi, al
pxor xmm2, xmmword [esi + edi + 0x520]
psrldq xmm0, 4
movd eax, xmm0
and eax, 0xf0f0f0f0
movzx edi, bh
pxor xmm5, xmmword [esi + edi + 0x120]
movzx edi, bl
pxor xmm4, xmmword [esi + edi + 0x120]
shr ebx, 0x10
movzx edi, bh
pxor xmm3, xmmword [esi + edi + 0x120]
movzx edi, bl
pxor xmm2, xmmword [esi + edi + 0x120]
movd ebx, xmm0
shl ebx, 4
and ebx, 0xf0f0f0f0
movzx edi, ah
pxor xmm5, xmmword [esi + edi + 0x620]
movzx edi, al
pxor xmm4, xmmword [esi + edi + 0x620]
shr eax, 0x10
movzx edi, ah
pxor xmm3, xmmword [esi + edi + 0x620]
movzx edi, al
pxor xmm2, xmmword [esi + edi + 0x620]
psrldq xmm0, 4
movd eax, xmm0
and eax, 0xf0f0f0f0
movzx edi, bh
pxor xmm5, xmmword [esi + edi + 0x220]
movzx edi, bl
pxor xmm4, xmmword [esi + edi + 0x220]
shr ebx, 0x10
movzx edi, bh
pxor xmm3, xmmword [esi + edi + 0x220]
movzx edi, bl
pxor xmm2, xmmword [esi + edi + 0x220]
movd ebx, xmm0
shl ebx, 4
and ebx, 0xf0f0f0f0
movzx edi, ah
pxor xmm5, xmmword [esi + edi + 0x720]
movzx edi, al
pxor xmm4, xmmword [esi + edi + 0x720]
shr eax, 0x10
movzx edi, ah
pxor xmm3, xmmword [esi + edi + 0x720]
movzx edi, al
pxor xmm2, xmmword [esi + edi + 0x720]
movzx edi, bh
pxor xmm5, xmmword [esi + edi + 0x320]
movzx edi, bl
pxor xmm4, xmmword [esi + edi + 0x320]
shr ebx, 0x10
movzx edi, bh
pxor xmm3, xmmword [esi + edi + 0x320]
movzx edi, bl
pxor xmm2, xmmword [esi + edi + 0x320]
movdqa xmm0, xmm3
pslldq xmm3, 1
pxor xmm2, xmm3
movdqa xmm1, xmm2
pslldq xmm2, 1
pxor xmm5, xmm2
psrldq xmm0, 0xf
movd edi, xmm0
movzx eax, word [ebp + edi*2]
shl eax, 8
movdqa xmm0, xmm5
pslldq xmm5, 1
pxor xmm4, xmm5
psrldq xmm1, 0xf
movd edi, xmm1
xor ax, word [ebp + edi*2]
shl eax, 8
psrldq xmm0, 0xf
movd edi, xmm0
xor ax, word [ebp + edi*2]
movd xmm0, eax
pxor xmm0, xmm4
add ecx, 0x10
sub edx, 1
jne 0x431150
movdqa xmmword [esi], xmm0
pop ebp
pop ebx
mov eax, dword [ebp + 0xc]
and eax, 0xf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x40]
shr edx, 4
movdqa xmm0, xmmword [esi]
movdqu xmm1, xmmword [ecx]
pxor xmm1, xmm0
pxor xmm0, xmm0
movd eax, xmm1
psrldq xmm1, 4
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x20]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x1020]
shr eax, 0x10
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x2020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x3020]
movd eax, xmm1
psrldq xmm1, 4
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x4020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x5020]
shr eax, 0x10
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x6020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x7020]
movd eax, xmm1
psrldq xmm1, 4
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x8020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x9020]
shr eax, 0x10
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0xa020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0xb020]
movd eax, xmm1
psrldq xmm1, 4
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0xc020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0xd020]
shr eax, 0x10
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0xe020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0xf020]
add ecx, 0x10
sub edx, 1
jne 0x4313d9
movdqa xmmword [esi], xmm0
mov eax, dword [ebp + 0xc]
pop edi
pop esi
and eax, 0xf
pop ebx
mov esp, ebp
pop ebp
ret 8