Function at 0x1000cb95
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa55a
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x100d6084]
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 edx, dword [esi + 8]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x1000c814
xor al, al
jmp 0x1000c81a
mov eax, dword [esi + 0x10]
mov al, byte [edx + eax]
movzx eax, al
inc edx
add eax, 0xffffff5d
mov dword [esi + 8], edx
cmp eax, 9
ja case.0x1000c82f.164
jmp dword [eax*4 + 0x1000cdd8]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1000f900
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
push 1
cmovae esi, dword [ebp - 0x40]
mov ah, 0x47
push 0
mov al, 0x28
mov byte [ebp - 0x50], ah
xor al, ah
mov byte [ebp - 0x4b], 0
push 0
mov cl, 0x37
mov byte [ebp - 0x4f], al
mov dl, 0x22
mov byte [ebp - 0x4b], 0
mov bl, 0x29
xor cl, ah
xor dl, ah
mov byte [ebp - 0x4e], cl
xor bl, ah
mov byte [ebp - 0x4d], dl
push esi
lea eax, [ebp - 0x4f]
mov byte [ebp - 0x4c], bl
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x40]
jmp 0x1000cdb7
mov ecx, esi
call fcn.1000fcc0
jmp case.0x1000c82f.164
mov edi, dword [0x100db3a8]
test edi, edi
je case.0x1000c82f.164
mov ecx, dword [esi + 0x14]
lea eax, [edx + 1]
sub ecx, dword [esi + 0x10]
cmp eax, ecx
jbe 0x1000c8e0
lea eax, [edx + 1]
xor cl, cl
mov dword [esi + 8], eax
mov byte [edi + 2], cl
jmp case.0x1000c82f.164
mov eax, dword [esi + 0x10]
mov cl, byte [edx + eax]
lea eax, [edx + 1]
mov dword [esi + 8], eax
mov byte [edi + 2], cl
jmp case.0x1000c82f.164
mov edi, dword [0x100db3a8]
test edi, edi
je case.0x1000c82f.164
mov ecx, esi
call fcn.1000fa30
mov byte [edi + 3], al
jmp case.0x1000c82f.164
mov edi, dword [0x100db3a8]
test edi, edi
je case.0x1000c82f.164
mov ecx, esi
call fcn.1000fa30
mov byte [edi + 1], al
jmp case.0x1000c82f.164
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.1000f860
mov eax, dword [ebp - 0x48]
mov ecx, 0x3e8
cmp ax, cx
cmova eax, ecx
xor ecx, ecx
cmp cx, ax
jae case.0x1000c82f.164
movzx eax, ax
mov dword [ebp - 0x48], eax
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
lea eax, [edx + 2]
cmp eax, ecx
jbe 0x1000c985
xor edi, edi
jmp 0x1000c98c
mov eax, dword [esi + 0x10]
movzx edi, word [edx + eax]
add edx, 2
mov dword [esi + 8], edx
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x1000c9a5
mov byte [ebp - 0x41], 0
jmp 0x1000c9ae
mov eax, dword [esi + 0x10]
mov al, byte [edx + eax]
mov byte [ebp - 0x41], al
lea eax, [edx + 1]
mov ecx, esi
mov dword [esi + 8], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000f900
mov edx, eax
mov ebx, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x1000c9d7
mov byte [ebp - 0x5c], 0
jmp 0x1000c9e0
mov eax, dword [edx + 0x10]
mov al, byte [ebx + eax]
mov byte [ebp - 0x5c], al
inc ebx
mov dword [edx + 8], ebx
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x1000c9f7
mov byte [ebp - 0x58], 0
jmp 0x1000ca00
mov eax, dword [edx + 0x10]
mov al, byte [ebx + eax]
mov byte [ebp - 0x58], al
inc ebx
mov dword [edx + 8], ebx
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x1000ca17
mov byte [ebp - 0x54], 0
jmp 0x1000ca20
mov eax, dword [edx + 0x10]
mov al, byte [ebx + eax]
mov byte [ebp - 0x54], al
lea eax, [ebx + 1]
movzx ebx, di
mov dword [edx + 8], eax
mov edx, ebx
call fcn.1000cf60
cmp byte [ebp - 0x41], 1
jne 0x1000cb12
test eax, eax
jne 0x1000cb6d
push 0x1c
call fcn.1006e1d6
mov edi, eax
add esp, 4
mov dword [ebp - 0x88], edi
push dword [ebp - 0x54]
mov byte [ebp - 4], 2
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x1000ca7e
mov eax, dword [ecx]
jmp 0x1000ca80
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.10002400
mov ecx, edi
call fcn.1000f7a0
push 0x1c
mov edi, eax
mov byte [ebp - 4], 1
call fcn.1006e1d6
add esp, 4
mov dword [ebp - 0x84], eax
push dword [ebp - 0x54]
mov byte [ebp - 4], 3
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x1000cad7
mov eax, dword [ecx]
jmp 0x1000cad9
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.10002400
mov ecx, dword [ebp - 0x84]
call fcn.1000f7a0
push eax
mov edx, ebx
mov byte [ebp - 4], 1
call fcn.1000d050
test al, al
jne 0x1000cb6d
test edi, edi
je 0x1000cb6d
push ecx
mov ecx, edi
call fcn.1000ce00
jmp 0x1000cb6d
test eax, eax
je 0x1000cb6d
mov ecx, eax
call fcn.1000f770
mov edx, ebx
mov ecx, 0x100df994
call fcn.1000ce60
mov ecx, edi
call fcn.10025170
mov edi, eax
test edi, edi
je 0x1000cb6d
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000cb6d
cmp dword [edi + 0x760], eax
je 0x1000cb6d
mov ecx, dword [edi + 0x3a8]
mov dword [edi + 0x760], eax
test ecx, ecx
je 0x1000cb6d
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [edi + 0x3a8], 0
sub dword [ebp - 0x48], 1
jne 0x1000c971
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb case.0x1000c82f.164
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10002720
jmp case.0x1000c82f.164
mov byte [ebp - 0x41], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x41]
mov byte [ebp - 0x28], 0
push eax
mov ecx, esi
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
or ebx, 0xffffffff
mov dword [ebp - 0x48], 0
mov byte [esi + 4], 0
call fcn.1000fa60
mov ecx, eax
call fcn.1000f900
mov ecx, eax
call fcn.1000f730
cmp dword [ebp - 0x18], 0
je 0x1000cdac
mov edi, dword [ebp - 0x48]
test edi, edi
jle 0x1000cdac
mov ecx, edi
call fcn.10012920
mov esi, eax
test esi, esi
je 0x1000cdac
mov cl, byte [esi + 4]
mov edx, edi
call fcn.10012950
mov edi, eax
test edi, edi
je 0x1000cdac
mov al, byte [ebp - 0x41]
cmp al, 1
jne 0x1000cce2
push edi
mov edx, esi
lea ecx, [ebp - 0xb8]
call fcn.10012eb0
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x1000cc59
mov eax, dword [eax]
cmp dword [ebp - 0x14], 0x10
movaps xmm0, xmmword [0x100c8b80]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 0x60], 0
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
movups xmmword [ebp - 0x80], xmm0
push eax
movaps xmm0, xmmword [0x100c9360]
movups xmmword [ebp - 0x70], xmm0
mov al, byte [ebp - 0x80]
xor byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x1f
jb 0x1000cc82
sub esp, 0x18
mov byte [ebp - 0x60], 0
lea eax, [ebp - 0x7f]
mov ecx, esp
push eax
call fcn.10002940
lea eax, [ebp - 0xa0]
push eax
call fcn.1000f620
add esp, 0x24
lea ecx, [ebp - 0x40]
push eax
call fcn.10006bb0
lea ecx, [ebp - 0xa0]
call fcn.100022f0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 5
call fcn.100022f0
mov cl, byte [edi + 0x4c]
call fcn.1000c750
mov ebx, eax
jmp 0x1000cd96
test al, al
jne 0x1000cd96
push edi
mov edx, esi
lea ecx, [ebp - 0xa0]
call fcn.10012eb0
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x1000cd07
mov eax, dword [eax]
cmp dword [ebp - 0x14], 0x10
movaps xmm0, xmmword [0x100c8620]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x70], 0x191c4906
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0xd081b0e
mov dword [ebp - 0x68], 0x1a4c490c
mov word [ebp - 0x64], 0x47
nop dword [eax]
mov al, byte [ebp - 0x80]
xor byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x1c
jb 0x1000cd40
sub esp, 0x18
mov byte [ebp - 0x63], 0
lea eax, [ebp - 0x7f]
mov ecx, esp
push eax
call fcn.10002940
lea eax, [ebp - 0xb8]
push eax
call fcn.1000f620
add esp, 0x24
lea ecx, [ebp - 0x40]
push eax
call fcn.10006bb0
lea ecx, [ebp - 0xb8]
call fcn.100022f0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 5
call fcn.100022f0
mov ebx, 0xffff0000
cmp dword [ebp - 0x30], 0
je 0x1000cdac
push 3
push 1
push ebx
lea ecx, [ebp - 0x40]
call fcn.10032220
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.100022f0
lea ecx, [ebp - 0x28]
call fcn.100022f0
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.1006e1c5
mov esp, ebp
pop ebp
ret