Function at 0x10004c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003bd88
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10051014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push 0
push 0x10040abf
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.100027c0
mov dword [ebp - 4], 0
mov al, byte [esi + 2]
cmp al, 0xff
jne 0x10004ca3
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.10005780
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10004e4e
inc ecx
push ecx
jmp 0x10004e46
cmp al, 1
jne 0x10004d0c
movaps xmm0, xmmword [0x10049670]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x727a
mov byte [ebp - 0x2e], 0
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x11
jb 0x10004cc0
cmp byte [ebp - 0x3f], 0
mov byte [ebp - 0x2e], 0
jne 0x10004ceb
xor ecx, ecx
lea eax, [ebp - 0x3f]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100027c0
jmp 0x10004e31
lea ecx, [ebp - 0x3f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004cf1
sub ecx, edx
lea eax, [ebp - 0x3f]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100027c0
jmp 0x10004e31
jle 0x10004d46
cmp al, 5
jge 0x10004d4a
movaps xmm0, xmmword [0x10048f90]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x17041e
mov byte [ebp - 0x30], 0
nop word [eax + eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x13
jb 0x10004d30
mov byte [ebp - 0x30], 0
jmp 0x10004e25
cmp al, 5
jl 0x10004d7c
cmp al, 0xa
jge 0x10004d80
movaps xmm0, xmmword [0x100494a0]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x55575142
mov byte [ebp - 0x30], 0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x13
jb 0x10004d66
mov byte [ebp - 0x30], 0
jmp 0x10004e25
cmp al, 0xa
jl 0x10004db3
cmp al, 0x1a
jge 0x10004db7
movaps xmm0, xmmword [0x100495f0]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x6d757e7b
mov byte [ebp - 0x30], 0
nop dword [eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x13
jb 0x10004da0
mov byte [ebp - 0x30], 0
jmp 0x10004e25
cmp al, 0x1a
jl 0x10004de8
cmp al, 0x65
jge 0x10004dec
movaps xmm0, xmmword [0x10049410]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x5255
mov byte [ebp - 0x2e], 0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x11
jb 0x10004dd2
mov byte [ebp - 0x2e], 0
lea eax, [ebp - 0x3f]
jmp 0x10004e28
cmp al, 0x65
jl 0x10004e31
movsx eax, al
cmp eax, 0xc9
jge 0x10004e31
movaps xmm0, xmmword [str.d__v_n]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0xd0a0d05
mov word [ebp - 0x30], 0x30a
mov byte [ebp - 0x2e], 0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x15
jb 0x10004e14
mov byte [ebp - 0x2e], 0
lea eax, [ebp - 0x43]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10005960
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.10005780
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10004e4e
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.100026c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10038745
mov esp, ebp
pop ebp
ret 4