Function at 0x4c8760
Capabilities:
Check for peb ntglobalflag flag
Check http status code
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51ddfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.004c8690
mov ecx, dword [0x5b7468]
lea esi, [ebx + 0x26c]
push esi
add ecx, 0x30
call fcn.00404620
mov dword [esi], eax
mov ecx, dword [0x5b7468]
lea esi, [ebx + 0x28c]
push esi
add ecx, 0x30
call fcn.00404620
fld dword [ebx + 0x2ac]
mov dword [esi], eax
xor eax, eax
lea edx, [ebx + 0x6c]
mov ecx, 0x10
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x2c], 0x3f800000
mov dword [esp + 0x68], 0x3f800000
mov edi, edx
mov ecx, 0x10
lea esi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebx + 0xac]
mov ecx, 0x10
lea esi, [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x2c], 0x3f800000
mov dword [esp + 0x68], 0x3f800000
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x2ac]
mov dword [edx], ecx
fstp dword [edx + 0x14]
mov ecx, 0x3f800000
mov dword [edx + 0x28], ecx
mov edx, dword [ebx + 0x2b0]
fld dword [ebx + 0x2b0]
mov dword [eax], edx
fstp dword [eax + 0x14]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebx + 0x188]
xor edi, edi
cmp ecx, edi
je 0x4c8871
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x188], edi
push 0x50
call fcn.00514cc5
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, edi
mov dword [esp + 0x74], edi
je 0x4c88c4
push edi
push 0x876
push 1
push 0x190
push 0x242
push 1
mov ecx, esi
mov dword [esi], 0x5257bc
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
call fcn.0044fcb0
jmp 0x4c88c6
xor esi, esi
mov dword [ebx + 0x188], esi
mov ecx, dword [0x5b7470]
push esi
mov dword [esp + 0x78], 0xffffffff
call fcn.004948c0
mov ecx, dword [ebx + 0x188]
push 1
push 1
call fcn.0044f700
mov ecx, dword [ebx + 0x188]
mov esi, dword [ecx + 0x10]
add esi, 4
mov ebp, 2
mov eax, edi
cdq
mov ecx, 0x14
idiv ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov dword [esp + 0x18], eax
fld dword [0x52c0fc]
fmul st(1)
fsub dword [0x52c0f8]
fst dword [esi - 4]
fild dword [esp + 0x18]
fst dword [esp + 0x10]
fmul dword [0x52c0fc]
fsub dword [0x52c0f8]
fst dword [esi]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fmul dword [0x52c0f4]
fsubr dword [0x52c0b0]
fst dword [esp + 0x1c]
fstp st(2)
fstp st(0)
fstp dword [esi + 4]
fld dword [esi + 4]
fld dword [esi]
fld dword [esi - 4]
fld st(1)
fmul st(2)
fld st(1)
fmul st(2)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fmul dword [0x522c18]
fsubr dword [0x5215b0]
fld dword [0x521418]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x4c89b6
fld st(0)
fld dword [0x521590]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x4c89b6
fstp st(0)
fld dword [0x521590]
jmp 0x4c89cd
fld dword [0x521418]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4c89cd
fstp st(0)
fld dword [0x521418]
fmul dword [0x523a78]
call fcn.00514cfc
fsub dword [0x5215ec]
mov ecx, dword [esp + 0x14]
shl eax, 0x18
fst dword [esi + 0xc]
mov edx, 0xffffff
fld dword [esp + 0x10]
sub edx, eax
fsub dword [0x5215ec]
mov dword [esi + 8], edx
mov eax, 0x13
cmp ecx, eax
fst dword [esi + 0x10]
fxch st(1)
fmul dword [0x52c0f0]
fstp dword [esi + 0x14]
fmul dword [0x52c0ec]
fstp dword [esi + 0x18]
fld dword [esp + 0x1c]
fadd st(0), st(0)
fstp dword [esi + 4]
fld dword [esi - 4]
fmul dword [0x521e60]
fstp dword [esi - 4]
fld dword [esi]
fmul dword [0x521e60]
fstp dword [esi]
fld dword [esi + 4]
fmul dword [0x521e60]
fstp dword [esi + 4]
je 0x4c8adc
cmp dword [esp + 0x18], eax
je 0x4c8adc
mov eax, dword [ebx + 0x188]
mov ecx, dword [eax + 0x14]
mov word [ecx], di
mov eax, dword [ebx + 0x188]
add dword [eax + 0x14], ebp
mov edx, dword [ebx + 0x188]
mov ecx, dword [edx + 0x14]
lea eax, [edi + 1]
mov word [ecx], ax
mov ecx, dword [ebx + 0x188]
add dword [ecx + 0x14], ebp
mov edx, dword [ebx + 0x188]
mov edx, dword [edx + 0x14]
lea ecx, [edi + 0x14]
mov word [edx], cx
mov edx, dword [ebx + 0x188]
add dword [edx + 0x14], ebp
mov edx, dword [ebx + 0x188]
mov edx, dword [edx + 0x14]
mov word [edx], cx
mov ecx, dword [ebx + 0x188]
add dword [ecx + 0x14], ebp
mov ecx, dword [ebx + 0x188]
mov edx, dword [ecx + 0x14]
mov word [edx], ax
mov eax, dword [ebx + 0x188]
add dword [eax + 0x14], ebp
mov ecx, dword [ebx + 0x188]
mov edx, dword [ecx + 0x14]
lea eax, [edi + 0x15]
mov word [edx], ax
mov eax, dword [ebx + 0x188]
add dword [eax + 0x14], ebp
inc edi
add esi, 0x20
cmp edi, 0x190
jl 0x4c8900
mov ecx, dword [ebx + 0x188]
push 1
push 1
call fcn.0044f770
push 0
push 0x42
push 1
push 0x2c
lea esi, [ebx + 0x18c]
push 0x142
push 1
mov ecx, esi
mov dword [esp + 0x30], esi
call fcn.0044fcb0
mov ecx, dword [0x5b7470]
push esi
call fcn.004948c0
push 1
push 1
mov ecx, esi
call fcn.0044f700
mov eax, dword [ebx + 0x19c]
mov ebx, dword [ebx + 0x1a0]
mov word [ebx], 0
mov word [ebx + ebp], bp
add ebx, ebp
mov word [ebx + ebp], 1
add ebx, ebp
mov word [ebx + ebp], 1
add ebx, ebp
mov word [ebx + ebp], bp
add ebx, ebp
mov word [ebx + ebp], 3
add ebx, ebp
mov dword [esp + 0x20], 0xc71c4000
mov edx, dword [esp + 0x20]
mov ecx, eax
mov dword [ecx], edx
mov dword [esp + 0x24], 0xc69c4000
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], edx
mov dword [esp + 0x28], 0x43c80000
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], edx
mov dword [esp + 0x20], 0x471c4000
mov edx, dword [esp + 0x20]
lea ecx, [eax + 0x18]
mov dword [ecx], edx
mov dword [esp + 0x24], 0xc69c4000
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], edx
mov dword [esp + 0x28], 0x43c80000
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], edx
mov dword [esp + 0x20], 0xc71c4000
mov edx, dword [esp + 0x20]
lea ecx, [eax + 0x30]
mov dword [ecx], edx
mov dword [esp + 0x24], 0x469c4000
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], edx
mov dword [esp + 0x28], 0x43c80000
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], edx
mov dword [esp + 0x20], 0x471c4000
mov edx, dword [esp + 0x20]
lea ecx, [eax + 0x48]
mov dword [ecx], edx
mov dword [esp + 0x24], 0x469c4000
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], edx
mov dword [esp + 0x28], 0x43c80000
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], edx
add ebx, ebp
mov edi, 4
mov dword [esp + 0x10], 0
lea ecx, [eax + 0x70]
jmp 0x4c8c40
mov ebp, 2
jmp 0x4c8c40
mov word [ebx], di
add ebx, ebp
lea eax, [edi + 1]
mov word [ebx], ax
add ebx, ebp
lea edx, [edi + 2]
mov word [ebx], dx
add ebx, ebp
mov word [ebx], ax
add ebx, ebp
lea eax, [edi + 3]
mov word [ebx], ax
add ebx, ebp
mov word [ebx], dx
add ebx, ebp
xor esi, esi
lea esp, [esp]
mov edx, esi
and edx, 0x80000001
jns 0x4c8c7f
dec edx
or edx, 0xfffffffe
inc edx
mov eax, dword [esp + 0x10]
lea edx, [edx + eax - 5]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fld dword [0x52bf9c]
mov eax, esi
cdq
fmul st(1)
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
fmul dword [0x522c20]
neg eax
sbb eax, eax
lea edx, [ecx - 0x10]
fld st(0)
and eax, 0xff000100
fsin
dec eax
mov dword [ecx - 4], eax
inc esi
add ecx, 0x18
cmp esi, 4
fmul dword [0x52c0e8]
fstp dword [esp + 0x20]
mov ebp, dword [esp + 0x20]
fcos
mov dword [edx], ebp
fmul dword [0x52c088]
fstp dword [esp + 0x24]
fild dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
fld dword [0x52c0e4]
mov dword [edx + 4], ebp
fmul st(1)
fstp dword [esp + 0x28]
mov ebp, dword [esp + 0x28]
fxch st(1)
mov dword [edx + 8], ebp
fmul dword [0x522c20]
fadd dword [0x5213d0]
fstp dword [ecx - 0x18]
fld dword [0x521590]
fsub st(1)
fstp dword [ecx - 0x14]
fstp st(0)
jl 0x4c8c70
mov eax, dword [esp + 0x10]
add edi, 4
inc eax
cmp eax, 0xa
mov dword [esp + 0x10], eax
jl 0x4c8c36
mov ecx, dword [esp + 0x18]
push 1
push 1
call fcn.0044f770
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret