Function at 0x10003fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10054548
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1006a018]
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 0x1005980b
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.100052b0
mov dword [ebp - 4], 0
mov al, byte [esi + 2]
cmp al, 0xff
jne 0x10004043
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.10004b50
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x100041ee
inc ecx
push ecx
jmp 0x100041e6
cmp al, 1
jne 0x100040ac
movaps xmm0, xmmword [0x10063b50]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x777f
mov byte [ebp - 0x2e], 0
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x11
jb 0x10004060
cmp byte [ebp - 0x3f], 0
mov byte [ebp - 0x2e], 0
jne 0x1000408b
xor ecx, ecx
lea eax, [ebp - 0x3f]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100052b0
jmp 0x100041d1
lea ecx, [ebp - 0x3f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004091
sub ecx, edx
lea eax, [ebp - 0x3f]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100052b0
jmp 0x100041d1
jle 0x100040e6
cmp al, 5
jge 0x100040ea
movaps xmm0, xmmword [0x10063a50]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x687f6c76
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 0x100040d0
mov byte [ebp - 0x30], 0
jmp 0x100041c5
cmp al, 5
jl 0x1000411c
cmp al, 0xa
jge 0x10004120
movaps xmm0, xmmword [0x10062da0]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x6040211
mov byte [ebp - 0x30], 0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x13
jb 0x10004106
mov byte [ebp - 0x30], 0
jmp 0x100041c5
cmp al, 0xa
jl 0x10004153
cmp al, 0x1a
jge 0x10004157
movaps xmm0, xmmword [0x10063a70]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x6b73787d
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 0x10004140
mov byte [ebp - 0x30], 0
jmp 0x100041c5
cmp al, 0x1a
jl 0x10004188
cmp al, 0x65
jge 0x1000418c
movaps xmm0, xmmword [0x10062d50]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x1512
mov byte [ebp - 0x2e], 0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x11
jb 0x10004172
mov byte [ebp - 0x2e], 0
lea eax, [ebp - 0x3f]
jmp 0x100041c8
cmp al, 0x65
jl 0x100041d1
movsx eax, al
cmp eax, 0xc9
jge 0x100041d1
movaps xmm0, xmmword [0x10063b00]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x6265626a
mov word [ebp - 0x30], 0x6c65
mov byte [ebp - 0x2e], 0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x15
jb 0x100041b4
mov byte [ebp - 0x2e], 0
lea eax, [ebp - 0x43]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004d30
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.10004b50
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100041ee
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.10005180
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.10052ee0
mov esp, ebp
pop ebp
ret 4