Function at 0x1003dca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ea35
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100b7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [eax]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x8c], ecx
mov cl, byte [ebp + 0x10]
mov byte [ebp - 0x41], cl
mov dword [ebp - 0x94], esi
test edi, edi
je 0x1003e1bf
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003e1bf
push 4
add edi, 0xfc
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003e1bf
cmp byte [edi], al
je 0x1003e1bf
cmp dword [ebp + 8], eax
je 0x1003e1bf
cmp byte [ebp - 0x41], 4
jae 0x1003e1bf
mov ecx, 0xd78c9c
call fcn.100184a0
cmp byte [eax + 0x64c], 0
je 0x1003e1bf
cmp dword [0x100ba9dc], 0
je 0x1003e1bf
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
mov eax, dword [eax + 0x144]
mov dword [ebp - 0x90], eax
test eax, eax
je 0x1003e1bf
mov ecx, 0xd78d1c
call fcn.100184a0
mov edi, eax
test edi, edi
je 0x1003dda8
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003dda8
mov edx, dword [edi + 0x1c]
mov dword [ebp - 0x48], edx
mov edx, dword [edi + 0x20]
mov dword [ebp - 0x88], edx
jmp 0x1003ddb9
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x88], 0
movzx eax, byte [ebp - 0x41]
mov ecx, dword [ebp - 0x84]
mov edi, dword [ecx + eax*4 + 4]
test edi, edi
je 0x1003e1bf
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003e1bf
push dword [ebp - 0x88]
mov eax, dword [0x100ae53c]
mov ecx, edi
push dword [ebp - 0x48]
call eax
test al, al
je 0x1003e1bf
mov eax, dword [0x100ba9dc]
mov edx, esi
push 0x2c
cmp dword [eax + 0x44], esi
jae 0x1003dfa6
lea ecx, [ebp - 0x64]
call fcn.10013c80
add esp, 4
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0xf
jbe 0x1003de26
mov eax, dword [eax]
movaps xmm0, xmmword [0x100af470]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], 0x90f051e
mov dword [ebp - 0x6c], 0x494c564c
mov word [ebp - 0x68], 0x1f
mov al, byte [ebp - 0x80]
xor byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x18
jb 0x1003de48
sub esp, 0x18
mov byte [ebp - 0x67], 0
mov edx, esp
lea ecx, [ebp - 0x7f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003de78
sub ecx, esi
lea eax, [ebp - 0x7f]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x28]
push eax
call fcn.1000ae50
add esp, 0x20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x1003ded1
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003dec7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e1dc
push ecx
push edx
call fcn.1007fa46
add esp, 8
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x54], 0
cmova ecx, dword [ebp - 0x28]
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003def1
sub ecx, edx
mov dword [ebp - 0x48], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
push esi
mov edi, eax
push 0
push edi
call fcn.10081b50
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
push dword [ebp - 0x48]
cmova ecx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push ecx
push esi
call fcn.100815d0
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x8c]
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
push edi
mov dword [eax], edi
call fcn.1007fa54
mov esi, dword [ebp - 0x90]
add esp, 0x20
mov edi, dword [ebp + 8]
mov esi, dword [esi + 0x144]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003df6f
push esi
mov ecx, edi
call dword [0x100ae5b0]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1003e1bf
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e1b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e1e1
jmp 0x1003e1b5
lea ecx, [ebp - 0x80]
call fcn.10013c80
add esp, 4
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 0xf
jbe 0x1003dfc0
mov eax, dword [eax]
movaps xmm0, xmmword [0x100afae0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x53555f44
mov dword [ebp - 0x50], 0x13160c16
mov word [ebp - 0x4c], 0x45
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0x18
jb 0x1003dfe2
sub esp, 0x18
mov byte [ebp - 0x4b], 0
mov edx, esp
lea ecx, [ebp - 0x63]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e012
sub ecx, esi
lea eax, [ebp - 0x63]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x40]
push eax
call fcn.1000ae50
add esp, 0x20
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1003e06b
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e061
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e1e6
push ecx
push edx
call fcn.1007fa46
add esp, 8
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x70], 0
cmova ecx, dword [ebp - 0x40]
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e090
sub ecx, edx
mov dword [ebp - 0x48], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
push esi
mov edi, eax
push 0
push edi
call fcn.10081b50
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
push dword [ebp - 0x48]
cmova ecx, dword [ebp - 0x40]
lea esi, [edi + 0x20]
push ecx
push esi
call fcn.100815d0
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x8c]
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
push edi
mov dword [eax], edi
call fcn.1007fa54
mov esi, dword [ebp - 0x90]
add esp, 0x20
mov ecx, dword [ebp - 0x94]
mov esi, dword [esi + 0x140]
cmp ecx, 0x3b9aca00
jl 0x1003e10a
mov esi, 0xff00fff6
jmp 0x1003e176
cmp ecx, 0x5f5e100
jl 0x1003e119
mov esi, 0xffff00ea
jmp 0x1003e176
cmp ecx, 0x989680
jl 0x1003e128
mov esi, 0xfffc9601
jmp 0x1003e176
cmp ecx, 0xf4240
jl 0x1003e137
mov esi, 0xff00d939
jmp 0x1003e176
cmp ecx, 0x186a0
jge 0x1003e176
cmp ecx, 0x2710
jl 0x1003e14e
mov esi, 0xff00fff6
jmp 0x1003e176
cmp ecx, 0x3e8
jl 0x1003e15d
mov esi, 0xffff00ea
jmp 0x1003e176
cmp ecx, 0x64
jl 0x1003e169
mov esi, 0xfffc9601
jmp 0x1003e176
cmp ecx, 0xa
mov eax, 0xff00d939
cmovl eax, esi
mov esi, eax
mov edi, dword [ebp + 8]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003e18f
push esi
mov ecx, edi
call dword [0x100ae5b0]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1003e1bf
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e1b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e1eb
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f9e5
mov esp, ebp
pop ebp
ret 0x10
call fcn.10084bdf
call fcn.10084bdf
call fcn.10084bdf
call fcn.10084bdf
int3