Function at 0x103a630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov dword [esp + 8], ecx
cmp dword [ecx + 8], 0
je 0x103a6e0
mov eax, dword [esp + 8]
mov edx, dword [eax]
test edx, edx
je 0x103a6e0
mov dword [esp], 0x60616263
mov eax, 0x86ceb5bc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x79314a44]
xor ecx, eax
mov esi, ecx
and esi, 0x6c01575
xor ecx, 0x17d05d75
lea ebx, [ecx + esi*2]
mov edi, 0x60
sub edi, ebx
lea ecx, [ecx + esi*2]
add ecx, 0x1f
and edi, 0x75
and ecx, 0x8a
or ecx, 1
sub ecx, edi
mov byte [esp + eax + 0x79314a44], cl
inc eax
cmp eax, 0x86ceb5c0
jne 0x103a670
mov eax, dword [esp]
mov ecx, dword [0xd6965c]
test ecx, ecx
je 0x103a729
xor ebx, ebx
mov esi, dword [0xd69660]
nop
nop
nop
nop
nop
nop
cmp dword [esi + ebx*8], 0xddb7c3f3
je 0x103a70c
inc ebx
cmp ecx, ebx
jne 0x103a6d0
jmp 0x103a729
mov dword [esp], 0xc1809f96
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xee
xor cl, byte [esp + eax]
add cl, 0x90
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x103a6f0
mov eax, dword [esp]
jmp 0x103a8fb
mov ecx, dword [esi + ebx*8 + 4]
cmp ecx, eax
je 0x103a729
push dword [ebp + 8]
push edx
push 8
push ecx
push dword [0xd69664]
call fcn.0103ba80
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x103a82d
cmp eax, 0xc000010a
jne 0x103a82d
mov edi, dword [ebp + 0xc]
mov ecx, edi
and ecx, 0x270f
mov ebx, edi
and ebx, 0xffffd8f0
mov eax, ebx
xor eax, 0xffffd8f0
mul ecx
mov dword [esp + 0xc], eax
mov esi, edx
mov eax, edi
or eax, 0xffffd8f0
mul ebx
sub esi, ecx
sub edx, ebx
add eax, dword [esp + 0xc]
adc edx, esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 8]
mov ebx, dword [eax]
mov dword [esp + 0x10], 0x60616263
mov eax, 0x86ceb5bc
nop
nop
nop
movzx ecx, byte [esp + eax + 0x79314a54]
xor ecx, eax
mov edx, ecx
and edx, 0x6c01575
xor ecx, 0x17d05d75
lea esi, [ecx + edx*2]
mov edi, 0x60
sub edi, esi
lea ecx, [ecx + edx*2]
add ecx, 0x1f
and edi, 0x75
and ecx, 0x8a
or ecx, 1
sub ecx, edi
mov byte [esp + eax + 0x79314a54], cl
inc eax
cmp eax, 0x86ceb5c0
jne 0x103a790
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x103a7df
mov esi, esp
mov eax, dword [esp + 0x10]
mov ecx, dword [0xd6965c]
test ecx, ecx
je 0x103a82d
mov edi, ebx
xor ebx, ebx
mov edx, dword [0xd69660]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ebx*8], 0xa67d73aa
je 0x103a810
inc ebx
cmp ecx, ebx
jne 0x103a800
jmp 0x103a82d
mov ecx, dword [edx + ebx*8 + 4]
cmp ecx, eax
je 0x103a82d
push esi
push 0
push edi
push 0xc
push ecx
push dword [0xd69664]
call fcn.0103ba80
add esp, 0x18
test eax, eax
js 0x103a8fb
mov ecx, dword [esp + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x103a8fb
mov dword [esp + 0xc], ecx
mov dword [esp], 0x60616263
mov esi, 0x86ceb5bc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + esi + 0x79314a44]
xor ecx, esi
mov edi, ecx
and edi, 0x6c01575
xor ecx, 0x17d05d75
lea ebx, [ecx + edi*2]
mov edx, 0x60
sub edx, ebx
lea ecx, [ecx + edi*2]
add ecx, 0x1f
and edx, 0x75
and ecx, 0x8a
or ecx, 1
sub ecx, edx
mov byte [esp + esi + 0x79314a44], cl
inc esi
cmp esi, 0x86ceb5c0
jne 0x103a860
mov ecx, dword [0xd6965c]
test ecx, ecx
je 0x103a8f1
mov edx, dword [esp]
xor ebx, ebx
mov esi, dword [0xd69660]
nop
nop
nop
nop
nop
cmp dword [esi + ebx*8], 0xb430e561
je 0x103a8d0
inc ebx
cmp ecx, ebx
jne 0x103a8c0
jmp 0x103a8f1
mov ecx, dword [esi + ebx*8 + 4]
cmp ecx, edx
je 0x103a8f1
push dword [esp + 0xc]
push 4
push ecx
push dword [0xd69664]
mov esi, eax
call fcn.0103ba80
mov eax, esi
add esp, 0x10
mov ecx, dword [esp + 8]
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8