Function at 0x6cb640
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, 0x70
je 0x6cba2e
cmp dword [eax], 0
je 0x6cba2e
cmp dword [eax + 4], 0
je 0x6cba2e
push 0x48
call fcn.006df1ed
mov esi, eax
lea edx, [ebp - 0x50]
lea ecx, [esi + 0x3c]
mov dword [ebp - 0x54], esi
xorps xmm0, xmm0
lea eax, [edi + 0x50]
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0x6ffa60
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
cmp eax, edx
je 0x6cb7c7
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x6cb740
lea ecx, [edi + 0x3c]
call fcn.006d8a70
mov eax, dword [edi + 0x30]
mov dword [edi + 0x2c], 0x6ffa60
test eax, eax
je 0x6cb735
push eax
call fcn.006e3fab
add esp, 4
push 0x48
push edi
call fcn.006df222
add esp, 8
mov edi, dword [ebp - 0x4c]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x50]
add eax, 0x70
push dword [eax + 4]
push dword [eax]
push edi
call fcn.006d7ad0
mov byte [ebp - 0x45], al
test al, al
jne 0x6cba30
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 0x6cb7f3
movsx ecx, byte [edx]
jmp 0x6cb7f9
call fcn.006d8a70
mov eax, dword [esi + 0x30]
mov dword [esi + 0x2c], 0x6ffa60
test eax, eax
je 0x6cb7e3
push eax
call fcn.006e3fab
add esp, 4
push 0x48
push esi
call fcn.006df222
add esp, 8
jmp 0x6cb743
movsx ecx, byte [eax]
lea edx, [ebp - 0x2c]
mov edi, 0x704f40
add ecx, 0xa48b234
sub edi, edx
mov esi, 0x24
nop dword [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xdcf5
shr eax, 4
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
sub ecx, 0x7a4e9fc3
sub esi, 1
jne 0x6cb810
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 0x6cb851
sub eax, 0x704414
mov dword [ebp - 0x60], eax
lea ecx, [eax + 1]
mov dword [ebp - 0x64], ecx
test ecx, ecx
jne 0x6cb870
xor edi, edi
mov dword [ebp - 0x4c], edi
jmp 0x6cb87e
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 0x6cb886
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], 0x1f
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x1f
mov dword [ebp - 0x44], edx
mov eax, 0x705050
mov esi, 0x1f
movups xmmword [edx], xmm0
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
movsx ecx, byte [edx]
add ecx, 0xa48b234
sub eax, edx
mov dword [ebp - 0x58], eax
mov edi, eax
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xd7f5
shr eax, 4
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
sub ecx, 0x7a4e9fc3
sub esi, 1
jne 0x6cb8f3
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 0x6bd
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 0x6cb962
push eax
call fcn.006e3fab
add esp, 4
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], 0x6ffa60
test eax, eax
je 0x6cb97f
push eax
call fcn.006e3fab
add esp, 4
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x6cb9b3
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6cb9a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6cba4e
push edx
push ecx
call fcn.006df222
add esp, 8
test edi, edi
je 0x6cb9c0
push edi
call fcn.006e3fab
add esp, 4
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x6cb9f0
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6cb9e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6cba4e
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 0x6cba29
lea ecx, [esi + 0x3c]
call fcn.006d8a70
mov eax, dword [esi + 0x30]
mov dword [esi + 0x2c], 0x6ffa60
test eax, eax
je 0x6cba1e
push eax
call fcn.006e3fab
add esp, 4
push 0x48
push esi
call fcn.006df222
add esp, 8
mov al, byte [ebp - 0x45]
jmp 0x6cba30
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