Function at 0x6cc180
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f58f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x70b414]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov eax, dword [edi + 0x14]
add eax, 0xc0
je 0x6cc576
cmp dword [eax], 0
je 0x6cc576
cmp dword [eax + 4], 0
je 0x6cc576
push 0x160
call fcn.006df1ed
mov esi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], esi
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov word [esi + 0x120], ax
mov dword [esi + 0x124], eax
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], eax
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], eax
mov dword [esi + 0x138], eax
mov dword [esi + 0x13c], eax
mov dword [esi + 0x140], eax
mov dword [esi + 0x144], eax
push 0x118
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], eax
mov dword [esi + 0x150], eax
push eax
push esi
mov dword [esi + 0x154], eax
mov dword [esi + 0x158], eax
mov dword [esi + 0x15c], eax
call fcn.006e0650
lea eax, [edi + 0x5c]
add esp, 0xc
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], eax
cmp eax, ecx
je 0x6cc2bf
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x6cc2ac
mov ecx, edi
call fcn.006dab80
push 0x160
push edi
call fcn.006df222
mov eax, dword [ebp - 0x54]
add esp, 8
mov edi, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov eax, dword [edi + 0x14]
add eax, 0xc0
je 0x6cc2d9
mov eax, dword [eax]
jmp 0x6cc2db
mov ecx, esi
call fcn.006dab80
push 0x160
push esi
call fcn.006df222
add esp, 8
lea eax, [edi + 0x5c]
jmp 0x6cc2af
xor eax, eax
push eax
push edi
call fcn.006dad90
mov byte [ebp - 0x45], al
test al, al
jne 0x6cc578
mov eax, dword [0x70d8a8]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x2c], 0
push 0x30
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.006ba460
mov edx, eax
mov dword [ebp - 0x18], 0x2f
mov dword [ebp - 0x1c], 0x24
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x20], 0
mov byte [edx + 0x24], 0
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x2c], edx
jb 0x6cc352
movsx ecx, byte [edx]
jmp 0x6cc358
movsx ecx, byte [eax]
lea edx, [ebp - 0x2c]
mov edi, 0x704ff0
add ecx, 0xbb0cea0
sub edi, edx
mov esi, 0x24
nop word [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xdcf5
shr eax, 8
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
sub ecx, 0x68052e47
sub esi, 1
jne 0x6cc370
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x6c], 0x6ffa60
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, 0x704414
inc eax
cmp byte [eax], 0
jne 0x6cc3b1
sub eax, 0x704414
mov dword [ebp - 0x60], eax
lea ecx, [eax + 1]
mov dword [ebp - 0x64], ecx
test ecx, ecx
jne 0x6cc3d0
xor edi, edi
mov dword [ebp - 0x4c], edi
jmp 0x6cc3de
push ecx
call fcn.006e3fc6
add esp, 4
mov dword [ebp - 0x4c], eax
mov edi, eax
mov dword [ebp - 0x68], edi
mov ecx, 0x704414
inc ecx
cmp byte [ecx], 0
jne 0x6cc3e6
sub ecx, 0x704414
inc ecx
push ecx
push 0x704414
push edi
call fcn.006e1ac0
add esp, 0xc
push 0x20
mov byte [ebp - 4], 2
call fcn.006ba460
mov edx, eax
mov dword [ebp - 0x34], 0x1c
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x1f
mov dword [ebp - 0x44], edx
mov eax, 0x7053e0
mov esi, 0x1c
movups xmmword [edx], xmm0
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], 0
mov byte [edx + 0x1c], 0
movsx ecx, byte [edx]
add ecx, 0xbb0cea0
sub eax, edx
mov dword [ebp - 0x58], eax
mov edi, eax
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xd4f5
shr eax, 8
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
sub ecx, 0x68052e47
sub esi, 1
jne 0x6cc450
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x8c]
call fcn.006c7070
lea ecx, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.006c62f0
push ecx
mov ecx, dword [ebp - 0x50]
push esi
push 0x7a9
push dword [ebp - 0x5c]
mov byte [ebp - 4], 6
push dword [eax + 4]
call fcn.006d3a60
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], 0x6ffa60
test eax, eax
je 0x6cc4bf
push eax
call fcn.006e3fab
add esp, 4
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], 0x6ffa60
test eax, eax
je 0x6cc4dc
push eax
call fcn.006e3fab
add esp, 4
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x6cc510
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6cc506
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6cc596
push edx
push ecx
call fcn.006df222
add esp, 8
test edi, edi
je 0x6cc51d
push edi
call fcn.006e3fab
add esp, 4
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x6cc54d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6cc543
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6cc596
push edx
push ecx
call fcn.006df222
add esp, 8
mov eax, dword [ebp - 0x54]
mov esi, dword [eax]
mov dword [eax], 0
test esi, esi
je 0x6cc571
mov ecx, esi
call fcn.006dab80
push 0x160
push esi
call fcn.006df222
add esp, 8
mov al, byte [ebp - 0x45]
jmp 0x6cc578
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006df1da
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.006e3ec2
int3