Function at 0xc5df20
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0xd28520
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0xd916ec]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xd916ec]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94]
xor ebx, ebx
push 1
mov esi, ecx
push 0xd4fdd4
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
mov byte [esp + 0x1e], bl
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00b78800
mov dword [esp + 0x8c], ebx
mov eax, dword [esp + 0x28]
mov ebp, 0x10
lea edi, [esi + 0x14]
cmp dword [esp + 0x3c], ebp
jae 0xc5dfa5
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov edx, dword [edi + 0x10]
push ecx
push eax
push edx
push ebx
mov ecx, edi
call fcn.00b7bb10
test eax, eax
jne 0xc5dfca
lea ecx, [esi + 0x10]
call fcn.00c7cc60
mov byte [esp + 0x17], 1
jmp 0xc5dfce
mov byte [esp + 0x17], bl
mov dword [esp + 0x8c], 0xffffffff
cmp dword [esp + 0x3c], ebp
jb 0xc5dfec
mov eax, dword [esp + 0x28]
push eax
call fcn.00cb8a36
add esp, 4
cmp byte [esp + 0x17], bl
je 0xc5dff7
mov byte [esp + 0x16], 1
mov eax, dword [esi + 0x10]
cmp eax, 3
jne 0xc5e050
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x24]
call fcn.00c5dcc0
test al, al
je 0xc5e1f0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x20], eax
fild qword [esp + 0x1c]
and ecx, 0x80000000
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebx
fild qword [esp + 0x1c]
fchs
faddp st(1)
fstp qword [edx]
jmp 0xc5e182
cmp eax, 4
jne 0xc5e06f
mov ecx, edi
call fcn.00c7d350
mov eax, dword [esp + 0x18]
lea ecx, [esi + 0x10]
fstp qword [eax]
call fcn.00c7cc60
jmp 0xc5e182
cmp eax, 2
jne 0xc5e196
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00b79870
lea eax, [esp + 0x28]
mov dword [esp + 0x8c], 1
call fcn.00c336c0
mov ecx, dword [esp + 0x38]
push 3
push 0xd533c4
push ecx
push ebx
lea ecx, [esp + 0x38]
call fcn.00b7bb10
test eax, eax
je 0xc5e14f
lea edx, [esp + 0x28]
push str.infinity
push edx
call fcn.00b7e3d0
add esp, 8
test al, al
jne 0xc5e14f
lea eax, [esp + 0x28]
push 0xd533d0
push eax
call fcn.00b7e3d0
add esp, 8
test al, al
je 0xc5e101
fld qword [0xd944f8]
mov ecx, dword [esp + 0x18]
fstp qword [ecx]
jmp 0xc5e15b
push str.Expected_double.
lea ecx, [esp + 0x64]
call fcn.00b76550
mov byte [esp + 0x8c], 2
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
push esi
lea ebx, [esp + 0x64]
call fcn.00c5be50
mov ecx, ebx
mov byte [esp + 0x8c], 1
call fcn.00c30ca0
lea ecx, [esp + 0x28]
mov dword [esp + 0x8c], 0xffffffff
call fcn.00c30ca0
jmp 0xc5e1f0
fld qword [0xd944e8]
mov edx, dword [esp + 0x18]
fstp qword [edx]
lea ecx, [esi + 0x10]
call fcn.00c7cc60
mov dword [esp + 0x8c], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0xc5e182
mov eax, dword [esp + 0x28]
push eax
call fcn.00cb8a36
add esp, 4
cmp byte [esp + 0x16], bl
je 0xc5e192
mov eax, dword [esp + 0x18]
fld qword [eax]
fchs
fstp qword [eax]
mov al, 1
jmp 0xc5e1f2
push 0x10
push str.Expected_double.
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00b78800
mov dword [esp + 0x8c], 3
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
push esi
lea ebx, [esp + 0x48]
call fcn.00c5be50
mov dword [esp + 0x8c], 0xffffffff
cmp dword [esp + 0x58], 0x10
jb 0xc5e1f0
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00cb8a36
add esp, 4
xor al, al
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00cb8a41
add esp, 0x7c
ret 4