Function at 0x10003f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087e9e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x100a8080]
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 0x100954f7
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.10005240
mov dword [ebp - 4], 0
mov al, byte [esi + 2]
mov dword [ebp - 0x28], 1
cmp al, 0xff
je 0x10004185
cmp al, 1
jne 0x10004036
movaps xmm0, xmmword [0x100a0340]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x7b73
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 0x10004010
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0xe], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004027
lea eax, [ebp - 0x1f]
jmp 0x1000417a
jle 0x10004185
xor ecx, ecx
cmp al, 5
jge 0x1000407c
movaps xmm0, xmmword [0x100a0040]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x4057445e
mov byte [ebp - 0x10], cl
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x10004057
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x10], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004070
jmp 0x10004177
cmp al, 0xa
jge 0x100040bc
movaps xmm0, xmmword [0x100a0060]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x57555340
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x10004096
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 0x100040b0
jmp 0x10004177
cmp al, 0x1a
jge 0x100040fc
movaps xmm0, xmmword [0x100a0290]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x746c6762
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x100040d6
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 0x100040f0
jmp 0x10004177
mov byte [ebp - 0xe], 0
cmp al, 0x65
jge 0x1000413c
movaps xmm0, xmmword [0x1009f7e0]
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0xc0b
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x11
jb 0x10004115
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 0x10004130
lea eax, [ebp - 0x1f]
jmp 0x1000417a
movaps xmm0, xmmword [0x100a0050]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x40474048
mov word [ebp - 0x10], 0x4e47
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x15
jb 0x10004154
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 0x10004170
lea eax, [ebp - 0x23]
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.10004f60
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