Function at 0x6cbae0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c0]
call fcn.00509928
mov dl, 6
call fcn.0050dd34
mov dl, 1
mov eax, dword [0x50303c]
call fcn.0050c094
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x6cbd11
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 6
mov eax, dword [ebp - 0xc]
call fcn.0050dd34
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0050c9c8
mov eax, dword [eax + 0x48]
mov edx, esi
call fcn.00505e80
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
dec ecx
xor edx, edx
xor eax, eax
call fcn.004a3f14
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0050c9c8
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x54]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0050cb4c
mov esi, eax
movzx eax, byte [esi + 2]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp qword [ebp - 0x18]
wait
mov eax, ebx
movzx edx, al
mov dword [ebp - 0x6c], edx
fild dword [ebp - 0x6c]
fsub qword [ebp - 0x18]
fstp qword [ebp - 0x30]
wait
movzx edx, byte [esi + 1]
mov dword [ebp - 0x6c], edx
fild dword [ebp - 0x6c]
fstp qword [ebp - 0x20]
wait
mov edx, eax
shr edx, 8
movzx edx, dl
mov dword [ebp - 0x6c], edx
fild dword [ebp - 0x6c]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x38]
wait
movzx edx, byte [esi]
mov dword [ebp - 0x6c], edx
fild dword [ebp - 0x6c]
fstp qword [ebp - 0x28]
wait
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fsub qword [ebp - 0x28]
fstp qword [ebp - 0x40]
wait
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
test eax, eax
jl 0x6cbce5
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fild dword [ebp - 8]
fld xword [0x6cbd20]
fmulp st(1)
fdivrp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.004070dc
fstp qword [ebp - 0x48]
wait
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0050cb4c
mov esi, eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
dec eax
test eax, eax
jl 0x6cbcd9
inc eax
mov dword [ebp - 0x58], eax
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
mov dword [ebp - 0x70], ebx
fild dword [ebp - 0x70]
fld xword [0x6cbd20]
fmulp st(1)
fdivrp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.004070dc
fstp qword [ebp - 0x50]
wait
fld qword [ebp - 0x50]
fmul qword [ebp - 0x48]
fmul qword [ebp - 0x30]
fadd qword [ebp - 0x18]
call fcn.00407130
lea edi, [ebx + ebx*2]
mov byte [esi + edi + 2], al
fld qword [ebp - 0x50]
fmul qword [ebp - 0x48]
fmul qword [ebp - 0x38]
fadd qword [ebp - 0x20]
call fcn.00407130
mov byte [esi + edi + 1], al
fld qword [ebp - 0x50]
fmul qword [ebp - 0x48]
fmul qword [ebp - 0x40]
fadd qword [ebp - 0x28]
call fcn.00407130
mov byte [esi + edi], al
inc ebx
dec dword [ebp - 0x58]
jne 0x6cbc64
inc dword [ebp - 8]
dec dword [ebp - 0x54]
jne 0x6cbc19
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c0]
call fcn.00509928
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cbd18
mov eax, dword [ebp - 0xc]
call fcn.00407d70
ret