Function at 0x10004f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a88de
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x100c90c0]
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 0x100b68a3
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.10002620
mov dword [ebp - 4], 0
mov al, byte [esi + 2]
mov dword [ebp - 0x28], 1
cmp al, 0xff
je 0x10005165
cmp al, 1
jne 0x10005016
movaps xmm0, xmmword [0x100bfc20]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x5e56
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 0x10004ff0
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0xe], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005007
lea eax, [ebp - 0x1f]
jmp 0x1000515a
jle 0x10005165
xor ecx, ecx
cmp al, 5
jge 0x1000505c
movaps xmm0, xmmword [0x100bfc10]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x4e594a50
mov byte [ebp - 0x10], cl
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x10005037
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x10], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005050
jmp 0x10005157
cmp al, 0xa
jge 0x1000509c
movaps xmm0, xmmword [0x100bf0b0]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x6040211
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x10005076
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 0x10005090
jmp 0x10005157
cmp al, 0x1a
jge 0x100050dc
movaps xmm0, xmmword [0x100bf1f0]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0xa12191c
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x13
jb 0x100050b6
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 0x100050d0
jmp 0x10005157
mov byte [ebp - 0xe], 0
cmp al, 0x65
jge 0x1000511c
movaps xmm0, xmmword [0x100bf5e0]
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x3631
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x11
jb 0x100050f5
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 0x10005110
lea eax, [ebp - 0x1f]
jmp 0x1000515a
movaps xmm0, xmmword [0x100bf4f0]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x3334333b
mov word [ebp - 0x10], 0x3d34
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x15
jb 0x10005134
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 0x10005150
lea eax, [ebp - 0x23]
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.10005f40
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