Function at 0x47d3b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [esp + 0x4c]
mov esi, 0xffffffe0
mov edi, 0xf
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
add edx, dword [esp + 0x5c]
adc ecx, 0
xor eax, eax
cmp esi, edx
sbb edi, ecx
jb 0x47db38
mov eax, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [eax + 0x168]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ecx
cmp dword [esi + 0x174], 0
mov dword [esp + 0x20], eax
je 0x47d4da
mov edi, dword [esp + 0x4c]
mov dword [esp], 0
movzx ebx, byte [edi + 0x4f]
mov esi, ebx
and esi, 0xf
shl esi, 4
mov eax, dword [edi + esi + 0x60]
mov ecx, dword [edi + esi + 0x64]
mov edx, dword [edi + esi + 0x6c]
mov ebp, dword [edi + esi + 0x68]
jmp 0x47d480
mov ebx, dword [esp]
mov edi, dword [esp + 0x4c]
dec dword [esp]
movzx ebx, byte [edi + ebx + 0x4e]
mov ebp, ebx
mov dword [esp + 0xc], ebx
mov ebx, ecx
shr ecx, 4
and ebp, 0xf
shld ebx, esi, 0x1c
shld esi, eax, 0x1c
shld eax, edx, 0x1c
and edx, 0xf
shl ebp, 4
xor ecx, dword [edi + ebp + 0x64]
xor ebx, dword [edi + ebp + 0x60]
xor eax, dword [edi + ebp + 0x68]
xor esi, dword [edi + ebp + 0x6c]
xor ecx, dword [edx*4 + 0x522730]
mov ebp, eax
mov eax, ebx
mov ebx, dword [esp + 0xc]
mov edx, esi
mov esi, ecx
and ebx, 0xfffffff0
shr ecx, 4
xor ecx, dword [edi + ebx + 0x64]
shld esi, eax, 0x1c
shld eax, edx, 0x1c
shld edx, ebp, 0x1c
and ebp, 0xf
xor esi, dword [edi + ebx + 0x60]
xor eax, dword [edi + ebx + 0x6c]
xor edx, dword [edi + ebx + 0x68]
xor ecx, dword [ebp*4 + 0x522730]
cmp dword [esp], 0xfffffff1
jne 0x47d430
mov edi, dword [esp + 0x4c]
bswap ecx
bswap esi
bswap eax
bswap edx
mov dword [edi + 0x44], esi
mov dword [edi + 0x40], ecx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x48], eax
mov dword [edi + 0x174], 0
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
mov eax, dword [eax + 0x170]
test eax, eax
je 0x47d61a
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x47db29
mov ecx, dword [esp + 0x4c]
mov edi, ecx
movzx ecx, byte [ecx + eax + 0x10]
xor cl, byte [esi]
inc esi
mov byte [ebx], cl
xor byte [edi + eax + 0x40], cl
inc eax
inc ebx
and eax, 0xf
cmp edx, 1
lea edx, [edx - 1]
je 0x47d525
test eax, eax
jne 0x47d500
test eax, eax
jne 0x47db29
mov edi, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 4], edx
mov dword [esp], 0
movzx ebx, byte [edi + 0x4f]
mov esi, ebx
and esi, 0xf
shl esi, 4
mov eax, dword [edi + esi + 0x60]
mov ecx, dword [edi + esi + 0x64]
mov edx, dword [edi + esi + 0x6c]
mov ebp, dword [edi + esi + 0x68]
jmp 0x47d5c0
mov ebx, dword [esp]
mov edi, dword [esp + 0x4c]
dec dword [esp]
movzx ebx, byte [edi + ebx + 0x4e]
mov ebp, ebx
mov dword [esp + 0xc], ebx
mov ebx, ecx
shr ecx, 4
and ebp, 0xf
shld ebx, esi, 0x1c
shld esi, eax, 0x1c
shld eax, edx, 0x1c
and edx, 0xf
shl ebp, 4
xor ecx, dword [edi + ebp + 0x64]
xor ebx, dword [edi + ebp + 0x60]
xor eax, dword [edi + ebp + 0x68]
xor esi, dword [edi + ebp + 0x6c]
xor ecx, dword [edx*4 + 0x522730]
mov ebp, eax
mov eax, ebx
mov ebx, dword [esp + 0xc]
mov edx, esi
mov esi, ecx
and ebx, 0xfffffff0
shr ecx, 4
xor ecx, dword [edi + ebx + 0x64]
shld esi, eax, 0x1c
shld eax, edx, 0x1c
shld edx, ebp, 0x1c
and ebp, 0xf
xor esi, dword [edi + ebx + 0x60]
xor eax, dword [edi + ebx + 0x6c]
xor edx, dword [edi + ebx + 0x68]
xor ecx, dword [ebp*4 + 0x522730]
cmp dword [esp], 0xfffffff1
jne 0x47d570
mov edi, dword [esp + 0x4c]
bswap ecx
bswap esi
bswap eax
bswap edx
mov ebx, dword [esp + 8]
mov dword [edi + 0x44], esi
mov dword [edi + 0x40], ecx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x48], eax
mov edi, dword [esp + 4]
jmp 0x47d622
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
cmp edi, 0xc00
mov eax, dword [eax + 0xc]
bswap eax
mov dword [esp + 0x18], eax
jb 0x47d85c
mov eax, dword [esp + 0x4c]
lea eax, [eax + 0x10]
mov dword [esp + 0x30], eax
nop word [eax + eax]
mov edx, ebx
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esp + 4], edi
mov edi, 0xfffffff0
mov esi, 0x10
mov dword [esp + 0x24], edx
lea edx, [edx - 0xbe2]
mov dword [esp + 0x14], edx
inc ebx
mov dword [esp + 0x28], eax
jmp 0x47d690
add dword [esp + 0x14], 0x10
mov ecx, dword [esp + 0x50]
add edi, 0xfffffff0
inc ebx
add esi, 0x10
push ecx
push dword [esp + 0x34]
mov eax, dword [esp + 0x54]
mov ebp, eax
push eax
call dword [esp + 0x2c]
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
bswap eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
xor eax, dword [ecx + esi - 0x10]
mov dword [edx + esi - 0x10], eax
mov eax, dword [ebp + 0x14]
xor eax, dword [ecx + esi - 0xc]
mov dword [edx + esi - 0xc], eax
mov eax, dword [ebp + 0x18]
xor eax, dword [ecx + esi - 8]
mov dword [edx + esi - 8], eax
mov eax, dword [ebp + 0x1c]
xor eax, dword [ecx + esi - 4]
cmp edi, 0xfffff400
mov dword [edx + esi - 4], eax
jne 0x47d680
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], edi
mov dl, byte [eax + 0x4f]
mov eax, dword [esp + 0x28]
lea esi, [ecx + esi - 0xc00]
sub eax, edi
mov dword [esp + 0x10], eax
mov eax, ecx
sub eax, edi
mov dword [esp + 8], eax
mov eax, 0xc00
nop word [eax + eax]
xor dl, byte [esi + 0xf]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], esi
mov dword [esp], 0
movzx edi, dl
mov eax, edi
and eax, 0xf
shl eax, 4
mov ebx, dword [ecx + eax + 0x60]
mov esi, dword [ecx + eax + 0x64]
mov edx, dword [ecx + eax + 0x6c]
mov ebp, dword [ecx + eax + 0x68]
mov eax, edi
jmp 0x47d7be
mov ebp, dword [esp]
mov eax, dword [esp + 0x14]
dec dword [esp]
movzx ecx, byte [eax + ebp]
mov eax, dword [esp + 0x4c]
xor cl, byte [eax + ebp + 0x4e]
mov ebp, eax
movzx eax, cl
mov ecx, ebp
mov ebp, eax
mov dword [esp + 0xc], eax
mov eax, esi
shr esi, 4
and ebp, 0xf
shld eax, edi, 0x1c
shld edi, ebx, 0x1c
shld ebx, edx, 0x1c
and edx, 0xf
shl ebp, 4
xor esi, dword [ecx + ebp + 0x64]
xor eax, dword [ecx + ebp + 0x60]
xor ebx, dword [ecx + ebp + 0x68]
xor edi, dword [ecx + ebp + 0x6c]
xor esi, dword [edx*4 + 0x522730]
mov ebp, ebx
mov ebx, eax
mov eax, dword [esp + 0xc]
mov edx, edi
mov edi, esi
and eax, 0xfffffff0
shr esi, 4
xor esi, dword [ecx + eax + 0x64]
shld edi, ebx, 0x1c
shld ebx, edx, 0x1c
shld edx, ebp, 0x1c
and ebp, 0xf
xor edi, dword [ecx + eax + 0x60]
xor ebx, dword [ecx + eax + 0x6c]
xor edx, dword [ecx + eax + 0x68]
xor esi, dword [ebp*4 + 0x522730]
cmp dword [esp], 0xfffffff1
jne 0x47d760
mov eax, dword [esp + 0x4c]
bswap edi
bswap esi
bswap ebx
bswap edx
add dword [esp + 0x14], 0x10
mov dword [eax + 0x40], esi
mov dword [eax + 0x44], edi
mov esi, dword [esp + 0x1c]
mov dword [eax + 0x4c], edx
mov dword [eax + 0x48], ebx
mov eax, dword [esp + 0x34]
shr edx, 0x18
add esi, 0x10
add eax, 0xfffffff0
jne 0x47d720
mov edi, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0x50]
add edi, 0xfffff400
cmp edi, 0xbff
ja 0x47d650
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
sub eax, edx
sub ebx, edx
mov dword [esp + 0x10], eax
mov eax, edi
and eax, 0xfffffff0
je 0x47da57
cmp edi, 0x10
mov dword [esp + 4], edi
jb 0x47d8f6
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
lea eax, [eax + 0x10]
mov dword [esp + 0xc], eax
mov eax, edi
mov edi, dword [esp + 0x18]
nop dword [eax]
mov dword [esp], eax
push ecx
push dword [esp + 0x10]
mov eax, dword [esp + 0x54]
mov ebp, eax
push eax
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
add esp, 0xc
inc edi
mov eax, edi
bswap eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
xor eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebp + 0x14]
xor eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x18]
xor eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x1c]
xor eax, dword [esi + 0xc]
add esi, 0x10
mov dword [ebx + 0xc], eax
mov eax, dword [esp]
add ebx, 0x10
add eax, 0xfffffff0
cmp eax, 0xf
ja 0x47d890
mov eax, dword [esp + 0x1c]
and dword [esp + 4], 0xf
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
sub ebx, eax
mov cl, byte [ecx + 0x4f]
nop word cs:[eax + eax]
nop dword [eax]
xor cl, byte [ebx + 0xf]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
mov dword [esp], 0
movzx edi, cl
mov eax, edi
and eax, 0xf
shl eax, 4
mov edx, dword [ebp + eax + 0x60]
mov ebx, dword [ebp + eax + 0x64]
mov ecx, dword [ebp + eax + 0x6c]
mov eax, dword [ebp + eax + 0x68]
jmp 0x47d9ab
mov ebp, dword [esp]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
dec dword [esp]
movzx eax, byte [eax + ebp + 0xe]
xor al, byte [edi + ebp + 0x4e]
mov ebp, edi
mov edi, ebx
shr ebx, 4
shld edi, esi, 0x1c
shld esi, edx, 0x1c
shld edx, ecx, 0x1c
and ecx, 0xf
movzx eax, al
mov dword [esp + 0xc], eax
and eax, 0xf
shl eax, 4
xor ebx, dword [ebp + eax + 0x64]
xor edi, dword [ebp + eax + 0x60]
xor edx, dword [ebp + eax + 0x68]
xor esi, dword [ebp + eax + 0x6c]
xor ebx, dword [ecx*4 + 0x522730]
mov eax, edx
mov edx, edi
mov edi, dword [esp + 0xc]
mov ecx, esi
mov esi, ebx
and edi, 0xfffffff0
shr ebx, 4
xor ebx, dword [ebp + edi + 0x64]
shld esi, edx, 0x1c
shld edx, ecx, 0x1c
shld ecx, eax, 0x1c
and eax, 0xf
xor esi, dword [ebp + edi + 0x60]
xor edx, dword [ebp + edi + 0x6c]
xor ecx, dword [ebp + edi + 0x68]
xor ebx, dword [eax*4 + 0x522730]
cmp dword [esp], 0xfffffff1
jne 0x47d950
mov eax, dword [esp + 0x4c]
bswap ebx
bswap esi
bswap edx
bswap ecx
mov dword [eax + 0x40], ebx
mov dword [eax + 0x44], esi
mov ebx, dword [esp + 0x14]
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x48], edx
mov eax, dword [esp + 0x1c]
shr ecx, 0x18
add ebx, 0x10
add eax, 0xfffffff0
jne 0x47d910
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x50]
test edi, edi
je 0x47da5f
mov eax, dword [esp + 0x4c]
lea ebx, [eax + 0x10]
mov esi, eax
push ecx
push ebx
push eax
mov dword [esp + 0x10], edi
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
add esp, 0xc
mov eax, dword [esp + 0x18]
inc eax
bswap eax
mov dword [esi + 0xc], eax
xor eax, eax
cmp ecx, 0x10
jae 0x47da66
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 8]
jmp 0x47db10
mov dword [esp + 8], ebx
test edi, edi
jne 0x47da1e
xor eax, eax
jmp 0x47db29
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 8]
lea ebp, [esi + ecx + 0x40]
mov esi, dword [esp + 0x10]
lea edi, [edx + ecx]
cmp edx, ebp
setb byte [esp]
cmp edi, ebx
seta byte [esp + 0xc]
lea ecx, [esi + ecx]
cmp edx, ecx
setb byte [esp + 0x14]
cmp esi, edi
setb dh
cmp ecx, ebx
mov ch, byte [esp + 0xc]
seta dl
cmp esi, ebp
setb bl
test byte [esp], ch
jne 0x47db00
and byte [esp + 0x14], dh
jne 0x47db00
and dl, bl
jne 0x47db00
mov ecx, dword [esp + 4]
mov edi, dword [esp + 8]
xor edx, edx
mov eax, ecx
and eax, 0xfffffff0
sub ecx, eax
nop word cs:[eax + eax]
nop dword [eax]
mov ebx, dword [esp + 0x4c]
movups xmm0, xmmword [esi + edx]
movups xmm1, xmmword [ebx + edx + 0x10]
xorps xmm1, xmm0
movups xmmword [edi + edx], xmm1
movups xmm0, xmmword [ebx + edx + 0x40]
xorps xmm0, xmm1
movups xmmword [ebx + edx + 0x40], xmm0
add edx, 0x10
cmp eax, edx
jne 0x47dad0
cmp dword [esp + 4], eax
jne 0x47db10
jmp 0x47db29
mov ecx, dword [esp + 4]
mov edi, dword [esp + 8]
nop dword [eax + eax]
mov edx, dword [esp + 0x4c]
mov ebx, edx
movzx edx, byte [edx + eax + 0x10]
xor dl, byte [esi + eax]
mov byte [edi + eax], dl
xor byte [ebx + eax + 0x40], dl
inc eax
dec ecx
jne 0x47db10
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x170], eax
mov eax, 1
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret