Function at 0x1001c1e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14c
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, edx
jmp 0x1001c20e
xor ebx, ebx
push 0x7f
lea eax, [esp + 0xd5]
push ebx
push eax
mov byte [esp + 0xdc], bl
call fcn.10037cf0
xor eax, eax
add esp, 0xc
mov byte [esp + 0xc0], bl
mov dword [esp + 0xc1], eax
mov dword [esp + 0xc5], eax
mov dword [esp + 0xc9], eax
mov word [esp + 0xcd], ax
mov byte [esp + 0xcf], al
mov byte [esp + 0x10], bl
mov word [esp + 0x11], ax
mov byte [esp + 0x13], al
cmp esi, ebx
jne 0x1001c26f
xor eax, eax
jmp 0x1001c545
mov eax, esi
mov byte [esp + 0xb8], bl
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x50], 0x67452301
mov dword [esp + 0x54], 0xefcdab89
mov dword [esp + 0x58], 0x98badcfe
mov dword [esp + 0x5c], 0x10325476
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001c2b3
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.10001fc0
mov eax, dword [esp + 0x30]
mov ebp, 0x10
cmp dword [esp + 0x44], ebp
jae 0x1001c2da
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x54]
call fcn.10020020
cmp dword [esp + 0x44], ebp
jb 0x1001c2fb
mov ecx, dword [esp + 0x30]
push ecx
call fcn.10024afb
add esp, 4
cmp byte [esp + 0xb8], bl
jne 0x1001c315
lea esi, [esp + 0x50]
mov byte [esp + 0xb8], 1
call fcn.100200d0
push ebp
lea edx, [esp + 0xac]
push edx
lea eax, [edi + 0x4c]
push 0x11
push eax
mov dword [esp + 0x5c], eax
call fcn.10032c83
push 4
push 0x1005a244
lea eax, [esp + 0x28]
push 5
push eax
call fcn.10032c83
lea ecx, [esp + 0x30]
add esp, 0x20
mov eax, edi
sub ecx, edi
mov esi, 4
mov dl, byte [ecx + eax]
xor dl, byte [eax]
inc eax
inc dl
sub esi, 1
mov byte [eax - 1], dl
jne 0x1001c350
call fcn.1001f600
lea edx, [edi + 0x24]
xor eax, eax
mov dword [esp + 0x48], edx
cmp edx, ebx
je 0x1001c38d
xor ecx, ecx
movzx esi, byte [ecx + edx]
movzx ebp, al
xor esi, ebp
shr eax, 8
xor eax, dword [esi*4 + 0x100676c0]
inc ecx
cmp ecx, 0x10
jb 0x1001c374
mov ebp, dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov dword [edi + 0x48], eax
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov edi, edi
lea eax, [esp + 0x14]
push eax
call ebp
movzx eax, word [esp + 0x20]
lea ecx, [eax + 1]
xor ecx, eax
test ecx, 0xfff0
je 0x1001c3c6
push 0x1f4
call edi
inc esi
cmp esi, 0xa
jl 0x1001c3a0
mov ax, word [esp + 0x20]
movzx ecx, word [esp + 0x1e]
mov edx, 0xfff0
and ax, dx
movzx edx, word [esp + 0x1c]
mov word [esp + 0x20], ax
movzx eax, ax
push eax
movzx eax, word [esp + 0x1e]
push ecx
movzx ecx, word [esp + 0x1e]
push edx
movzx edx, word [esp + 0x20]
push eax
push ecx
push edx
push 0x1005a24c
lea eax, [esp + 0xec]
push 0x80
push eax
call fcn.10032b06
lea eax, [esp + 0xf4]
add esp, 0x24
mov byte [esp + 0xb8], bl
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x50], 0x67452301
mov dword [esp + 0x54], 0xefcdab89
mov dword [esp + 0x58], 0x98badcfe
mov dword [esp + 0x5c], 0x10325476
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001c460
sub eax, edx
push eax
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0x34]
call fcn.10001fc0
mov eax, dword [esp + 0x30]
mov edi, 0x10
cmp dword [esp + 0x44], edi
jae 0x1001c48e
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x54]
call fcn.10020020
cmp dword [esp + 0x44], edi
jb 0x1001c4af
mov edx, dword [esp + 0x30]
push edx
call fcn.10024afb
add esp, 4
cmp byte [esp + 0xb8], bl
jne 0x1001c4c9
lea esi, [esp + 0x50]
mov byte [esp + 0xb8], 1
call fcn.100200d0
push edi
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xc8]
push 0x11
push ecx
call fcn.10032c83
mov edx, dword [esp + 0x58]
add esp, 0x10
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edx
call fcn.1001fd90
test al, al
je 0x1001c268
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edx
call fcn.1001fd90
test al, al
je 0x1001c268
jmp 0x1001c540
mov eax, 1
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10032551
add esp, 0x14c
ret