Function at 0x100c1cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10175c07
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x101cfdb0]
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, dword [ebp + 8]
mov ecx, esi
mov ebx, dword [0x102710b4]
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
call fcn.1004dcd0
movzx eax, al
cmp eax, 6
ja case.0x100c1d16.2
jmp dword [eax*4 + 0x100c2624]
cmp dword [ebx + 0x474], 0
je case.0x100c1d16.2
mov eax, dword [0x102710b4]
cmp dword [eax + 0x524], 0
jne 0x100c1d52
mov esi, 0x10
push dword [esi]
call fcn.100ca490
mov ecx, dword [esi]
test ecx, ecx
je 0x100c1d52
push 1
call dword [0x101b07e0]
mov eax, dword [0x102710b4]
mov eax, dword [eax + 0x524]
test eax, eax
je case.0x100c1d16.2
mov ecx, dword [eax + 0x10]
test ecx, ecx
je case.0x100c1d16.2
push 1
call dword [0x101b07e0]
jmp case.0x100c1d16.2
mov ecx, esi
call fcn.1004dd60
movzx eax, ax
xor ecx, ecx
cmp cx, ax
jae case.0x100c1d16.2
lea ecx, [ebp - 0xad]
mov edi, eax
mov dword [ebp - 0xb8], ecx
push 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.10047940
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xbc], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0
push 1
push 0x101b2dec
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.10046d30
mov dword [ebp - 0xbc], 0
mov word [ebp - 0x30], 0xffff
mov byte [ebp - 0x2e], 0xff
mov dword [ebp - 4], 2
push 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10047940
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
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
mov eax, ecx
mov byte [esi + 4], 1
push eax
mov ecx, esi
call fcn.1007e900
mov ecx, eax
call fcn.1007e900
mov esi, eax
mov ecx, esi
call fcn.1004dcd0
mov ecx, esi
mov byte [ebp - 0x30], al
call fcn.1004dcd0
mov ecx, esi
mov byte [ebp - 0x2f], al
call fcn.1004dcd0
sub esp, 0x20
mov byte [ebp - 0x2e], al
mov esi, esp
mov dword [ebp - 0xac], esp
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xb4], esi
mov ecx, esi
push eax
call fcn.10046370
mov al, byte [ebp - 0x30]
mov byte [esi + 0x1c], al
mov al, byte [ebp - 0x2f]
mov byte [esi + 0x1d], al
mov al, byte [ebp - 0x2e]
mov byte [esi + 0x1e], al
sub esp, 0x1c
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.10046370
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.100c1a10
lea ecx, [ebp - 0x2c]
call fcn.100432e0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100c1f07
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100479d0
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.100479d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.100432e0
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x100c1f52
inc eax
push eax
push dword [ebp - 0x48]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x4c]
push 8
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
call fcn.100479d0
mov esi, dword [ebp - 0xa8]
add esp, 8
sub edi, 1
jne 0x100c1da0
jmp case.0x100c1d16.2
lea eax, [ebp - 0xad]
mov dword [ebp - 0x6c], 0
push 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0xb8], eax
call fcn.10047940
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0xbc], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 5
push 1
push 0x101b2dec
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.10046d30
mov word [ebp - 0x50], 0xffff
mov byte [ebp - 0x4e], 0xff
mov dword [ebp - 4], 7
push 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
call fcn.10047940
lea ecx, [ebp - 0x88]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x88], eax
mov dword [eax], ecx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 8
mov ecx, esi
mov byte [esi + 4], 1
call fcn.1004dcd0
mov bl, al
mov ecx, esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1007e900
mov ecx, eax
call fcn.1007e900
mov esi, eax
mov ecx, esi
call fcn.1004dcd0
mov ecx, esi
mov byte [ebp - 0x50], al
call fcn.1004dcd0
mov ecx, esi
mov byte [ebp - 0x4f], al
call fcn.1004dcd0
mov byte [ebp - 0x4e], al
test bl, bl
jne 0x100c21cf
movaps xmm0, xmmword [0x101b7c00]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x7d2f2f39
mov byte [ebp - 0x14], bl
nop dword [eax]
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x100c20d0
sub esp, 0x1c
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.100461a0
lea eax, [ebp - 0x48]
push eax
call fcn.100492e0
add esp, 0x20
mov byte [ebp - 4], 9
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0xa8], ecx
jb 0x100c2116
mov ecx, dword [ecx]
mov dword [ebp - 0xa8], ecx
mov ebx, ecx
lea ecx, [ebx + 1]
nop dword [eax + eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100c2120
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10117010
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0xb4], edi
call fcn.101193b0
push ebx
push dword [ebp - 0xa8]
lea esi, [edi + 0x20]
push esi
call fcn.10118c50
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 0xa30000
push dword [ebp - 0xb4]
mov eax, dword [0x101b06ec]
call eax
push edi
call fcn.101163d0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
call fcn.100432e0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100c21a8
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100479d0
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.100479d0
add esp, 8
sub esp, 0x20
lea eax, [ebp - 0x6c]
mov esi, esp
mov dword [ebp - 0xb4], esp
mov ecx, esi
mov dword [ebp - 0xa8], esi
push eax
call fcn.10046370
mov al, byte [ebp - 0x50]
mov byte [esi + 0x1c], al
mov al, byte [ebp - 0x4f]
mov byte [esi + 0x1d], al
mov al, byte [ebp - 0x4e]
mov byte [esi + 0x1e], al
sub esp, 0x1c
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
call fcn.10046370
mov ecx, dword [ebp - 0xac]
mov byte [ebp - 4], 8
call fcn.100c1a10
lea ecx, [ebp - 0x88]
call fcn.100432e0
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x100c2244
inc eax
push eax
push dword [ebp - 0x84]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x88]
push 8
push eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
call fcn.100479d0
add esp, 8
lea ecx, [ebp - 0x6c]
call fcn.100432e0
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x100c2291
inc eax
push eax
push dword [ebp - 0x68]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
jmp 0x100c25fa
movaps xmm0, xmmword [0x101b77e0]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x6b38
mov byte [ebp - 0x12], 0
nop dword [eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x100c22d0
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.100461a0
lea eax, [ebp - 0x48]
push eax
call fcn.100492e0
add esp, 0x20
mov dword [ebp - 4], 0xb
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0xa8], ecx
jb 0x100c2319
mov ecx, dword [ecx]
mov dword [ebp - 0xa8], ecx
mov ebx, ecx
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100c2320
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10117010
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0xac], edi
call fcn.101193b0
push ebx
push dword [ebp - 0xa8]
lea esi, [edi + 0x20]
push esi
call fcn.10118c50
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 0xa30000
push dword [ebp - 0xac]
mov eax, dword [0x101b06ec]
call eax
push edi
call fcn.101163d0
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.100432e0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100c23a4
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
jmp 0x100c25fa
movaps xmm0, xmmword [0x101b7610]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x59011c19
mov byte [ebp - 0x14], 0
nop dword [eax]
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x100c23e0
sub esp, 0x1c
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.100461a0
lea eax, [ebp - 0x48]
push eax
call fcn.100492e0
add esp, 0x20
mov dword [ebp - 4], 0xc
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0xa8], ecx
jb 0x100c2429
mov ecx, dword [ecx]
mov dword [ebp - 0xa8], ecx
mov ebx, ecx
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100c2430
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10117010
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0xac], edi
call fcn.101193b0
push ebx
push dword [ebp - 0xa8]
lea esi, [edi + 0x20]
push esi
call fcn.10118c50
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 0xa30000
push dword [ebp - 0xac]
mov eax, dword [0x101b06ec]
call eax
push edi
call fcn.101163d0
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.100432e0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100c23a4
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100479d0
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
jmp 0x100c25fa
movaps xmm0, xmmword [0x101b7d20]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0xf434b5a
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x100c24f1
sub esp, 0x1c
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.100461a0
lea eax, [ebp - 0xa4]
push eax
call fcn.100492e0
add esp, 0x20
mov dword [ebp - 4], 0xd
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0xa8], ecx
jb 0x100c253d
mov ecx, dword [ecx]
mov dword [ebp - 0xa8], ecx
mov ebx, ecx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100c2542
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10117010
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0xac], edi
call fcn.101193b0
push ebx
push dword [ebp - 0xa8]
lea esi, [edi + 0x20]
push esi
call fcn.10118c50
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 0xa30000
push dword [ebp - 0xac]
mov eax, dword [0x101b06ec]
call eax
push edi
call fcn.101163d0
add esp, 4
lea ecx, [ebp - 0xa4]
call fcn.100432e0
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x100c25cf
inc eax
push eax
push dword [ebp - 0xa0]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
push 8
push eax
call fcn.100479d0
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.101163c0
mov esp, ebp
pop ebp
ret 4