Function at 0x6c1840
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x248
mov eax, dword [esp + 0x268]
mov dword [esp + 0x43], 0xe48040
mov dword [esp + 0x40], 0x4010ec83
mov dword [esp + 0x3c], 0x48e78948
mov dword [esp + 0x38], 0xce8948fc
mov dword [esp + 0x2b], 0xc3fc8948
mov dword [esp + 0x28], 0x48d2ff41
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0xfffffff1
mov dword [esp + 0x1c], 0xba49c031
lea edi, [esp + 0x48]
lea edx, [esp + 0x38]
mov ecx, 3
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x54]
lea edx, [esp + 0x44]
mov ecx, 1
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
movzx ecx, byte [esp + 0x46]
mov byte [esp + 0x56], cl
mov edx, eax
cmp eax, 4
jb 0x6c18d5
mov edx, 4
lea ebx, [esp + 0x57]
test eax, eax
je 0x6c1a93
xor ebp, ebp
jmp 0x6c191e
mov esi, 0x6c7995
mov ecx, 1
mov edi, ebx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add ebx, 4
mov esi, 0x6c7999
xor ecx, ecx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
inc ebp
cmp edx, ebp
je 0x6c19b1
cmp ebp, 3
ja case.default.0x6c1923
jmp dword [ebp*4 + 0x6c71b0]
mov esi, 0x6c799a
xor ecx, ecx
mov edi, ebx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov esi, 0x6c799a
mov ecx, 1
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov byte [ebx + 2], 0xe
add ebx, 3
jmp case.default.0x6c1923
mov esi, 0x6c7990
mov ecx, 1
mov edi, ebx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add ebx, 4
mov esi, 0x6c7994
xor ecx, ecx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
jmp case.default.0x6c1923
mov esi, 0x6c799e
mov ecx, 1
mov edi, ebx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add ebx, 4
mov esi, 0x6c79a2
xor ecx, ecx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
jmp case.default.0x6c1923
cmp eax, 3
jbe 0x6c1a93
test al, 1
je 0x6c19e3
mov edx, 0x6c79a7
mov esi, 0x6c79a7
mov edi, ebx
xor ecx, ecx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, 1
mov edi, ebx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
add ebx, 2
mov word [esp + 4], 0x50
mov dword [esp], 0x20468b48
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], 0x50000000
mov dword [esp + 0x10], 0x80868b48
lea edx, [eax*8]
cmp edx, 0x7ffffffe
ja 0x6c1d2b
dec eax
cmp eax, 4
jb 0x6c1a93
add edx, 0xfffffff8
lea ebp, [esp + 0x10]
jmp 0x6c1a5e
mov dword [esp + 0x13], edx
mov esi, ebp
mov edi, ebx
mov ecx, 2
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add ebx, 8
lea esi, [esp + 0x18]
mov edi, ebx
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
dec eax
add edx, 0xfffffff8
cmp eax, 3
jbe 0x6c1a93
cmp edx, 0x7e
ja 0x6c1a30
mov byte [esp + 3], dl
mov esi, esp
mov edi, ebx
mov ecx, 1
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [ebx + 4]
lea esi, [esp + 4]
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
movzx ecx, byte [esp + 4]
mov byte [ebx + 4], cl
add ebx, 5
jmp 0x6c1a55
mov ebp, dword [esp + 0x260]
mov edx, dword [esp + 0x25c]
mov eax, 0x6c798b
mov ecx, 1
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea eax, [ebx + 4]
mov esi, 0x6c798f
mov edi, eax
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], edx
lea edx, [esp + 0x1c]
mov edi, eax
mov ecx, 4
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [ebx + 0x14]
lea eax, [esp + 0x2c]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x2e]
mov byte [ebx + 0x16], al
mov eax, ebx
lea esi, [esp + 0x48]
sub eax, esi
mov dword [esp + 0xc], 0
add eax, 0x70
mov dword [esp + 0x34], eax
mov dword [esp + 8], 0xf0fffefd
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x6c1b69
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
xor edx, 0x68b63b55
and eax, 0xe8b63b55
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x57
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x6c1b30
mov eax, dword [esp + 8]
mov ecx, dword [0x6cf754]
test ecx, ecx
je 0x6c1bbe
xor edx, edx
mov edi, dword [0x6cf758]
nop
cmp dword [edi + edx*8], 0x633c81d
je 0x6c1b90
inc edx
cmp ecx, edx
jne 0x6c1b80
jmp 0x6c1bbe
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x6c1bbe
lea eax, [esp + 0x34]
lea edx, [esp + 0xc]
push 0x40
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x6cf75c]
push ecx
call fcn.006bf5f0
add esp, 0x24
test eax, eax
js 0x6c1cf0
neg esi
add ebx, esi
add ebx, 0x17
mov eax, dword [esp + 0xc]
mov esi, 0x6c7155
mov edi, eax
mov ecx, 0x16
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [eax + 0x58]
mov esi, 0x6c71ad
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov byte [eax + 0x58], 0x24
mov eax, dword [esp + 0xc]
lea edi, [eax + 0x59]
mov ecx, ebx
shr ecx, 2
lea esi, [esp + 0x48]
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, ebx
and ecx, 0xfffffffc
add eax, ecx
add eax, 0x59
lea edx, [esp + ecx]
add edx, 0x48
mov ecx, ebx
xor ecx, 0xfffffffc
mov ebp, ebx
or ebp, 3
and ebp, ecx
mov ecx, ebp
shr ecx, 1
mov esi, edx
mov edi, eax
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test bl, 1
je 0x6c1c48
and ebp, 0xfffffffe
movzx ecx, byte [edx + ebp]
mov byte [eax + ebp], cl
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x59]
push dword [esp + 0x264]
push ecx
call eax
mov dword [esp + 0x30], 0
mov dword [esp + 8], 0xf0fffefd
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 3
ja 0x6c1cbb
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, ecx
xor edi, 0x68b63b55
and ecx, 0xe8b63b55
lea ecx, [edi + ecx*2]
xor ecx, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0x57
mov esi, dword [esp]
mov byte [esp + esi + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 4
jb 0x6c1c80
mov ecx, dword [0x6cf754]
test ecx, ecx
je 0x6c1d35
mov esi, dword [esp + 8]
xor edi, edi
mov ebx, dword [0x6cf758]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x44caaeb6
je 0x6c1cf7
inc edi
cmp ecx, edi
jne 0x6c1ce0
jmp 0x6c1d35
mov edx, eax
sar edx, 0x1f
jmp 0x6c1d35
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x6c1d35
lea esi, [esp + 0x30]
lea edi, [esp + 0xc]
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x6cf75c]
push ecx
mov esi, eax
mov edi, edx
call fcn.006bf5f0
mov edx, edi
mov eax, esi
add esp, 0x1c
jmp 0x6c1d35
mov eax, 0xffffffff
mov edx, 0xffffffff
add esp, 0x248
pop esi
pop edi
pop ebx
pop ebp
ret 0x10