Function at 0x1000c0e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8384
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
push esi
push edi
mov eax, dword [0x100f2040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x1000c136
mov byte [ebp - 0x11], 0
jmp 0x1000c144
push edx
lea ecx, [esi + 0x10]
call fcn.1000bb70
mov al, byte [eax]
mov byte [ebp - 0x11], al
inc dword [esi + 8]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 4]
cmp eax, ecx
jbe 0x1000c160
mov dword [ebp - 0x40], 0
jmp 0x1000c16e
push edx
lea ecx, [esi + 0x10]
call fcn.1000bb70
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
add dword [esi + 8], 4
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 4]
cmp eax, ecx
jbe 0x1000c186
xor edx, edx
jmp 0x1000c191
push edx
lea ecx, [esi + 0x10]
call fcn.1000bb70
mov edx, dword [eax]
add dword [esi + 8], 4
mov eax, dword [0x100f5f50]
mov dword [ebp - 0x3c], edx
test eax, eax
je 0x1000c31b
mov cl, byte [ebp - 0x11]
cmp cl, 1
je 0x1000c330
cmp cl, 2
je 0x1000c330
mov ecx, dword [0x100f5f54]
mov edi, dword [ebp - 0x3c]
mov dl, byte [ebp - 0x11]
cmp dl, 3
je 0x1000c1d4
cmp dl, 4
jne 0x1000c31b
mov esi, dword [eax + 0x94]
test esi, esi
je 0x1000c30f
push 0x2e
mov edx, edi
lea ecx, [ebp - 0x78]
call fcn.10019600
add esp, 4
mov dword [ebp - 4], 4
lea edx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x1000c203
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x5c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c224
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.10003370
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1000c2c8
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000c2c8
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
cmova ecx, dword [ebp - 0x58]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c264
sub ecx, edx
mov dword [ebp - 0x38], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100891d0
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.1008c200
add esp, 0xc
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x58]
push dword [ebp - 0x38]
push edx
push esi
call fcn.1008bc80
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100e6db0]
push edi
call fcn.100891b0
add esp, 4
lea ecx, [ebp - 0x5c]
call fcn.10002f50
mov eax, dword [ebp - 0x5c]
push 8
push eax
mov dword [ebp - 0x5c], 0
call fcn.100891b0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10002f50
mov eax, dword [ebp - 0x78]
push 8
push eax
mov dword [ebp - 0x78], 0
call fcn.100891b0
mov ecx, dword [0x100f5f54]
add esp, 8
test ecx, ecx
je 0x1000c31b
push dword [ebp - 0x3c]
call fcn.10027420
movzx eax, byte [ebp - 0x11]
dec eax
cmp eax, 3
ja case.default.0x1000c329
jmp dword [eax*4 + 0x1000ca20]
mov esi, dword [eax + 0x94]
test esi, esi
je 0x1000c474
push 0x2e
lea ecx, [ebp - 0xcc]
call fcn.10019600
add esp, 4
mov dword [ebp - 4], 0
lea edx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x1000c360
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c381
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.10003370
mov byte [ebp - 4], 1
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1000c425
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000c425
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, dword [ebp - 0x2c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c3c1
sub ecx, edx
mov dword [ebp - 0x38], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100891d0
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.1008c200
add esp, 0xc
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x2c]
push dword [ebp - 0x38]
push edx
push esi
call fcn.1008bc80
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100e6db0]
push edi
call fcn.100891b0
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.10002f50
mov eax, dword [ebp - 0x30]
push 8
push eax
mov dword [ebp - 0x30], 0
call fcn.100891b0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10002f50
mov eax, dword [ebp - 0xcc]
push 8
push eax
mov dword [ebp - 0xcc], 0
call fcn.100891b0
mov eax, dword [0x100f5f50]
add esp, 8
mov esi, dword [eax + 0x58]
test esi, esi
je 0x1000c5e4
cmp dword [esi + 4], 0
je 0x1000c5e4
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0xe8]
push 0x2c
call fcn.10019600
add esp, 4
mov dword [ebp - 4], 2
lea edx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x1000c4ae
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x94], 0
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c4d5
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x94]
call fcn.10003370
mov byte [ebp - 4], 3
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1000c58c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000c58c
cmp dword [ebp - 0x7c], 0xf
lea ecx, [ebp - 0x90]
cmova ecx, dword [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c522
sub ecx, edx
mov dword [ebp - 0x38], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100891d0
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.1008c200
add esp, 0xc
lea edx, [ebp - 0x90]
cmp dword [ebp - 0x7c], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x90]
push dword [ebp - 0x38]
push edx
push esi
call fcn.1008bc80
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100e6db0]
push edi
call fcn.100891b0
add esp, 4
lea ecx, [ebp - 0x94]
call fcn.10002f50
mov eax, dword [ebp - 0x94]
push 8
push eax
mov dword [ebp - 0x94], 0
call fcn.100891b0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.10002f50
mov eax, dword [ebp - 0xe8]
push 8
push eax
mov dword [ebp - 0xe8], 0
call fcn.100891b0
mov eax, dword [0x100f5f50]
add esp, 8
mov ecx, dword [0x100f5f54]
test ecx, ecx
je 0x1000c1c0
mov edi, dword [ebp - 0x3c]
push edi
call fcn.10027380
mov eax, dword [0x100f5f50]
mov ecx, dword [0x100f5f54]
jmp 0x1000c1c3
movaps xmm0, xmmword [0x100e9310]
xor ecx, ecx
push dword [ebp - 0x40]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x544847
mov dword [ebp - 0x1c], 0x48534163
mov word [ebp - 0x18], 0xe
nop
mov al, byte [ebp + ecx - 0x2f]
xor al, byte [ebp - 0x30]
mov byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x18
jb 0x1000c630
sub esp, 0x1c
mov byte [ebp - 0x17], 0
mov edx, esp
lea ecx, [ebp - 0x2f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c670
sub ecx, esi
lea eax, [ebp - 0x2f]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x78]
push eax
call fcn.1000d650
add esp, 0x24
mov dword [ebp - 4], 6
lea edx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x1000c6a3
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x5c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c6c4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.10003370
mov byte [ebp - 4], 7
mov edx, 0xff6565ff
lea ecx, [ebp - 0x5c]
call fcn.1000ca30
lea ecx, [ebp - 0x5c]
call fcn.10002f50
mov eax, dword [ebp - 0x5c]
push 8
push eax
mov dword [ebp - 0x5c], 0
call fcn.100891b0
add esp, 8
lea ecx, [ebp - 0x78]
call fcn.10002f50
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x78], 0
jmp 0x1000c9fe
movaps xmm0, xmmword [0x100e9a60]
xor ecx, ecx
push dword [ebp - 0x40]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x312a381a
mov word [ebp - 0x18], 0x77
nop dword [eax]
mov al, byte [ebp + ecx - 0x2b]
xor al, byte [ebp - 0x2c]
mov byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x14
jb 0x1000c740
sub esp, 0x1c
mov byte [ebp - 0x17], 0
mov edx, esp
lea ecx, [ebp - 0x2b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c780
sub ecx, esi
lea eax, [ebp - 0x2b]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x78]
push eax
call fcn.1000d650
add esp, 0x24
mov dword [ebp - 4], 8
lea edx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x1000c7b3
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x5c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c7d4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.10003370
mov byte [ebp - 4], 9
mov edx, 0xffff3b3b
jmp 0x1000c6e0
movaps xmm0, xmmword [0x100e9010]
xor ecx, ecx
push dword [ebp - 0x40]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x75787556
mov dword [ebp - 0x1c], 0x3a71777a
mov byte [ebp - 0x18], 0
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x2f]
xor al, byte [ebp - 0x30]
mov byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x17
jb 0x1000c820
sub esp, 0x1c
mov byte [ebp - 0x18], 0
mov edx, esp
lea ecx, [ebp - 0x2f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c860
sub ecx, esi
lea eax, [ebp - 0x2f]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x78]
push eax
call fcn.1000d650
add esp, 0x24
mov dword [ebp - 4], 0xa
lea edx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x1000c893
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x5c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c8b4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.10003370
mov byte [ebp - 4], 0xb
jmp 0x1000c6db
movaps xmm0, xmmword [0x100e9640]
xor ecx, ecx
push dword [ebp - 0x40]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x155e5855
mov byte [ebp - 0x18], 0
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x2b]
xor al, byte [ebp - 0x2c]
mov byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x13
jb 0x1000c8f0
sub esp, 0x1c
mov byte [ebp - 0x18], 0
mov edx, esp
lea ecx, [ebp - 0x2b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c930
sub ecx, esi
lea eax, [ebp - 0x2b]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x104]
push eax
call fcn.1000d650
add esp, 0x24
mov dword [ebp - 4], 0xc
lea edx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x1000c966
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0xb0], 0
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x98], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c993
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xb0]
call fcn.10003370
mov edx, 0xffff3b3b
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xb0]
call fcn.1000ca30
lea ecx, [ebp - 0xb0]
call fcn.10002f50
mov eax, dword [ebp - 0xb0]
push 8
push eax
mov dword [ebp - 0xb0], 0
call fcn.100891b0
add esp, 8
lea ecx, [ebp - 0x104]
call fcn.10002f50
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x104], 0
push 8
push eax
call fcn.100891b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret