Function at 0x100c59f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017fabd
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
push 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10048f80
lea ecx, [ebp - 0x2c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 1
mov edx, dword [esi + 8]
mov byte [esi + 4], 0
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x100c5a8a
xor bh, bh
jmp 0x100c5a98
push edx
lea ecx, [esi + 0x10]
call fcn.1004f5c0
mov edx, dword [esi + 8]
mov bh, byte [eax]
lea eax, [edx + 1]
mov ecx, esi
mov dword [esi + 8], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100800e0
mov esi, eax
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x100c5abf
xor bl, bl
jmp 0x100c5acd
push edx
lea ecx, [esi + 0x10]
call fcn.1004f5c0
mov edx, dword [esi + 8]
mov bl, byte [eax]
inc edx
mov dword [esi + 8], edx
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x100c5ae2
xor cl, cl
jmp 0x100c5af0
push edx
lea ecx, [esi + 0x10]
call fcn.1004f5c0
mov edx, dword [esi + 8]
mov cl, byte [eax]
lea eax, [edx + 1]
mov dword [esi + 8], eax
movzx eax, bh
sub eax, 1
je 0x100c5bdc
sub eax, 1
jne 0x100c5d04
cmp dword [ebp - 0x14], 0x10
movaps xmm0, xmmword [0x101c2910]
movzx eax, cl
push eax
movzx eax, bl
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], 0x4d1b19
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
movups xmmword [ebp - 0x70], xmm0
push eax
movaps xmm0, xmmword [0x101c1d60]
movups xmmword [ebp - 0x60], xmm0
nop
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x22
jb 0x100c5b40
sub esp, 0x1c
mov byte [ebp - 0x4d], 0
lea eax, [ebp - 0x6f]
mov ecx, esp
push eax
call fcn.10047780
lea eax, [ebp - 0x48]
push eax
call fcn.1004a910
add esp, 0x2c
mov byte [ebp - 4], 3
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x74], ecx
jb 0x100c5b80
mov ecx, dword [ecx]
mov dword [ebp - 0x74], ecx
mov ebx, ecx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100c5b85
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10121110
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x78], edi
call fcn.101234b0
push ebx
push dword [ebp - 0x74]
lea esi, [edi + 0x20]
push esi
call fcn.10122d50
add esp, 0x1c
mov dword [edi + 0x14], ebx
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xffffffffffffffff
push dword [ebp - 0x78]
mov eax, dword [0x101ba6ac]
call eax
jmp 0x100c5cb7
cmp dword [ebp - 0x14], 0x10
movaps xmm0, xmmword [0x101c29a0]
movzx eax, cl
push eax
movzx eax, bl
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], 0x13061947
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
movups xmmword [ebp - 0x70], xmm0
push eax
movaps xmm0, xmmword [0x101c1e80]
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x4c], 0x4711
mov byte [ebp - 0x4a], 0
nop dword [eax]
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x25
jb 0x100c5c20
sub esp, 0x1c
mov byte [ebp - 0x4a], 0
lea eax, [ebp - 0x6f]
mov ecx, esp
push eax
call fcn.10047780
lea eax, [ebp - 0x48]
push eax
call fcn.1004a910
add esp, 0x2c
mov byte [ebp - 4], 2
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x74], ecx
jb 0x100c5c60
mov ecx, dword [ecx]
mov dword [ebp - 0x74], ecx
mov ebx, ecx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100c5c65
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10121110
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x78], edi
call fcn.101234b0
push ebx
push dword [ebp - 0x74]
lea esi, [edi + 0x20]
push esi
call fcn.10122d50
add esp, 0x1c
mov dword [edi + 0x14], ebx
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xffffffffffffffff
push dword [ebp - 0x78]
mov eax, dword [0x101ba6ac]
call eax
push edi
call fcn.101204d0
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.100448c0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100c5cdd
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.10049010
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100c5d21
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10049010
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101204c0
mov esp, ebp
pop ebp
ret