Function at 0x46dd30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x58]
mov esi, 0xffffffe0
mov ebx, 0xf
mov edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
add edx, ebp
adc ecx, 0
xor eax, eax
cmp esi, edx
sbb ebx, ecx
jb 0x46e33e
mov dword [edi + 0x38], edx
mov dword [edi + 0x3c], ecx
mov esi, edi
cmp dword [edi + 0x174], 0
je 0x46de68
movzx esi, byte [esi + 0x4f]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x48]
mov dword [esp], 0
mov dword [esp + 8], esi
and esi, 0xf
shl esi, 4
mov eax, dword [eax + esi + 0x60]
mov ecx, dword [ecx + esi + 0x64]
mov edx, dword [edx + esi + 0x6c]
mov ebx, dword [edi + esi + 0x68]
mov esi, dword [esp + 0x48]
jmp 0x46de0a
mov edi, dword [esp]
mov ebx, dword [esp + 0x48]
dec dword [esp]
movzx esi, byte [esi + edi + 0x4e]
mov edi, ecx
shr ecx, 4
shld edi, ebp, 0x1c
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
and edx, 0xf
mov dword [esp + 8], esi
and esi, 0xf
shl esi, 4
xor ecx, dword [ebx + esi + 0x64]
xor ecx, dword [edx*4 + 0x593524]
mov edx, dword [esp + 0x48]
xor edi, dword [edx + esi + 0x60]
mov edx, dword [esp + 0x48]
xor ebp, dword [edx + esi + 0x6c]
mov edx, dword [esp + 0x48]
xor eax, dword [edx + esi + 0x68]
mov esi, dword [esp + 0x48]
mov edx, ebp
mov ebx, eax
mov eax, edi
mov edi, dword [esp + 8]
mov ebp, ecx
shr ecx, 4
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
shld edx, ebx, 0x1c
and ebx, 0xf
and edi, 0xfffffff0
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 + 0x593524]
cmp dword [esp], 0xfffffff1
jne 0x46ddb0
bswap ebp
bswap ecx
bswap eax
bswap edx
mov dword [esi + 0x44], ebp
mov ebp, dword [esp + 0x58]
mov dword [esi + 0x40], ecx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x48], eax
mov dword [esi + 0x174], 0
mov eax, dword [esi + 0x170]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
test eax, eax
je 0x46dfb4
test ebp, ebp
je 0x46e333
nop word cs:[eax + eax]
movzx ecx, byte [esi + eax + 0x10]
xor cl, byte [ebx]
inc ebx
mov byte [edx], cl
xor byte [esi + eax + 0x40], cl
inc eax
inc edx
and eax, 0xf
cmp ebp, 1
lea ebp, [ebp - 1]
je 0x46deaf
test eax, eax
jne 0x46de90
test eax, eax
jne 0x46e333
mov dword [esp + 0xc], ebx
movzx ebx, byte [esi + 0x4f]
mov dword [esp + 4], edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x18], ebp
mov dword [esp], 0
mov esi, ebx
and esi, 0xf
shl esi, 4
mov eax, dword [eax + esi + 0x60]
mov ecx, dword [ecx + esi + 0x64]
mov edx, dword [edx + esi + 0x6c]
mov ebp, dword [edi + esi + 0x68]
mov esi, dword [esp + 0x48]
jmp 0x46df5e
mov ebx, dword [esp]
mov ebp, dword [esp + 0x48]
dec dword [esp]
movzx esi, byte [esi + ebx + 0x4e]
mov ebx, ecx
shr ecx, 4
shld ebx, edi, 0x1c
shld edi, eax, 0x1c
shld eax, edx, 0x1c
and edx, 0xf
mov dword [esp + 8], esi
and esi, 0xf
shl esi, 4
xor ecx, dword [ebp + esi + 0x64]
xor ecx, dword [edx*4 + 0x593524]
mov edx, dword [esp + 0x48]
xor ebx, dword [edx + esi + 0x60]
mov edx, dword [esp + 0x48]
xor edi, dword [edx + esi + 0x6c]
mov edx, dword [esp + 0x48]
xor eax, dword [edx + esi + 0x68]
mov esi, dword [esp + 0x48]
mov edx, edi
mov ebp, eax
mov eax, ebx
mov ebx, dword [esp + 8]
mov edi, ecx
and ebx, 0xfffffff0
shr ecx, 4
xor ecx, dword [esi + ebx + 0x64]
shld edi, eax, 0x1c
shld eax, edx, 0x1c
shld edx, ebp, 0x1c
and ebp, 0xf
xor edi, dword [esi + ebx + 0x60]
xor eax, dword [esi + ebx + 0x6c]
xor edx, dword [esi + ebx + 0x68]
xor ecx, dword [ebp*4 + 0x593524]
cmp dword [esp], 0xfffffff1
jne 0x46df00
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
bswap ecx
bswap edi
bswap eax
bswap edx
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], ecx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x48], eax
jmp 0x46dfb8
mov dword [esp + 4], edx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x4c]
mov eax, ebp
mov edi, esi
and eax, 0xfffffff0
bswap ecx
je 0x46e226
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov esi, ebp
shr esi, 4
push edi
push edx
push esi
push dword [esp + 0x10]
push ebx
mov dword [esp + 0x30], ecx
call eax
mov ecx, dword [esp + 0x30]
add esp, 0x14
mov edx, dword [esp]
add ecx, esi
mov dword [esp + 0x30], esi
mov eax, ecx
bswap eax
mov dword [edi + 0xc], eax
add ebx, edx
sub ebp, edx
test esi, esi
je 0x46e237
mov al, byte [edi + 0x4c]
mov ah, byte [edi + 0x4d]
mov dword [esp + 0x18], ebp
mov dl, byte [edi + 0x44]
mov dword [esp + 0x1c], ecx
mov cl, byte [edi + 0x40]
mov dword [esp + 0xc], ebx
mov bl, byte [edi + 0x48]
mov ch, byte [edi + 0x41]
mov dh, byte [edi + 0x45]
mov bh, byte [edi + 0x49]
mov esi, edi
mov dword [esp + 0x2c], eax
mov al, byte [edi + 0x42]
mov dword [esp + 0x24], eax
mov al, byte [edi + 0x43]
mov dword [esp + 0x20], eax
mov al, byte [edi + 0x46]
mov dword [esp + 0x10], eax
mov al, byte [edi + 0x47]
mov dword [esp + 0x28], eax
mov al, byte [edi + 0x4a]
mov dword [esp + 0x14], eax
mov al, byte [edi + 0x4b]
mov ebp, eax
mov al, byte [edi + 0x4e]
mov dword [esp], eax
mov al, byte [edi + 0x4f]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
nop
xor cl, byte [eax]
mov dword [esp + 4], eax
mov edi, esi
mov byte [esi + 0x40], cl
xor ch, byte [eax + 1]
mov byte [esi + 0x41], ch
mov ecx, dword [esp + 0x24]
xor cl, byte [eax + 2]
mov byte [esi + 0x42], cl
mov ecx, dword [esp + 0x20]
xor cl, byte [eax + 3]
mov byte [esi + 0x43], cl
mov ecx, dword [esp + 0x10]
xor dl, byte [eax + 4]
mov byte [esi + 0x44], dl
xor dh, byte [eax + 5]
mov byte [esi + 0x45], dh
xor cl, byte [eax + 6]
mov byte [esi + 0x46], cl
mov ecx, dword [esp + 0x28]
xor cl, byte [eax + 7]
mov byte [esi + 0x47], cl
mov ecx, dword [esp + 0x14]
xor bl, byte [eax + 8]
mov byte [esi + 0x48], bl
xor bh, byte [eax + 9]
mov byte [esi + 0x49], bh
xor cl, byte [eax + 0xa]
mov byte [esi + 0x4a], cl
mov ecx, ebp
xor cl, byte [eax + 0xb]
mov byte [esi + 0x4b], cl
mov ecx, dword [esp + 0x2c]
xor cl, byte [eax + 0xc]
mov byte [esi + 0x4c], cl
xor ch, byte [eax + 0xd]
mov byte [esi + 0x4d], ch
mov ecx, dword [esp]
mov dword [esp], 0
xor cl, byte [eax + 0xe]
mov byte [esi + 0x4e], cl
mov ecx, dword [esp + 8]
xor cl, byte [eax + 0xf]
movzx ebp, cl
mov byte [esi + 0x4f], cl
mov edx, ebp
and edx, 0xf
shl edx, 4
mov ebx, dword [esi + edx + 0x60]
mov ecx, dword [esi + edx + 0x64]
mov eax, dword [esi + edx + 0x6c]
mov esi, dword [esi + edx + 0x68]
jmp 0x46e170
mov edi, dword [esp]
dec dword [esp]
movzx ebp, byte [esi + edi + 0x4e]
mov edi, esi
mov esi, ebp
mov dword [esp + 8], ebp
mov ebp, eax
mov eax, edx
mov edx, ecx
shr ecx, 4
and esi, 0xf
shld edx, eax, 0x1c
shld eax, ebx, 0x1c
shld ebx, ebp, 0x1c
and ebp, 0xf
shl esi, 4
xor ecx, dword [edi + esi + 0x64]
xor edx, dword [edi + esi + 0x60]
xor ebx, dword [edi + esi + 0x68]
xor eax, dword [edi + esi + 0x6c]
xor ecx, dword [ebp*4 + 0x593524]
mov ebp, dword [esp + 8]
mov esi, ebx
mov ebx, edx
mov edx, ecx
and ebp, 0xfffffff0
shr ecx, 4
xor ecx, dword [edi + ebp + 0x64]
shld edx, ebx, 0x1c
shld ebx, eax, 0x1c
shld eax, esi, 0x1c
and esi, 0xf
xor edx, dword [edi + ebp + 0x60]
xor ebx, dword [edi + ebp + 0x6c]
xor eax, dword [edi + ebp + 0x68]
xor ecx, dword [esi*4 + 0x593524]
cmp dword [esp], 0xfffffff1
mov esi, edi
jne 0x46e120
bswap edx
bswap ecx
bswap eax
bswap ebx
mov ebp, edx
mov edi, eax
mov eax, dword [esp + 4]
mov dword [esi + 0x44], edx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x48], ebx
shr ebp, 0x10
mov dword [esp + 0x2c], edi
mov dword [esi + 0x4c], edi
mov dword [esp + 0x10], ebp
mov ebp, ecx
shr ebp, 0x10
mov dword [esp + 0x24], ebp
mov ebp, edx
add eax, 0x10
shr ebp, 0x18
mov dword [esp + 0x28], ebp
mov ebp, ecx
shr ebp, 0x18
mov dword [esp + 0x20], ebp
mov ebp, edi
shr ebp, 0x10
mov dword [esp], ebp
mov ebp, ebx
shr ebp, 0x10
mov dword [esp + 0x14], ebp
mov ebp, edi
shr ebp, 0x18
mov dword [esp + 8], ebp
mov ebp, ebx
shr ebp, 0x18
dec dword [esp + 0x30]
jne 0x46e070
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
jmp 0x46e23d
mov eax, dword [esp + 4]
mov esi, edi
test ebp, ebp
jne 0x46e245
xor eax, eax
jmp 0x46e333
mov eax, dword [esp + 4]
mov esi, edi
mov edx, dword [esp + 0x4c]
test ebp, ebp
je 0x46e230
mov dword [esp + 4], eax
mov edi, esi
lea eax, [esi + 0x10]
push edx
mov dword [esp + 4], eax
push eax
push esi
mov esi, ecx
call dword [edi + 0x168]
add esp, 0xc
inc esi
xor eax, eax
cmp ebp, 0x10
bswap esi
mov dword [edi + 0xc], esi
jae 0x46e27a
mov esi, edi
mov edi, dword [esp + 4]
mov ecx, ebp
jmp 0x46e320
mov ecx, dword [esp + 4]
lea esi, [edi + ebp + 0x40]
lea edi, [ebx + ebp]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], esi
cmp ecx, esi
mov esi, dword [esp]
lea edx, [ecx + ebp]
setb byte [esp + 8]
cmp edx, esi
seta byte [esp + 0x10]
cmp ecx, edi
setb cl
cmp ebx, edx
mov ch, byte [esp + 0x10]
setb dh
cmp edi, esi
seta dl
cmp ebx, dword [esp + 0x14]
setb bl
test byte [esp + 8], ch
jne 0x46e312
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 4]
and cl, dh
jne 0x46e30a
and dl, bl
jne 0x46e30a
mov ebx, dword [esp + 0xc]
mov eax, ebp
mov ecx, ebp
xor edx, edx
and eax, 0xfffffff0
sub ecx, eax
movups xmm0, xmmword [ebx + edx]
movups xmm1, xmmword [esi + edx + 0x10]
xorps xmm1, xmm0
movups xmmword [edi + edx], xmm1
movups xmm0, xmmword [esi + edx + 0x40]
xorps xmm0, xmm1
movups xmmword [esi + edx + 0x40], xmm0
add edx, 0x10
cmp eax, edx
jne 0x46e2e0
cmp ebp, eax
jne 0x46e320
jmp 0x46e333
mov ebx, dword [esp + 0xc]
mov ecx, ebp
jmp 0x46e320
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 4]
mov ebx, dword [esp + 0xc]
mov ecx, ebp
movzx edx, byte [esi + eax + 0x10]
xor dl, byte [ebx + eax]
mov byte [edi + eax], dl
xor byte [esi + eax + 0x40], dl
inc eax
dec ecx
jne 0x46e320
mov dword [esi + 0x170], eax
mov eax, 1
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret