Function at 0x100051c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9c48
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100d6084]
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 0x100bfa5f
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.10002840
mov dword [ebp - 4], 0
mov al, byte [esi + 2]
cmp al, 0xff
jne 0x10005254
lea eax, [ebp - 0x2c]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov ecx, edi
push eax
mov byte [edi], 0
call fcn.10005dd0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10005412
inc ecx
push ecx
jmp 0x10005407
cmp al, 1
jne 0x100052bc
movaps xmm0, xmmword [0x100c8b90]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x343c
mov byte [ebp - 0x2e], 0
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x11
jb 0x10005270
cmp byte [ebp - 0x3f], 0
mov byte [ebp - 0x2e], 0
jne 0x1000529b
xor ecx, ecx
lea eax, [ebp - 0x3f]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002840
jmp 0x100053e1
lea ecx, [ebp - 0x3f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100052a1
sub ecx, edx
lea eax, [ebp - 0x3f]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002840
jmp 0x100053e1
jle 0x100052f6
cmp al, 5
jge 0x100052fa
movaps xmm0, xmmword [0x100c8ea0]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x4b5c4f55
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 0x100052e0
mov byte [ebp - 0x30], 0
jmp 0x100053d5
cmp al, 5
jl 0x1000532c
cmp al, 0xa
jge 0x10005330
movaps xmm0, xmmword [0x100c8d80]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x46444251
mov byte [ebp - 0x30], 0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x13
jb 0x10005316
mov byte [ebp - 0x30], 0
jmp 0x100053d5
cmp al, 0xa
jl 0x10005363
cmp al, 0x1a
jge 0x10005367
movaps xmm0, xmmword [0x100c8460]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0xf171c19
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 0x10005350
mov byte [ebp - 0x30], 0
jmp 0x100053d5
cmp al, 0x1a
jl 0x10005398
cmp al, 0x65
jge 0x1000539c
movaps xmm0, xmmword [0x100c8660]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x304
mov byte [ebp - 0x2e], 0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x11
jb 0x10005382
mov byte [ebp - 0x2e], 0
lea eax, [ebp - 0x3f]
jmp 0x100053d8
cmp al, 0x65
jl 0x100053e1
movsx eax, al
cmp eax, 0xc9
jge 0x100053e1
movaps xmm0, xmmword [0x100c8920]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x2b2c2b23
mov word [ebp - 0x30], 0x252c
mov byte [ebp - 0x2e], 0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x15
jb 0x100053c4
mov byte [ebp - 0x2e], 0
lea eax, [ebp - 0x43]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10005fd0
lea eax, [ebp - 0x2c]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov ecx, edi
push eax
mov byte [edi], 0
call fcn.10005dd0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10005412
inc eax
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.10002720
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.1006e1c5
mov esp, ebp
pop ebp
ret 4