Function at 0x1000cabf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2180
call fcn.10017cc0
mov eax, dword [0x10027120]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x2170], eax
push edi
lea eax, [ebp - 0x2167]
push eax
call fcn.1000b275
xor eax, eax
mov word [ebp - 0x205c], ax
lea edi, [ebp - 0x205a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ebx, ebx
stosw word es:[edi], ax
mov dword [ebp - 0x216c], ebx
mov dword [ebp - 0x18], 0xf1b7f1fd
mov dword [ebp - 0x14], 0xabf5f6f8
mov dword [ebp - 0x10], 0xfcf4b7aa
mov byte [ebp - 0xc], 0x99
xor eax, eax
xor byte [ebp + eax - 0x18], 0x99
inc eax
cmp eax, 0xd
jb 0x1000cb25
lea eax, [ebp - 0x18]
push eax
call dword [0x100295fc]
mov esi, eax
cmp esi, ebx
je 0x1000cb72
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x1000cb72
cmp dword [eax], ebx
je 0x1000cb72
push 2
pop eax
mov word [ebp - 0x205c], ax
mov eax, 0x4982
mov ch, al
mov cl, ah
mov word [ebp - 0x205a], cx
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x2058], eax
cmp dword [ebp - 0x2058], ebx
je 0x1000cd40
push 0x11
push 2
push 2
call dword [0x100295e4]
mov dword [ebp - 0x2174], eax
cmp eax, 0xffffffff
je 0x1000cd40
push 0x10
pop esi
push esi
lea ecx, [ebp - 0x205c]
push ecx
push ebx
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x2168]
push ecx
push eax
mov word [ebp - 0x2168], 1
call dword [0x10029608]
test eax, eax
jle 0x1000cd34
mov eax, dword [ebp - 0x2174]
push pe_nt_image_headers32
mov dword [ebp - 0x2160], eax
lea eax, [ebp - 0x2158]
push ebx
push eax
mov dword [ebp - 0x2164], edi
mov dword [ebp - 0x215c], ebx
call fcn.1000f470
add esp, 0xc
lea eax, [ebp - 0x2180]
push eax
push ebx
push ebx
lea eax, [ebp - 0x2164]
push eax
push ebx
mov dword [ebp - 0x2180], edi
mov dword [ebp - 0x217c], ebx
call dword [0x10029614]
test eax, eax
je 0x1000cd34
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x205c]
push eax
push ebx
push 0x2000
lea eax, [ebp - 0x204c]
push eax
push dword [ebp - 0x2174]
mov dword [ebp - 0x2178], esi
call dword [0x10029610]
mov esi, eax
cmp esi, edi
jle 0x1000cd34
cmp byte [ebp - 0x204c], 1
jne 0x1000cd34
lea edi, [esi - 1]
push edi
lea ecx, [ebp - 0x204b]
call fcn.1000c8d9
pop ecx
xor eax, eax
lea ecx, [esi - 1]
mov dword [ebp - 0x48], 0x17b6bfb7
mov dword [ebp - 0x44], 0x1f0c31aa
mov dword [ebp - 0x40], 0x8e55a53b
mov dword [ebp - 0x3c], 0xc4a2cb45
mov dword [ebp - 0x38], 0x7e578f9c
mov dword [ebp - 0x34], 0x9f1d9187
mov dword [ebp - 0x30], 0xb89bdb87
mov dword [ebp - 0x2c], 0x3471e36a
mov dword [ebp - 0x28], 0x94b5891c
mov dword [ebp - 0x24], 0xa5f12949
mov dword [ebp - 0x20], 0xf5d756b2
mov word [ebp - 0x1c], 0x829c
mov dword [ebp - 0x216c], eax
cmp ecx, ebx
jle 0x1000ccfb
xor edx, edx
push 0x2e
pop ebx
div ebx
mov eax, dword [ebp - 0x216c]
mov dl, byte [ebp + edx - 0x48]
xor byte [ebp + eax - 0x204b], dl
inc eax
mov dword [ebp - 0x216c], eax
cmp eax, ecx
jl 0x1000ccd6
xor ebx, ebx
mov byte [ebp + esi - 0x204c], bl
cmp dword [ebp - 0x2170], ebx
je 0x1000cd2a
push edi
lea eax, [ebp - 0x204b]
push eax
push dword [ebp - 0x2170]
call fcn.100151d0
mov eax, dword [ebp - 0x2170]
add esp, 0xc
mov byte [eax + esi - 1], bl
mov dword [ebp - 0x216c], 1
push dword [ebp - 0x2174]
call dword [0x100295ec]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x216c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d755
leave
ret