Function at 0x10003580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005cbbe
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1007a040]
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 0x100696e2
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.10004850
mov dword [ebp - 4], 0
mov al, byte [esi + 2]
mov dword [ebp - 0x28], 1
cmp al, 0xff
je 0x10003785
cmp al, 1
jne 0x10003636
movaps xmm0, xmmword [0x10073a60]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x3e36
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 0x10003610
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0xe], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003627
lea eax, [ebp - 0x1f]
jmp 0x1000377a
jle 0x10003785
xor ecx, ecx
cmp al, 5
jge 0x1000367c
movaps xmm0, xmmword [0x10073bd0]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x56415248
mov byte [ebp - 0x10], cl
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x10003657
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x10], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003670
jmp 0x10003777
cmp al, 0xa
jge 0x100036bc
movaps xmm0, xmmword [0x100739a0]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x21232536
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x10003696
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 0x100036b0
jmp 0x10003777
cmp al, 0x1a
jge 0x100036fc
movaps xmm0, xmmword [0x10073c20]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x4d555e5b
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x100036d6
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 0x100036f0
jmp 0x10003777
mov byte [ebp - 0xe], 0
cmp al, 0x65
jge 0x1000373c
movaps xmm0, xmmword [0x100738d0]
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x80f
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x11
jb 0x10003715
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 0x10003730
lea eax, [ebp - 0x1f]
jmp 0x1000377a
movaps xmm0, xmmword [0x10073cf0]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x7a7d7a72
mov word [ebp - 0x10], 0x747d
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x15
jb 0x10003754
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 0x10003770
lea eax, [ebp - 0x23]
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.10004570
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