Function at 0x1003dbf4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword fs:[0x2c]
mov edx, dword [0x101bf848]
push ebx
push esi
push edi
mov edx, dword [eax + edx*4]
mov eax, dword [0x101c6508]
mov dword [ebp - 8], ecx
cmp eax, dword [edx + 4]
jg 0x1003dbfc
jmp 0x1003dbed
mov al, byte [ecx]
inc ecx
test al, al
je 0x1003dc62
jmp 0x1003dbc0
mov al, byte [ecx]
inc ecx
test al, al
je 0x1003dcc0
jmp 0x1003dbd0
mov al, byte [edx]
inc edx
test al, al
je 0x1003dcef
jmp 0x1003dbe0
mov eax, dword [0x101c6510]
add eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x101c6508
call fcn.100774e5
add esp, 4
cmp dword [0x101c6508], 0xffffffff
jne 0x1003dbed
movaps xmm0, xmmword [0x101b0450]
xor ecx, ecx
mov ebx, dword [0x101be6b8]
mov dword [ebp - 4], ebx
movups xmmword [ebp - 0x1b], xmm0
mov word [ebp - 0xb], 0x3831
mov byte [ebp - 9], 0
jmp 0x1003dc34
mov al, byte [ebp - 0x1b]
xor byte [ebp + ecx - 0x1a], al
inc ecx
cmp ecx, 0x11
jb 0x1003dc34
lea ecx, [ebp - 0x1a]
mov byte [ebp - 9], 0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
jmp 0x1003dbc0
sub ecx, edx
lea eax, [ebp - 0x1a]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000f300
mov cl, 0x3c
mov dword [ebp - 0x15], 0x6368783c
mov dword [ebp - 0x11], 0x506c6f7f
xor eax, eax
mov dword [ebp - 0xd], 0x4e59455d
mov byte [ebp - 9], 0
jmp 0x1003dc90
xor byte [ebp + eax - 0x14], cl
inc eax
cmp eax, 0xb
jae 0x1003dc9f
mov cl, byte [ebp - 0x15]
jmp 0x1003dc90
lea ecx, [ebp - 0x14]
mov byte [ebp - 9], 0
mov dword [ebp - 0x24], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
jmp 0x1003dbd0
sub ecx, edx
lea eax, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1000f300
cmp dword [ebp - 0x24], 0
je 0x1003dd33
mov esi, dword [ebx + 0x18]
cmp esi, dword [ebx + 0x1c]
je 0x1003dd33
jmp 0x1003dce0
mov edi, dword [esi]
mov ebx, dword [edi + 0xc]
mov edx, ebx
lea ecx, [edx + 1]
jmp 0x1003dbe0
sub edx, ecx
cmp dword [ebp - 0x20], 0x10
push edx
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
push ebx
call fcn.10010a30
add esp, 8
test al, al
jne 0x1003dd1a
mov eax, dword [ebp - 4]
add esi, 4
cmp esi, dword [eax + 0x1c]
jne 0x1003dce0
jmp 0x1003dd33
test edi, edi
je 0x1003dd33
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x4c]
push 0
push eax
push edi
call fcn.10143520
test eax, eax
jne 0x1003dd37
jmp 0x1003dd33
xor eax, eax
jmp 0x1003dd37
mov dword [0x101c6510], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x1003dd72
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003dd66
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003dd9a
jmp 0x1003dd66
push ecx
push edx
call fcn.1007739f
add esp, 8
jmp 0x1003dd72
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x1003ddab
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003dd9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003dd9f
jmp 0x1003dd9a
call fcn.10084c47
push edx
push ecx
call fcn.1007739f
add esp, 8
jmp 0x1003ddab
push 0x101c6508
call fcn.1007749b
add esp, 4
jmp 0x1003dbed