Function at 0x10003f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d12e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x100ad040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], edi
mov ecx, edi
mov dword [ebp - 0x28], 1
push 0
movups xmmword [edi], xmm0
push 0x1009a6d7
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.100051e0
mov dword [ebp - 4], 0
mov al, byte [esi + 2]
mov dword [ebp - 0x28], 1
cmp al, 0xff
je 0x10004115
cmp al, 1
jne 0x10003fc6
movaps xmm0, xmmword [0x100a51b0]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x424a
mov byte [ebp - 0xe], 0
nop dword [eax]
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x11
jb 0x10003fa0
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0xe], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003fb7
lea eax, [ebp - 0x1f]
jmp 0x1000410a
jle 0x10004115
xor ecx, ecx
cmp al, 5
jge 0x1000400c
movaps xmm0, xmmword [0x100a4c90]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x392e3d27
mov byte [ebp - 0x10], cl
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x10003fe7
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x10], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004000
jmp 0x10004107
cmp al, 0xa
jge 0x1000404c
movaps xmm0, xmmword [0x100a4a00]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0xf0d0b18
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x10004026
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x10], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004040
jmp 0x10004107
cmp al, 0x1a
jge 0x1000408c
movaps xmm0, xmmword [0x100a5780]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x667e7570
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x10004066
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x10], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004080
jmp 0x10004107
mov byte [ebp - 0xe], 0
cmp al, 0x65
jge 0x100040cc
movaps xmm0, xmmword [0x100a4ff0]
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x2225
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x11
jb 0x100040a5
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0xe], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100040c0
lea eax, [ebp - 0x1f]
jmp 0x1000410a
movaps xmm0, xmmword [0x100a5700]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x6e696e66
mov word [ebp - 0x10], 0x6069
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x15
jb 0x100040e4
lea ecx, [ebp - 0x23]
mov byte [ebp - 0xe], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004100
lea eax, [ebp - 0x23]
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.10004f00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4