Function at 0x10047744
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 0x100475e2
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 0x100475f5
mov dword [edx + 8], eax
cmp edx, dword [ecx + 8]
jne 0x100475fd
mov dword [ecx + 8], eax
jmp 0x100475fd
mov dword [edx], eax
cmp edx, dword [ecx]
jne 0x100475fd
mov dword [ecx], eax
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xc], 0
jne 0x100477a5
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 0x100476e0
mov eax, dword [esi + 8]
cmp byte [eax + 0xc], 0
je 0x100476e6
mov esi, dword [ecx + 8]
cmp edx, esi
jne 0x10047681
mov eax, dword [esi]
mov edx, ecx
mov dword [edx + 8], eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1004764c
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 0x10047666
mov dword [eax + 4], esi
mov edi, ebx
mov dword [esi], edx
mov dword [ebx], esi
jmp 0x10047683
mov eax, dword [ebx]
cmp edx, dword [eax]
jne 0x10047676
mov dword [eax], esi
mov edi, ebx
mov dword [esi], edx
mov dword [ebx], esi
jmp 0x10047683
mov dword [eax + 8], esi
mov edi, ebx
mov dword [esi], edx
mov dword [ebx], esi
jmp 0x10047683
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 0x100476a8
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 0x100476c3
mov dword [eax + 4], esi
mov dword [esi + 8], ecx
jmp 0x1004778f
mov eax, dword [ecx + 4]
cmp ecx, dword [eax + 8]
jne 0x100476d6
mov dword [eax + 8], esi
mov dword [esi + 8], ecx
jmp 0x1004778f
mov dword [eax], esi
mov dword [esi + 8], ecx
jmp 0x1004778f
cmp byte [eax + 0xc], 0
jne 0x10047701
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 0x10047792
mov eax, dword [ecx]
cmp edx, eax
jne 0x10047745
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 0x1004771c
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 0x10047730
mov dword [eax + 4], ecx
jmp 0x1004773e
mov eax, dword [ebx]
cmp edx, dword [eax + 8]
jne 0x1004773c
mov dword [eax + 8], ecx
jmp 0x1004773e
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 0x1004776a
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 0x1004777f
mov dword [eax + 4], esi
jmp 0x1004778d
mov eax, dword [ecx + 4]
cmp ecx, dword [eax]
jne 0x1004778a
mov dword [eax], esi
jmp 0x1004778d
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 0x10047610
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