Function at 0x5bc254
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov esi, ecx
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x5bc534
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.005b7d60
mov eax, dword [ebp - 4]
call fcn.005b8044
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x48], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x5c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.0042b9d0
neg eax
add eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
fld qword [eax + 0x30]
fcomp dword [0x5bc544]
fnstsw ax
sahf
je 0x5bc2e4
mov eax, dword [ebp - 4]
fld qword [eax + 0x30]
fcomp dword [0x5bc548]
fnstsw ax
sahf
jne 0x5bc3ac
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fild dword [ebp - 0x1c]
fdivp st(1)
fstp xword [ebp - 0x38]
wait
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fld xword [ebp - 0x38]
fdivp st(1)
call fcn.00402cf4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x44], edx
test bl, bl
je 0x5bc460
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x60]
add al, 0xf3
sub al, 5
jae 0x5bc377
mov eax, dword [ebp - 0x10]
sar eax, 1
jns 0x5bc33f
adc eax, 0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
fld qword [eax + 0x30]
fcomp dword [0x5bc548]
fnstsw ax
sahf
jne 0x5bc460
mov eax, dword [ebp - 0x10]
add eax, 2
sar eax, 1
jns 0x5bc36c
adc eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
jmp 0x5bc460
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
sub eax, 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
fld qword [eax + 0x30]
fcomp dword [0x5bc548]
fnstsw ax
sahf
jne 0x5bc460
mov eax, dword [ebp - 0x10]
add eax, 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
jmp 0x5bc460
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fild dword [ebp - 0x1c]
fdivp st(1)
fstp xword [ebp - 0x38]
wait
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0xc]
fld xword [ebp - 0x38]
fdivp st(1)
call fcn.00402cf4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x44], edx
test bl, bl
je 0x5bc460
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x60]
add al, 0xf3
sub al, 5
jae 0x5bc434
mov eax, dword [ebp - 0x10]
sar eax, 1
jns 0x5bc403
adc eax, 0
mov edx, dword [ebp - 0xc]
sub edx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
fld qword [eax + 0x30]
fcomp dword [0x5bc54c]
fnstsw ax
sahf
jne 0x5bc460
mov eax, dword [ebp - 0x10]
add eax, 2
sar eax, 1
jns 0x5bc42c
adc eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
jmp 0x5bc460
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
sub eax, 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
fld qword [eax + 0x30]
fcomp dword [0x5bc54c]
fnstsw ax
sahf
jne 0x5bc460
mov eax, dword [ebp - 0x10]
add eax, 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov dl, 1
mov eax, dword [0x42a640]
call fcn.0042f72c
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
push ebp
push 0x5bc50f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, dword [ebp - 0x2c]
mov dl, 1
mov eax, dword [0x42a4e0]
call fcn.0042f3f8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5bc4e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.005bb944
test bl, bl
je 0x5bc4ce
push ebp
call fcn.005bbdb8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bc4eb
mov eax, dword [ebp - 8]
call fcn.00403600
ret