Function at 0x1001cf06
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005e90b
call fcn.1005d8a0
sub esp, 0xa8
cmp byte [ebp + 8], 0
mov eax, edx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x30], cl
je 0x1001d031
mov dword [ebp - 0x4c], 0x5247
cmp dword [ebp - 0x4c], 0x55f9
jle 0x1001cfad
xor edi, edi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x48], 0x5c4b
mov ecx, esi
mov eax, ebx
shl eax, cl
mov ecx, 0x100788d8
xor eax, edi
cdq
push edx
push eax
call fcn.10001e5c
dec esi
dec dword [ebp - 0x48]
jne 0x1001cf51
mov esi, dword [ebp - 0x44]
inc esi
mov dword [ebp - 0x44], esi
cmp esi, 0x2147
jl 0x1001cf47
inc ebx
cmp ebx, 0x63f9
jl 0x1001cf42
inc edi
cmp edi, 0x29ef
jl 0x1001cf40
push 0
push 0x5f4
push 0x186c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDIBColorTable]
and dword [ebp - 4], 0
cmp dword [ebp - 0x4c], 0x50a5
jge 0x1001cfc9
mov edx, str.kplm_dxaoaxcdi_vzhntwz_kdqqcow_yvomoq_beghrws_ieurhjv
mov ecx, 0x100788d8
call fcn.10003d65
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x14], 0
je 0x1001cff8
mov eax, dword [ebp + 0x10]
and dword [eax], 0
jmp 0x1001d2ed
mov esi, dword [ebp + 0xc]
mov dword [esi], 0xffffffe2
jmp 0x1001d027
push 0x3057
push 0x910
push 0x4c16
push 0
push 0x5657
mov dl, 1
xor cl, cl
call fcn.1001cd84
add esp, 0x14
inc dword [esi]
cmp dword [esi], 0xffffffef
jne 0x1001d003
jmp 0x1001d2ed
test cl, cl
je 0x1001d2db
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov edi, dword [ebp + 0x18]
mov dword [ebp - 4], 2
cmp dword [edi + 0x10], ebx
je 0x1001d2c6
push 0x2e
pop eax
push 2
mov ecx, ebx
mov dword [ebp - 0x18], 0xa102ea00
mov byte [ebp - 0x14], 0x74
mov word [ebp + 8], ax
pop esi
mov dword [ebp - 0x34], ecx
cmp esi, 2
jne 0x1001d080
push 3
pop ecx
push ecx
mov dword [ebp - 0x34], ecx
pop esi
jmp 0x1001d0de
movzx edx, byte [ebp + esi - 0x17]
mov eax, esi
sub eax, ecx
movzx eax, byte [ebp + eax - 0x1a]
movzx ecx, word [ebp + eax*2 + 8]
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
movzx eax, byte [ebp + esi - 0x18]
add ecx, edx
mov dl, 1
mov word [ebp + eax*2 + 8], cx
lea eax, [ebp - 0x34]
push eax
push 0x17c
push 0x4ad0
push 1
push ebx
push 0x3dae
push 0x6b50
push 0x4a3
push 0x4544
mov ecx, 0x4d45
call fcn.1001bff6
mov ecx, dword [ebp - 0x34]
add esp, 0x24
add esi, 2
cmp esi, 5
jb 0x1001d071
xor eax, eax
mov dword [ebp - 0x64], 7
mov word [ebp + 0xa], ax
lea ecx, [ebp - 0x78]
mov word [ebp - 0x78], ax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x68], ebx
call fcn.1000945a
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 3
push eax
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.1001ab0a
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 5
call fcn.100024be
mov edi, dword [ebp - 0x3c]
mov eax, edi
mov esi, dword [ebp - 0x40]
sub eax, esi
push 0x18
cdq
pop ecx
idiv ecx
mov dword [ebp + 8], ebx
test eax, eax
jne 0x1001d2b3
push 0x2d
pop eax
push 2
pop esi
mov byte [ebp - 0x1c], cl
mov ecx, ebx
push 7
mov dword [ebp - 0x20], 0x3304c900
mov word [ebp - 0x1b], 0xe8d9
mov word [ebp - 0x24], ax
mov dword [ebp - 0x28], ecx
pop edi
cmp esi, 2
jne 0x1001d174
push 5
pop ecx
push ecx
mov dword [ebp - 0x28], ecx
pop esi
jmp 0x1001d1c2
movzx edx, byte [ebp + esi - 0x1f]
mov eax, esi
sub eax, ecx
push 0x77d4
movzx eax, byte [ebp + eax - 0x22]
movzx ecx, word [ebp + eax*2 - 0x24]
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
movzx eax, byte [ebp + esi - 0x20]
add ecx, edx
mov edx, 0x682f
push ecx
push 0x316b
push 1
push 0x493c
push ecx
mov word [ebp + eax*2 - 0x24], cx
push ecx
lea ecx, [ebp - 0x28]
call fcn.1001ba18
mov ecx, dword [ebp - 0x28]
add esp, 0x1c
add esi, 2
cmp esi, edi
jb 0x1001d165
xor eax, eax
mov dword [ebp - 0x7c], edi
mov word [ebp - 0x22], ax
lea ecx, [ebp - 0x90]
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x80], ebx
call fcn.1000945a
mov edx, dword [ebp + 0x18]
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 6
call fcn.1001ab0a
pop ecx
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x1001d22e
mov ecx, eax
call fcn.1001e4bb
mov ecx, dword [esi]
mov dword [ebp - 0x40], ecx
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea ecx, [ebp - 0xb4]
call fcn.1001e4bb
push ebx
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
call fcn.100024be
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
jmp 0x1001d2b3
push esi
lea ecx, [ebp - 0xa8]
call fcn.10001f71
mov byte [ebp - 4], 8
lea ebx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
cmovae ebx, dword [ebp - 0xa8]
call fcn.10046cbc
push 0xa
and dword [eax], 0
lea eax, [ebp - 0x60]
push eax
push ebx
call fcn.10046f17
add esp, 0xc
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x5c]
push eax
call fcn.1001e2e1
push 0
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
call fcn.100024be
add esi, 0x18
cmp esi, edi
jne 0x1001d253
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.1001e4bb
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.1001e339
lea ecx, [ebp - 0x5c]
call fcn.1001e593
jmp 0x1001d2ed
push 0x55d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret