Function at 0x100478e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 4], eax
mov ecx, dword [eax]
inc dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov dword [eax + 4], edx
cmp edx, ecx
jne 0x10047822
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov byte [eax + 0xc], 1
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0xc], 0
jne 0x10047835
mov dword [edx + 8], eax
cmp edx, dword [ecx + 8]
jne 0x1004783d
mov dword [ecx + 8], eax
jmp 0x1004783d
mov dword [edx], eax
cmp edx, dword [ecx]
jne 0x1004783d
mov dword [ecx], eax
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xc], 0
jne 0x100479e5
push ebx
push esi
push edi
nop
mov ecx, dword [edx + 4]
lea edi, [edx + 4]
mov esi, dword [ecx + 4]
lea ebx, [ecx + 4]
mov eax, dword [esi]
cmp ecx, eax
jne 0x10047920
mov eax, dword [esi + 8]
cmp byte [eax + 0xc], 0
je 0x10047926
mov esi, dword [ecx + 8]
cmp edx, esi
jne 0x100478c1
mov eax, dword [esi]
mov edx, ecx
mov dword [edx + 8], eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1004788c
mov dword [eax + 4], edx
mov eax, dword [ebx]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp edx, dword [eax + 4]
jne 0x100478a6
mov dword [eax + 4], esi
mov edi, ebx
mov dword [esi], edx
mov dword [ebx], esi
jmp 0x100478c3
mov eax, dword [ebx]
cmp edx, dword [eax]
jne 0x100478b6
mov dword [eax], esi
mov edi, ebx
mov dword [esi], edx
mov dword [ebx], esi
jmp 0x100478c3
mov dword [eax + 8], esi
mov edi, ebx
mov dword [esi], edx
mov dword [ebx], esi
jmp 0x100478c3
mov esi, ecx
mov byte [esi + 0xc], 1
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov byte [eax + 0xc], 0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov esi, dword [ecx]
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x100478e8
mov dword [eax + 4], ecx
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp ecx, dword [eax + 4]
jne 0x10047903
mov dword [eax + 4], esi
mov dword [esi + 8], ecx
jmp 0x100479cf
mov eax, dword [ecx + 4]
cmp ecx, dword [eax + 8]
jne 0x10047916
mov dword [eax + 8], esi
mov dword [esi + 8], ecx
jmp 0x100479cf
mov dword [eax], esi
mov dword [esi + 8], ecx
jmp 0x100479cf
cmp byte [eax + 0xc], 0
jne 0x10047941
mov byte [ecx + 0xc], 1
mov byte [eax + 0xc], 1
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov byte [eax + 0xc], 0
mov eax, dword [edi]
mov edx, dword [eax + 4]
jmp 0x100479d2
mov eax, dword [ecx]
cmp edx, eax
jne 0x10047985
mov edx, ecx
mov ecx, eax
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x1004795c
mov dword [eax + 4], edx
mov eax, dword [ebx]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp edx, dword [eax + 4]
jne 0x10047970
mov dword [eax + 4], ecx
jmp 0x1004797e
mov eax, dword [ebx]
cmp edx, dword [eax + 8]
jne 0x1004797c
mov dword [eax + 8], ecx
jmp 0x1004797e
mov dword [eax], ecx
mov dword [ecx + 8], edx
mov edi, ebx
mov dword [ebx], ecx
mov byte [ecx + 0xc], 1
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov byte [eax + 0xc], 0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov esi, dword [ecx + 8]
mov eax, dword [esi]
mov dword [ecx + 8], eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100479aa
mov dword [eax + 4], ecx
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp ecx, dword [eax + 4]
jne 0x100479bf
mov dword [eax + 4], esi
jmp 0x100479cd
mov eax, dword [ecx + 4]
cmp ecx, dword [eax]
jne 0x100479ca
mov dword [eax], esi
jmp 0x100479cd
mov dword [eax + 8], esi
mov dword [esi], ecx
mov dword [ecx + 4], esi
mov eax, dword [edx + 4]
cmp byte [eax + 0xc], 0
je 0x10047850
mov ecx, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov eax, dword [ecx + 4]
mov byte [eax + 0xc], 1
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret 0xc