Function at 0x6574b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0xa56780
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00626140
mov dword [esp + 0x1c], eax
mov byte [eax], 0
mov eax, dword [esi + 0x940]
movzx ecx, word [eax + 0x5c]
mov dx, word [eax + 0x5e]
add eax, 0x5c
mov word [esp + 0x20], cx
mov word [esp + 0x22], dx
mov edx, dword [esi + 8]
mov ecx, dword [edx + 0x568]
mov di, word [ecx + 0x6c]
sub di, word [edx + 0x560]
add ecx, 0x6c
mov cx, word [ecx + 2]
sub cx, word [edx + 0x562]
mov word [esp + 0x14], di
mov word [esp + 0x16], cx
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x16]
lea ecx, [ebx - 0x64]
add ebp, 0x14
mov dword [esp + 0x30], 0
test cx, cx
jge 0x657549
xor ecx, ecx
movsx edx, word [esp + 0x20]
movsx eax, cx
add edx, eax
mov eax, dword [0xcddb00]
cmp edx, eax
jle 0x657562
mov ecx, eax
sub ecx, dword [esp + 0x20]
test bp, bp
jge 0x657569
xor ebp, ebp
movsx eax, word [esp + 0x22]
movsx edx, bp
add eax, edx
mov edx, dword [0xcddb04]
cmp eax, edx
jle 0x6575a7
sub edx, dword [esp + 0x22]
mov eax, dword [0xcddb00]
sub edx, 0x1e
mov bp, dx
cdq
sub eax, edx
movsx ecx, di
sar eax, 1
cmp ecx, eax
jge 0x65759d
lea ecx, [ebx + 0x1e]
jmp 0x6575a7
sub ebx, dword [esp + 0x20]
sub ebx, 0x1e
mov cx, bx
movsx edi, bp
movsx ebp, cx
mov ecx, dword [esi + 0x940]
mov word [esp + 0x14], bp
mov word [esp + 0x16], di
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x14]
push eax
call edx
lea ecx, [ebp + 0xd]
mov word [esp + 0x14], cx
mov ecx, dword [esi + 0x944]
lea eax, [edi + 0x14]
mov word [esp + 0x16], ax
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 0x14]
push edx
call eax
mov ecx, dword [esi + 0x950]
fld dword [esi + 0x96c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x98]
push ecx
fstp dword [esp]
call eax
mov ecx, dword [esi + 0x954]
fld dword [esi + 0x970]
mov edx, dword [ecx]
mov eax, dword [edx + 0x98]
push ecx
fstp dword [esp]
call eax
mov ecx, dword [esi + 0x958]
fld dword [esi + 0x974]
mov edx, dword [ecx]
mov eax, dword [edx + 0x98]
push ecx
fstp dword [esp]
call eax
mov ecx, dword [esi + 0x978]
push 0
push 1
push 0
push ecx
lea edx, [esp + 0x2c]
push 0xabd2a8
push edx
call fcn.00417090
mov ecx, dword [esi + 0x95c]
add esp, 0xc
push eax
call fcn.0089d0e0
fld dword [esi + 0x970]
fld dword [esi + 0x974]
fcompp
fnstsw ax
test ah, 5
mov eax, dword [esi + 0x954]
jp 0x65768b
mov dword [eax + 0x1ac], 0xffffff
jmp 0x657695
mov dword [eax + 0x1ac], 0xffa0a0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x568]
mov edi, dword [eax + 0x4218]
call fcn.00626140
mov ebp, eax
mov dword [esp + 0x20], ebp
mov byte [ebp], 0
mov byte [esp + 0x30], 1
test edi, edi
je 0x657735
mov ebx, dword [edi + 0x24]
cmp dword [ebx + 8], 6
jne 0x657735
mov eax, dword [ebx + 0x54]
movsx edx, word [eax + 0x18]
mov ecx, dword [edi + 0x28]
push edx
push ecx
lea eax, [esp + 0x28]
push 0xabd2a0
push eax
call fcn.00417090
add esp, 0x10
test eax, eax
jne 0x6576ec
mov byte [ebp], al
jmp 0x6576fb
push eax
push 0x7f8
push ebp
call fcn.00a2a28a
add esp, 0xc
mov ecx, dword [ebx + 0x14]
push 0
push 1
push 0
push ecx
mov ecx, dword [esi + 0x960]
call fcn.0089d0e0
mov ecx, dword [esi + 0x964]
push 0
push 1
push 0
push ebp
call fcn.0089d0e0
mov eax, dword [edi + 0x28]
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x14fc]
push eax
push edi
call fcn.00658880
push ebp
mov byte [esp + 0x34], 0
call fcn.00626120
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00626120
add esp, 8
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret