Function at 0x4cf3af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 0x44
cmp eax, ebx
je 0x4cf3d3
mov dword [eax], ebx
push 0x1c
pop ecx
lea eax, [ebp - 0x94]
mov byte [eax], bl
inc eax
dec ecx
jne 0x4cf3dc
mov eax, 0x408e
mov word [ebp - 0x18], ax
add eax, 0x5f
mov word [ebp - 0x16], ax
mov eax, 0x408c
lea ecx, [eax + 0x54]
mov word [ebp - 0x14], ax
mov eax, ecx
mov word [ebp - 0x12], ax
add eax, 0xffffffb2
mov word [ebp - 0x10], ax
lea eax, [ecx + 2]
mov word [ebp - 0xe], ax
add eax, 0xffffff9f
mov edx, eax
push 7
mov word [ebp - 0xc], dx
mov word [ebp - 0xa], ax
pop edx
mov si, word [ebp + edx*2 - 0x1a]
lea eax, [ebp + edx*2 - 0x18]
xor word [eax], si
dec edx
cmp edx, ebx
jg 0x4cf422
xor word [ebp - 0x18], cx
mov eax, 0x2bd7
mov word [ebp - 0x68], ax
add eax, 0x10
mov word [ebp - 0x66], ax
mov eax, 0x2bd6
mov word [ebp - 0x64], ax
add eax, 0xffffffdd
mov word [ebp - 0x62], ax
mov eax, 0x2bd5
mov ecx, eax
mov word [ebp - 0x5c], ax
add eax, 0xffffffdf
mov word [ebp - 0x60], cx
add ecx, 0x17
mov word [ebp - 0x5e], cx
mov ecx, eax
mov word [ebp - 0x5a], cx
mov ecx, 0x2b99
mov edx, ecx
mov word [ebp - 0x4a], ax
mov word [ebp - 0x58], dx
add edx, 0x15
mov word [ebp - 0x50], cx
mov word [ebp - 0x56], dx
lea edx, [ecx + 0x2f]
mov ecx, eax
mov word [ebp - 0x4e], cx
mov ecx, 0x2b80
lea eax, [ecx + 0x63]
mov word [ebp - 0x46], ax
add eax, 0xffffffeb
mov word [ebp - 0x44], ax
lea eax, [ecx + 0x77]
mov word [ebp - 0x42], ax
add eax, 0xffffffcd
mov word [ebp - 0x3c], ax
mov word [ebp - 0x54], dx
add edx, 0xffffffe1
mov word [ebp - 0x48], cx
mov word [ebp - 0x52], dx
mov edx, ecx
mov ecx, eax
lea eax, [edx + 0x69]
mov word [ebp - 0x3a], ax
add eax, 0xffffffef
mov word [ebp - 0x38], ax
lea eax, [edx + 0x61]
mov word [ebp - 0x36], ax
add eax, 0xffffffa2
mov word [ebp - 0x34], ax
lea eax, [edx + 0x62]
mov word [ebp - 0x32], ax
add eax, 0xfffffff8
mov word [ebp - 0x30], ax
lea eax, [edx + 0x6e]
mov word [ebp - 0x2e], ax
add eax, 0xffffff9a
mov word [ebp - 0x2c], ax
lea eax, [edx + 0x39]
mov word [ebp - 0x2a], ax
add eax, 0xffffffd2
mov word [ebp - 0x28], ax
lea eax, [edx + 0x6a]
mov word [ebp - 0x26], ax
mov word [ebp - 0x40], cx
add eax, 0xfffffff1
lea ecx, [edx + 0x7d]
mov word [ebp - 0x24], ax
lea eax, [edx + 0x3a]
mov word [ebp - 0x3e], cx
mov ecx, eax
push 0x24
mov word [ebp - 0x22], cx
mov word [ebp - 0x4c], dx
mov word [ebp - 0x20], ax
pop ecx
mov dx, word [ebp + ecx*2 - 0x6a]
lea eax, [ebp + ecx*2 - 0x68]
xor word [eax], dx
dec ecx
cmp ecx, ebx
jg 0x4cf540
mov eax, 0x2be5
xor word [ebp - 0x68], ax
push 0x77078340
call fcn.004cf30d
push 0xa739b25d
mov esi, eax
call fcn.004cf30d
push 0x2892074
mov edi, eax
call fcn.004cf30d
push 0xea88d766
mov dword [ebp - 0x70], eax
call fcn.004cf30d
push 0x2a37f52e
mov dword [ebp - 0x78], eax
call fcn.004cf30d
push 0xc6a91d8b
mov dword [ebp - 0x6c], eax
call fcn.004cf30d
add esp, 0x18
mov dword [ebp - 0x74], eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x68]
push eax
call esi
mov esi, eax
cmp esi, ebx
jne 0x4cf657
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call edi
mov esi, eax
lea eax, [ebp - 8]
push eax
call dword [ebp - 0x70]
cmp esi, ebx
jne 0x4cf657
push dword [ebp - 0x1c]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x4cf654
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push 0x16
call dword [ebp - 0x6c]
test eax, eax
je 0x4cf643
push 3
pop eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x94]
push eax
push ebx
push ebx
push 0xa
push 6
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x7c], edi
call dword [ebp - 0x74]
mov esi, eax
cmp esi, ebx
jne 0x4cf64b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
jmp 0x4cf64b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4cf657
push 8
pop esi
cmp dword [ebp - 4], ebx
je 0x4cf663
lea eax, [ebp - 4]
push eax
call dword [ebp - 0x78]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret