Function at 0x471280
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [esp + 0x54]
mov edi, 0xffffffe0
mov esi, 0xf
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
add edx, dword [esp + 0x64]
adc ecx, 0
xor eax, eax
cmp edi, edx
sbb esi, ecx
jb 0x4718fa
mov eax, dword [esp + 0x54]
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], ecx
cmp dword [eax + 0x16c], 0
je 0x4713a4
mov eax, dword [esp + 0x54]
mov dword [esp], 0
movzx edi, byte [eax + 0x4f]
mov esi, eax
mov ebx, edi
and ebx, 0xf
shl ebx, 4
mov eax, dword [eax + ebx + 0x60]
mov ecx, dword [esi + ebx + 0x64]
mov edx, dword [esi + ebx + 0x6c]
mov ebx, dword [esi + ebx + 0x68]
jmp 0x471346
mov edi, dword [esp]
mov esi, dword [esp + 0x54]
dec dword [esp]
movzx ebx, byte [esi + edi + 0x4e]
mov edi, dword [esp + 0x54]
mov esi, ecx
shr ecx, 4
shld esi, ebp, 0x1c
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
and edx, 0xf
mov dword [esp + 4], ebx
and ebx, 0xf
shl ebx, 4
xor ecx, dword [edi + ebx + 0x64]
mov edi, dword [esp + 4]
xor ecx, dword [edx*4 + 0x58128c]
mov edx, dword [esp + 0x54]
xor esi, dword [edx + ebx + 0x60]
xor ebp, dword [edx + ebx + 0x6c]
xor eax, dword [edx + ebx + 0x68]
mov ebx, eax
mov edx, ebp
mov eax, esi
mov esi, dword [esp + 0x54]
mov ebp, ecx
and edi, 0xfffffff0
shr ecx, 4
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
shld edx, ebx, 0x1c
and ebx, 0xf
xor ecx, dword [esi + edi + 0x64]
xor ebp, dword [esi + edi + 0x60]
xor eax, dword [esi + edi + 0x6c]
xor edx, dword [esi + edi + 0x68]
xor ecx, dword [ebx*4 + 0x58128c]
cmp dword [esp], 0xfffffff1
jne 0x4712f0
mov esi, dword [esp + 0x54]
bswap ecx
bswap ebp
bswap eax
bswap edx
mov dword [esi + 0x44], ebp
mov dword [esi + 0x40], ecx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x48], eax
mov dword [esi + 0x16c], 0
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x64]
mov eax, dword [eax + 0x168]
test eax, eax
je 0x471504
test esi, esi
je 0x4718eb
nop word [eax + eax]
mov edx, dword [esp + 0x54]
movzx ecx, byte [ebx]
inc ebx
mov ebp, edx
movzx edx, byte [edx + eax + 0x10]
xor dl, cl
mov byte [edi], dl
xor byte [ebp + eax + 0x40], cl
inc eax
inc edi
and eax, 0xf
cmp esi, 1
lea esi, [esi - 1]
je 0x4713f8
test eax, eax
jne 0x4713d0
test eax, eax
jne 0x4718eb
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], edi
mov dword [esp], 0
mov dword [esp + 0x10], ebx
movzx esi, byte [eax + 0x4f]
mov edi, eax
mov dword [esp + 4], esi
and esi, 0xf
shl esi, 4
mov eax, dword [eax + esi + 0x60]
mov ecx, dword [edi + esi + 0x64]
mov edx, dword [edi + esi + 0x6c]
mov edi, dword [edi + esi + 0x68]
jmp 0x471498
mov esi, dword [esp + 0x54]
mov ebx, ecx
shr ecx, 4
shld ebx, ebp, 0x1c
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
and edx, 0xf
mov edi, esi
mov esi, dword [esp]
dec dword [esp]
movzx esi, byte [edi + esi + 0x4e]
mov edi, dword [esp + 0x54]
mov dword [esp + 4], esi
and esi, 0xf
shl esi, 4
xor ecx, dword [edi + esi + 0x64]
xor ecx, dword [edx*4 + 0x58128c]
mov edx, dword [esp + 0x54]
xor eax, dword [edx + esi + 0x68]
xor ebx, dword [edx + esi + 0x60]
xor ebp, dword [edx + esi + 0x6c]
mov edi, eax
mov eax, ebx
mov ebx, dword [esp + 0x10]
mov edx, ebp
mov ebp, ecx
mov esi, dword [esp + 4]
shr ecx, 4
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
shld edx, edi, 0x1c
and edi, 0xf
mov dword [esp + 4], edi
mov edi, dword [esp + 0x54]
and esi, 0xfffffff0
xor ecx, dword [edi + esi + 0x64]
mov edi, dword [esp + 4]
xor ecx, dword [edi*4 + 0x58128c]
mov edi, dword [esp + 0x54]
xor ebp, dword [edi + esi + 0x60]
xor eax, dword [edi + esi + 0x6c]
xor edx, dword [edi + esi + 0x68]
cmp dword [esp], 0xfffffff1
jne 0x471440
mov esi, dword [esp + 0x54]
bswap ecx
bswap ebp
bswap eax
bswap edx
mov edi, dword [esp + 0xc]
mov dword [esi + 0x44], ebp
mov dword [esi + 0x40], ecx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x48], eax
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
mov edx, esi
and edx, 0xfffffff0
mov ecx, dword [eax + 0xc]
bswap ecx
je 0x4717ad
mov dword [esp + 0x38], ecx
mov ecx, esi
mov dword [esp + 0x24], edx
shr ecx, 4
mov dword [esp + 0x20], ecx
je 0x47177f
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x54]
mov ebp, ebx
mov dword [esp + 0x14], esi
mov esi, ecx
mov dword [esp + 0x10], ebp
mov al, byte [edi + 0x4c]
mov bl, byte [edi + 0x40]
mov dl, byte [edi + 0x44]
mov cl, byte [edi + 0x48]
mov ah, byte [edi + 0x4d]
mov bh, byte [edi + 0x41]
mov dh, byte [edi + 0x45]
mov ch, byte [edi + 0x49]
mov dword [esp + 4], eax
mov al, byte [edi + 0x42]
mov dword [esp + 0x2c], eax
mov al, byte [edi + 0x43]
mov dword [esp + 0x28], eax
mov al, byte [edi + 0x46]
mov dword [esp + 0x1c], eax
mov al, byte [edi + 0x47]
mov dword [esp + 0x30], eax
mov al, byte [edi + 0x4a]
mov dword [esp + 8], eax
mov al, byte [edi + 0x4b]
mov dword [esp + 0x34], eax
mov al, byte [edi + 0x4e]
mov dword [esp], eax
mov al, byte [edi + 0x4f]
mov dword [esp + 0x18], eax
nop word cs:[eax + eax]
xor bl, byte [ebp]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3c], esi
mov byte [eax + 0x40], bl
mov esi, eax
xor bh, byte [ebp + 1]
mov byte [eax + 0x41], bh
mov ebx, dword [esp + 0x2c]
xor bl, byte [ebp + 2]
mov byte [eax + 0x42], bl
mov ebx, dword [esp + 0x28]
xor bl, byte [ebp + 3]
mov byte [eax + 0x43], bl
xor dl, byte [ebp + 4]
mov byte [eax + 0x44], dl
xor dh, byte [ebp + 5]
mov byte [eax + 0x45], dh
mov edx, dword [esp + 0x1c]
xor dl, byte [ebp + 6]
mov byte [eax + 0x46], dl
mov edx, dword [esp + 0x30]
xor dl, byte [ebp + 7]
mov byte [eax + 0x47], dl
xor cl, byte [ebp + 8]
mov byte [eax + 0x48], cl
xor ch, byte [ebp + 9]
mov byte [eax + 0x49], ch
mov ecx, dword [esp + 8]
mov dword [esp + 8], ebp
xor cl, byte [ebp + 0xa]
mov byte [eax + 0x4a], cl
mov ecx, dword [esp + 0x34]
xor cl, byte [ebp + 0xb]
mov byte [eax + 0x4b], cl
mov ecx, dword [esp + 4]
xor cl, byte [ebp + 0xc]
mov byte [eax + 0x4c], cl
xor ch, byte [ebp + 0xd]
mov byte [eax + 0x4d], ch
mov ecx, dword [esp]
mov dword [esp], 0
xor cl, byte [ebp + 0xe]
mov byte [eax + 0x4e], cl
mov ecx, dword [esp + 0x18]
xor cl, byte [ebp + 0xf]
movzx ebp, cl
mov byte [eax + 0x4f], cl
mov eax, ebp
and eax, 0xf
shl eax, 4
mov edx, dword [esi + eax + 0x6c]
mov ecx, dword [esi + eax + 0x60]
mov ebx, dword [esi + eax + 0x64]
mov eax, dword [esi + eax + 0x68]
mov dword [esp + 4], edx
jmp 0x4716b0
mov eax, dword [esp]
mov ebp, dword [esp + 0x54]
mov esi, ebx
shr ebx, 4
dec dword [esp]
shld esi, edx, 0x1c
shld edx, ecx, 0x1c
shld ecx, edi, 0x1c
and edi, 0xf
movzx eax, byte [ebp + eax + 0x4e]
mov dword [esp + 0x18], eax
and eax, 0xf
shl eax, 4
xor ebx, dword [ebp + eax + 0x64]
xor edx, dword [ebp + eax + 0x6c]
xor esi, dword [ebp + eax + 0x60]
xor ecx, dword [ebp + eax + 0x68]
mov ebp, dword [esp + 0x18]
xor ebx, dword [edi*4 + 0x58128c]
mov eax, ecx
mov dword [esp + 4], edx
mov ecx, esi
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 4]
mov edx, ebx
and ebp, 0xfffffff0
shr ebx, 4
shld edx, ecx, 0x1c
xor ebx, dword [edi + ebp + 0x64]
shld ecx, esi, 0x1c
shld esi, eax, 0x1c
and eax, 0xf
xor edx, dword [edi + ebp + 0x60]
xor esi, dword [edi + ebp + 0x68]
xor ecx, dword [edi + ebp + 0x6c]
xor ebx, dword [eax*4 + 0x58128c]
cmp dword [esp], 0xfffffff1
mov edi, esi
jne 0x471660
bswap edx
bswap ebx
mov eax, edi
bswap ecx
mov ebp, dword [esp + 8]
mov edi, dword [esp + 0x54]
mov esi, edx
bswap eax
shr esi, 0x10
mov dword [esp + 4], eax
mov dword [esp + 0x1c], esi
mov esi, ebx
shr esi, 0x10
add ebp, 0x10
mov dword [edi + 0x44], edx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x4c], eax
mov dword [edi + 0x48], ecx
mov dword [esp + 0x2c], esi
mov esi, edx
shr esi, 0x18
mov dword [esp + 0x30], esi
mov esi, ebx
shr esi, 0x18
mov dword [esp + 0x28], esi
mov esi, eax
shr esi, 0x10
mov dword [esp], esi
mov esi, ecx
shr esi, 0x10
mov dword [esp + 8], esi
mov esi, eax
shr esi, 0x18
mov dword [esp + 0x18], esi
mov esi, ecx
shr esi, 0x18
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x3c]
dec esi
jne 0x4715a0
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
add ebx, edx
mov ebp, dword [esp + 0x54]
mov eax, ebx
sub eax, edx
push ebp
push dword [esp + 0x5c]
push ecx
push edi
push eax
call dword [esp + 0x7c]
add esp, 0x14
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
add ecx, dword [esp + 0x20]
add edi, edx
sub esi, edx
mov eax, ecx
bswap eax
mov dword [ebp + 0xc], eax
test esi, esi
je 0x4718e9
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
lea edi, [eax + 0x10]
mov ebp, eax
push dword [esp + 0x58]
push edi
push eax
mov ebx, ecx
call dword [eax + 0x170]
add esp, 0xc
inc ebx
xor eax, eax
cmp esi, 0x10
mov edx, 0
mov dword [esp + 0x14], esi
bswap ebx
mov dword [ebp + 0xc], ebx
mov ebx, esi
jb 0x4718b4
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x10]
lea ecx, [ecx + esi + 0x40]
lea ebp, [ebx + esi]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xc]
lea edx, [ecx + esi]
cmp edx, edi
mov dword [esp + 4], edx
mov edx, dword [esp + 8]
seta byte [esp]
cmp ecx, edx
setb byte [esp + 0x18]
cmp ebp, edi
seta byte [esp + 0x1c]
cmp ebx, edx
mov dl, byte [esp + 0x18]
setb byte [esp + 8]
cmp ecx, ebp
setb cl
cmp ebx, dword [esp + 4]
mov ebx, esi
setb ch
test byte [esp], dl
mov edx, 0
jne 0x4718b4
mov dl, byte [esp + 8]
mov ebx, esi
and byte [esp + 0x1c], dl
mov edx, 0
jne 0x4718b4
and cl, ch
mov edx, 0
mov ebx, esi
jne 0x4718b4
mov edx, esi
mov ebx, esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edi, edi
and edx, 0xfffffff0
sub ebx, edx
nop dword [eax + eax]
mov ebp, dword [esp + 0x54]
movups xmm0, xmmword [ecx + edi]
movups xmm1, xmmword [ebp + edi + 0x10]
movups xmm2, xmmword [ebp + edi + 0x40]
xorps xmm2, xmm0
xorps xmm1, xmm0
movups xmmword [ebp + edi + 0x40], xmm2
movups xmmword [esi + edi], xmm1
add edi, 0x10
cmp edx, edi
jne 0x471880
mov esi, dword [esp + 0x14]
cmp esi, edx
jne 0x4718b4
mov eax, esi
jmp 0x4718eb
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
lea edi, [esi + edx + 0x40]
mov esi, dword [esp + 0xc]
add ecx, edx
add esi, edx
nop dword [eax + eax]
movzx edx, byte [ecx + eax]
xor byte [edi + eax], dl
xor dl, byte [edi + eax - 0x30]
mov byte [esi + eax], dl
inc eax
cmp ebx, eax
jne 0x4718d0
mov eax, dword [esp + 0x14]
jmp 0x4718eb
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x168], eax
mov eax, 1
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret