Function at 0x45d750
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, dword [esp + 0x40]
xor eax, eax
mov ecx, dword [edi + 0x38]
or ecx, dword [edi + 0x3c]
jne 0x45db55
mov ebx, dword [esp + 0x48]
mov edx, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
add edx, ebx
mov esi, edx
adc ecx, 0
neg esi
mov esi, 0x20000000
sbb esi, ecx
jb 0x45db55
mov dword [edi + 0x30], edx
mov dword [edi + 0x34], ecx
mov ebp, dword [esp + 0x44]
mov eax, dword [edi + 0x174]
test eax, eax
je 0x45d8aa
test ebx, ebx
je 0x45d7cd
nop word cs:[eax + eax]
nop
movzx ecx, byte [ebp]
inc ebp
xor byte [edi + eax + 0x40], cl
inc eax
and eax, 0xf
cmp ebx, 1
lea ebx, [ebx - 1]
je 0x45d7c9
test eax, eax
jne 0x45d7b0
test eax, eax
je 0x45d7d8
mov dword [edi + 0x174], eax
jmp 0x45db50
movzx esi, byte [edi + 0x4f]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebp
mov dword [esp], 0
mov ebx, esi
and ebx, 0xf
shl ebx, 4
mov eax, dword [edi + ebx + 0x60]
mov ecx, dword [edi + ebx + 0x64]
mov edx, dword [edi + ebx + 0x6c]
mov ebx, dword [edi + ebx + 0x68]
jmp 0x45d85a
mov esi, dword [esp]
dec dword [esp]
movzx ebx, byte [edi + esi + 0x4e]
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]
xor esi, dword [edi + ebx + 0x60]
xor eax, dword [edi + ebx + 0x68]
xor ebp, dword [edi + ebx + 0x6c]
xor ecx, dword [edx*4 + 0x52be14]
mov ebx, eax
mov eax, esi
mov esi, dword [esp + 4]
mov edx, ebp
mov ebp, ecx
and esi, 0xfffffff0
shr ecx, 4
xor ecx, dword [edi + esi + 0x64]
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
shld edx, ebx, 0x1c
and ebx, 0xf
xor ebp, dword [edi + esi + 0x60]
xor eax, dword [edi + esi + 0x6c]
xor edx, dword [edi + esi + 0x68]
xor ecx, dword [ebx*4 + 0x52be14]
cmp dword [esp], 0xfffffff1
jne 0x45d810
bswap ebp
mov ebx, dword [esp + 0x10]
bswap ecx
bswap eax
bswap edx
mov dword [edi + 0x44], ebp
mov ebp, dword [esp + 0xc]
mov dword [edi + 0x40], ecx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x48], eax
cmp ebx, 0x10
jb 0x45dade
mov al, byte [edi + 0x40]
mov ah, byte [edi + 0x41]
mov cl, byte [edi + 0x4a]
mov dl, byte [edi + 0x4e]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], eax
mov al, byte [edi + 0x44]
mov ah, byte [edi + 0x45]
mov dword [esp + 4], eax
mov al, byte [edi + 0x48]
mov ah, byte [edi + 0x49]
mov dword [esp], eax
mov al, byte [edi + 0x4c]
mov ah, byte [edi + 0x4d]
mov dword [esp + 0x24], eax
mov al, byte [edi + 0x42]
mov dword [esp + 0x1c], eax
mov al, byte [edi + 0x43]
mov dword [esp + 0x14], eax
mov al, byte [edi + 0x46]
mov dword [esp + 0x20], eax
mov al, byte [edi + 0x47]
mov dword [esp + 0x18], eax
mov al, byte [edi + 0x4b]
mov esi, eax
mov al, byte [edi + 0x4f]
nop dword [eax + eax]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0xc], ebp
xor bl, byte [ebp]
mov byte [edi + 0x40], bl
xor bh, byte [ebp + 1]
mov byte [edi + 0x41], bh
mov ebx, dword [esp + 0x1c]
xor bl, byte [ebp + 2]
mov byte [edi + 0x42], bl
mov ebx, dword [esp + 0x14]
xor bl, byte [ebp + 3]
mov byte [edi + 0x43], bl
mov ebx, edx
mov edx, dword [esp + 4]
xor dl, byte [ebp + 4]
mov byte [edi + 0x44], dl
xor dh, byte [ebp + 5]
mov byte [edi + 0x45], dh
mov edx, dword [esp + 0x20]
xor dl, byte [ebp + 6]
mov byte [edi + 0x46], dl
mov edx, dword [esp + 0x18]
xor dl, byte [ebp + 7]
mov byte [edi + 0x47], dl
mov edx, dword [esp]
mov dword [esp], 0
xor dl, byte [ebp + 8]
mov byte [edi + 0x48], dl
xor dh, byte [ebp + 9]
mov byte [edi + 0x49], dh
xor cl, byte [ebp + 0xa]
mov byte [edi + 0x4a], cl
mov ecx, esi
xor cl, byte [ebp + 0xb]
mov byte [edi + 0x4b], cl
mov ecx, dword [esp + 0x24]
xor cl, byte [ebp + 0xc]
mov byte [edi + 0x4c], cl
xor ch, byte [ebp + 0xd]
mov byte [edi + 0x4d], ch
xor bl, byte [ebp + 0xe]
mov byte [edi + 0x4e], bl
xor al, byte [ebp + 0xf]
movzx edx, al
mov byte [edi + 0x4f], al
mov eax, edi
mov dword [esp + 8], edx
and edx, 0xf
shl edx, 4
mov ebp, dword [edi + edx + 0x60]
mov esi, dword [edi + edx + 0x64]
mov edi, dword [edi + edx + 0x6c]
mov ecx, dword [eax + edx + 0x68]
jmp 0x45da1e
mov esi, dword [esp]
mov ecx, ebp
mov ebp, edx
dec dword [esp]
movzx ebx, byte [edi + esi + 0x4e]
mov esi, eax
mov eax, edx
mov edx, dword [esp + 4]
shr eax, 4
mov dword [esp + 8], ebx
and ebx, 0xf
shld ebp, edx, 0x1c
shld edx, ecx, 0x1c
shld ecx, esi, 0x1c
and esi, 0xf
shl ebx, 4
xor eax, dword [edi + ebx + 0x64]
xor edx, dword [edi + ebx + 0x6c]
xor ebp, dword [edi + ebx + 0x60]
xor ecx, dword [edi + ebx + 0x68]
xor eax, dword [esi*4 + 0x52be14]
mov edi, edx
mov esi, eax
mov ebx, dword [esp + 8]
mov edx, esi
mov eax, edi
shld esi, ebp, 0x1c
shld ebp, edi, 0x1c
mov edi, dword [esp + 0x40]
shr edx, 4
shld eax, ecx, 0x1c
and ecx, 0xf
and ebx, 0xfffffff0
xor edx, dword [edi + ebx + 0x64]
xor esi, dword [edi + ebx + 0x60]
xor ebp, dword [edi + ebx + 0x6c]
xor eax, dword [edi + ebx + 0x68]
xor edx, dword [ecx*4 + 0x52be14]
cmp dword [esp], 0xfffffff1
mov dword [esp + 4], esi
jne 0x45d9d0
mov esi, dword [esp + 4]
bswap edx
bswap ebp
mov ebx, dword [esp + 0x28]
add dword [esp + 0xc], 0x10
bswap eax
mov dword [edi + 0x40], edx
mov dword [esp], ebp
mov ecx, edx
mov dword [esp + 8], edx
shr edx, 0x18
mov dword [esp + 0x24], eax
shr ecx, 0x10
mov dword [esp + 0x14], edx
mov edx, eax
mov dword [esp + 0x1c], ecx
shr edx, 0x10
bswap esi
add ebx, 0xfffffff0
mov dword [edi + 0x44], esi
mov dword [edi + 0x48], ebp
mov ebp, esi
mov dword [esp + 4], esi
shr esi, 0x18
mov dword [edi + 0x4c], eax
shr eax, 0x18
mov dword [esp + 0x18], esi
mov esi, dword [esp]
shr ebp, 0x10
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0xc]
mov ecx, esi
shr esi, 0x18
shr ecx, 0x10
cmp ebx, 0xf
ja 0x45d910
mov ebx, dword [esp + 0x10]
and ebx, 0xf
test ebx, ebx
je 0x45db4a
xor eax, eax
cmp ebx, 0x20
jb 0x45db3d
lea ecx, [edi + 0x40]
lea edx, [ebp + ebx]
cmp edx, ecx
jbe 0x45dafc
lea ecx, [edi + ebx + 0x40]
cmp ebp, ecx
jb 0x45db3d
mov eax, ebx
xor ecx, ecx
and eax, 0xffffffe0
nop word cs:[eax + eax]
nop dword [eax]
movups xmm0, xmmword [ebp + ecx]
movups xmm2, xmmword [edi + ecx + 0x40]
movups xmm1, xmmword [ebp + ecx + 0x10]
movups xmm3, xmmword [edi + ecx + 0x50]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [edi + ecx + 0x40], xmm2
movups xmmword [edi + ecx + 0x50], xmm3
add ecx, 0x20
cmp eax, ecx
jne 0x45db10
jmp 0x45db46
mov cl, byte [ebp + eax]
xor byte [edi + eax + 0x40], cl
inc eax
cmp ebx, eax
jne 0x45db3d
mov dword [edi + 0x174], ebx
mov eax, 1
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret