Function at 0x4779f0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xf4
movsd xmm0, qword [ebp + 0x18]
movsd xmm1, qword [ebp + 0x10]
movsd xmm2, qword [0x57c410]
push ebx
push esi
mov ebx, ecx
movsd qword [esp + 0x5c], xmm0
xorps xmm0, xmm0
xor esi, esi
cmp dword [ebx + 0xc], 0x13
push edi
movsd qword [esp + 0x68], xmm1
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x48], xmm0
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0x90], xmm0
movsd qword [esp + 0x88], xmm0
movsd qword [esp + 0xb0], xmm0
movsd qword [esp + 0xa8], xmm0
movsd qword [esp + 0xa0], xmm0
movsd qword [esp + 0x80], xmm0
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x70], xmm0
mov byte [esp + 0x27], 0
movsd qword [esp + 0x30], xmm2
jne 0x477ccc
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
call edx
test al, al
je 0x477aac
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [ebx + 0x94]
cmp dword [ebx + 0xbc], eax
jl 0x477ac8
mov ecx, dword [ebx + 0xb4]
movsd xmm0, qword [ecx + eax*8 - 8]
jmp 0x477acb
xorps xmm0, xmm0
mov ecx, ebx
movsd qword [esp + 0x38], xmm0
call fcn.0045cfd0
fstp qword [esp + 0x28]
movsd xmm6, qword [ebp + 0x18]
movsd xmm1, qword [ebp + 0x10]
movd xmm2, dword [ebx + 0x90]
movsd xmm3, qword [esp + 0x28]
movsd xmm4, qword [esp + 0x38]
cvtdq2pd xmm2, xmm2
movapd xmm0, xmm6
subsd xmm0, xmm1
mulsd xmm0, xmm2
movapd xmm2, xmm3
subsd xmm2, xmm4
divsd xmm0, xmm2
comisd xmm0, xmmword [0x57c410]
jbe 0x477b2c
movapd xmm2, xmm0
movsd qword [esp + 0x30], xmm2
jmp 0x477b32
movsd xmm2, qword [esp + 0x30]
movsd xmm5, qword [0x57ca30]
movsd xmm0, qword [0x57e398]
movapd xmm7, xmm1
subsd xmm7, xmm4
andpd xmm7, xmm5
comisd xmm0, xmm7
jbe 0x477b8b
movapd xmm7, xmm6
subsd xmm7, xmm3
andpd xmm7, xmm5
comisd xmm0, xmm7
jbe 0x477b8b
cmp dword [ebx + 0xd8], esi
jle 0x477b86
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
mov ecx, ebx
call fcn.00460fd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov byte [esp + 0x27], 1
subsd xmm4, xmm0
comisd xmm4, xmm1
jbe 0x477cb6
mov edx, dword [ebx]
mov edx, dword [edx + 0x68]
sub esp, 8
lea eax, [esp + 0xc0]
movsd qword [esp], xmm1
push eax
mov ecx, ebx
call edx
movq xmm0, qword [eax]
movq qword [esp + 0x40], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0x48], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
sub esp, 8
movq qword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0x40]
lea ecx, [esp + 0xc0]
movsd qword [esp], xmm0
push ecx
mov ecx, ebx
call edx
movq xmm0, qword [eax]
movsd qword [esp + 0x88], xmm0
movq xmm1, qword [eax + 8]
subsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x90], xmm1
movq xmm2, qword [eax + 0x10]
subsd xmm1, qword [esp + 0x48]
movsd qword [esp + 0x98], xmm2
subsd xmm2, qword [esp + 0x50]
lea ecx, [esp + 0xb8]
movsd qword [esp + 0xb8], xmm0
movsd qword [esp + 0xc0], xmm1
movsd qword [esp + 0xc8], xmm2
call fcn.00473c80
fld qword [ebp + 0x20]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x477c8f
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
push 0
call fcn.0045cab0
mov esi, dword [ebp + 0xc]
cmp dword [esi + 8], 0
jg 0x477c7f
push 1
mov ecx, esi
call fcn.00401a80
mov ecx, dword [esi]
movsd xmm0, qword [ebp + 0x10]
movsd qword [ecx], xmm0
mov esi, 1
movsd xmm1, qword [esp + 0x38]
movsd xmm0, qword [0x57e398]
movsd xmm6, qword [ebp + 0x18]
movsd xmm2, qword [esp + 0x30]
movsd xmm3, qword [esp + 0x28]
movsd qword [esp + 0x68], xmm1
jmp 0x477cbc
movsd xmm1, qword [esp + 0x68]
addsd xmm0, xmm3
comisd xmm6, xmm0
jbe 0x477ccc
movsd qword [esp + 0x60], xmm3
movsd xmm0, qword [esp + 0x60]
mov edx, dword [ebx]
mov edx, dword [edx + 0x68]
subsd xmm0, xmm1
movapd xmm3, xmm0
sub esp, 8
divsd xmm3, xmm2
mulsd xmm2, qword [0x57be40]
lea eax, [esp + 0xc0]
movsd qword [esp], xmm1
divsd xmm0, xmm2
push eax
mov ecx, ebx
movsd qword [esp + 0x34], xmm3
movsd qword [esp + 0xe4], xmm0
movsd qword [esp + 0x3c], xmm1
call edx
movq xmm0, qword [eax]
mov edi, dword [ebp + 8]
movq qword [esp + 0x40], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0x48], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x50], xmm0
cmp esi, dword [edi + 8]
jl 0x477d4b
lea eax, [esi + 1]
push eax
mov ecx, edi
call fcn.00401b40
mov edx, dword [edi]
movq xmm0, qword [esp + 0x40]
mov edi, dword [ebp + 0xc]
lea ecx, [esi + esi*2]
lea eax, [edx + ecx*8]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x48]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0x50]
movq qword [eax + 0x10], xmm0
cmp esi, dword [edi + 8]
jl 0x477d86
lea eax, [esi + 1]
push eax
mov ecx, edi
call fcn.00401a80
mov ecx, dword [edi]
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x60]
movsd qword [ecx + esi*8], xmm0
inc esi
comisd xmm1, xmm0
jbe 0x478326
movsd xmm0, qword [ebp + 0x20]
mulsd xmm0, qword [0x57b718]
lea eax, [esi + esi*2]
add eax, eax
add eax, eax
add eax, eax
lea edx, [esi + 1]
movsd qword [esp + 0xf8], xmm0
mov dword [esp + 0x68], eax
mov dword [esp + 0x5c], edx
movsd xmm0, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0x28]
comisd xmm0, xmm1
mov edi, 1
jbe 0x477df2
movapd xmm1, xmm0
movsd qword [esp + 0x28], xmm1
movsd xmm2, qword [esp + 0x30]
xorps xmm0, xmm0
cvtsi2sd xmm0, edi
mulsd xmm0, xmm1
movsd xmm1, qword [esp + 0x60]
addsd xmm0, xmm2
movapd xmm3, xmm1
subsd xmm3, qword [0x57e398]
comisd xmm0, xmm3
movsd qword [esp + 0x38], xmm0
jbe 0x477e2f
movapd xmm0, xmm1
movsd qword [esp + 0x38], xmm0
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
sub esp, 8
lea ecx, [esp + 0xc0]
movapd xmm1, xmm0
movsd qword [esp], xmm0
addsd xmm1, xmm2
mulsd xmm1, qword [0x57b6c0]
push ecx
mov ecx, ebx
movsd qword [esp + 0xdc], xmm1
call edx
movq xmm0, qword [eax]
movq qword [esp + 0x88], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0x90], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
sub esp, 8
movq qword [esp + 0xa0], xmm0
movsd xmm0, qword [esp + 0xd8]
lea ecx, [esp + 0xc0]
movsd qword [esp], xmm0
push ecx
mov ecx, ebx
call edx
movq xmm0, qword [eax]
movq qword [esp + 0xa0], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0xa8], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xf8]
push ecx
movq qword [esp + 0xc4], xmm0
call fcn.00480fa0
fst qword [esp + 0x104]
fld qword [0x57e370]
add esp, 0x14
fcompi st(1)
fstp st(0)
jbe 0x47800e
mov al, 1
movsd xmm1, qword [esp + 0x60]
movsd xmm2, qword [esp + 0x38]
movapd xmm0, xmm1
subsd xmm0, qword [0x57e398]
comisd xmm2, xmm0
jae 0x478121
test al, al
je 0x477fc9
movsd xmm6, qword [esp + 0xa0]
movsd xmm7, qword [esp + 0xa8]
movsd xmm2, qword [esp + 0xb0]
movapd xmm5, xmm2
subsd xmm5, qword [esp + 0x98]
subsd xmm2, qword [esp + 0x50]
movapd xmm3, xmm6
subsd xmm3, qword [esp + 0x88]
movapd xmm4, xmm7
subsd xmm4, qword [esp + 0x90]
movapd xmm1, xmm6
subsd xmm1, qword [esp + 0x40]
movapd xmm0, xmm7
subsd xmm0, qword [esp + 0x48]
mulsd xmm0, xmm4
mulsd xmm1, xmm3
addsd xmm0, xmm1
mulsd xmm2, xmm5
addsd xmm0, xmm2
comisd xmm0, xmmword [0x57b630]
ja 0x478160
movsd xmm1, qword [esp + 0x60]
cmp edi, 0x14
jge 0x47816f
movq xmm0, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x28]
movsd qword [esp + 0x70], xmm0
movq xmm0, qword [esp + 0x90]
movsd qword [esp + 0x78], xmm0
movq xmm0, qword [esp + 0x98]
inc edi
movsd qword [esp + 0x80], xmm0
jmp 0x477df2
movsd xmm0, qword [ebp + 0x20]
xor al, al
comisd xmm0, xmmword [esp + 0xf0]
jbe 0x478056
movsd xmm1, qword [esp + 0xe0]
movsd xmm2, qword [0x57cb70]
movsd xmm0, qword [esp + 0xe8]
movapd xmm3, xmm1
mulsd xmm3, xmm2
comisd xmm0, xmm3
jbe 0x478056
mulsd xmm0, xmm2
comisd xmm1, xmm0
ja 0x477f1b
cmp edi, 1
jg 0x478169
movsd xmm1, qword [esp + 0x28]
mulsd xmm1, qword [0x57bdd0]
movsd qword [esp + 0x28], xmm1
cmp esi, 0xc8
jle 0x477df2
movsd xmm2, qword [esp + 0xd8]
comisd xmm2, xmm1
jbe 0x477df2
movq xmm0, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x60]
movq qword [esp + 0x40], xmm0
movq xmm0, qword [esp + 0x90]
movq qword [esp + 0x48], xmm0
movq xmm0, qword [esp + 0x98]
movq qword [esp + 0x50], xmm0
movapd xmm0, xmm2
mulsd xmm0, qword [0x57c410]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x38]
movapd xmm3, xmm1
subsd xmm3, qword [0x57e370]
comisd xmm0, xmm3
movsd qword [esp + 0x30], xmm0
jb 0x47810a
movapd xmm0, xmm1
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm0
jmp 0x4781de
movapd xmm3, xmm1
subsd xmm3, xmm2
comisd xmm0, xmm3
jb 0x4781de
jmp 0x4781d4
movapd xmm0, xmm1
movsd qword [esp + 0x38], xmm1
movq xmm1, qword [esp + 0x88]
movq qword [esp + 0x40], xmm1
movq xmm1, qword [esp + 0x90]
movq qword [esp + 0x48], xmm1
movq xmm1, qword [esp + 0x98]
movsd qword [esp + 0x30], xmm0
movq qword [esp + 0x50], xmm1
jmp 0x4781de
cmp edi, 1
jle 0x4782c7
movsd xmm1, qword [esp + 0x60]
movq xmm0, qword [esp + 0x70]
movsd xmm3, qword [esp + 0x38]
movq qword [esp + 0x40], xmm0
movq xmm0, qword [esp + 0x78]
movq qword [esp + 0x48], xmm0
movq xmm0, qword [esp + 0x80]
movq qword [esp + 0x50], xmm0
xorps xmm0, xmm0
dec edi
cvtsi2sd xmm0, edi
mulsd xmm0, qword [esp + 0x28]
movapd xmm2, xmm1
subsd xmm2, qword [0x57e398]
comisd xmm3, xmm2
movsd qword [esp + 0x28], xmm0
addsd xmm0, qword [esp + 0x30]
movsd qword [esp + 0x30], xmm0
jb 0x4781de
movsd qword [esp + 0x38], xmm0
subsd xmm1, xmm0
movsd qword [esp + 0x28], xmm1
mov edi, dword [ebp + 8]
cmp esi, dword [edi + 8]
jl 0x4781f8
mov edx, dword [esp + 0x5c]
push edx
mov ecx, edi
call fcn.00401b40
movsd xmm0, qword [esp + 0x30]
mov eax, dword [edi]
mov edi, dword [esp + 0x68]
movq xmm1, qword [esp + 0x40]
mov ecx, dword [ebp + 0xc]
movq qword [eax + edi], xmm1
movq xmm1, qword [esp + 0x48]
movq qword [eax + edi + 8], xmm1
movq xmm1, qword [esp + 0x50]
movq qword [eax + edi + 0x10], xmm1
cmp esi, dword [ecx + 8]
jl 0x47823c
mov eax, dword [esp + 0x5c]
push eax
call fcn.00401a80
movsd xmm0, qword [esp + 0x30]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [ebp + 8]
movsd qword [ecx + esi*8], xmm0
mov eax, dword [edx]
movsd xmm0, qword [esp + 0xf8]
sub esp, 8
lea eax, [eax + edi - 0x18]
movsd qword [esp], xmm0
push eax
lea ecx, [esp + 0x4c]
call fcn.00473c20
movsd xmm0, qword [esp + 0x60]
test al, al
je 0x4782f6
movsd xmm2, qword [esp + 0x30]
movapd xmm1, xmm0
subsd xmm1, qword [0x57e398]
comisd xmm2, xmm1
jbe 0x478302
cmp esi, 1
jle 0x4782f6
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movq xmm1, qword [eax + edi]
add eax, edi
movq qword [eax - 0x18], xmm1
movq xmm1, qword [eax + 8]
movq qword [eax - 0x10], xmm1
movq xmm1, qword [eax + 0x10]
movq qword [eax - 8], xmm1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
fld qword [ecx + esi*8]
lea eax, [ecx + esi*8]
fstp qword [eax - 8]
jmp 0x478302
movq xmm0, qword [esp + 0xb0]
movq qword [esp + 0x50], xmm0
movsd xmm0, qword [esp + 0xd0]
movq qword [esp + 0x40], xmm6
movq qword [esp + 0x48], xmm7
movsd qword [esp + 0x30], xmm0
jmp 0x4781de
inc dword [esp + 0x5c]
inc esi
add edi, 0x18
mov dword [esp + 0x68], edi
movsd xmm2, qword [esp + 0x30]
movapd xmm1, xmm0
subsd xmm1, qword [0x57e398]
comisd xmm2, xmm1
jae 0x478326
comisd xmm0, xmmword [esp + 0x38]
ja 0x477dce
cmp dword [ebx + 0xc], 0x13
jne 0x47845e
test esi, esi
je 0x47845e
mov ecx, ebx
call fcn.0045cfd0
fadd qword [0x57e398]
fld qword [ebp + 0x18]
fcompi st(1)
fstp st(0)
jbe 0x47845e
mov edx, dword [ebx]
movsd xmm0, qword [ebp + 0x18]
mov edx, dword [edx + 0x68]
sub esp, 8
lea eax, [esp + 0xc0]
movsd qword [esp], xmm0
push eax
mov ecx, ebx
call edx
movq xmm0, qword [eax]
xorps xmm3, xmm3
movsd qword [esp + 0x40], xmm0
movq xmm1, qword [eax + 8]
movsd qword [esp + 0x48], xmm1
movq xmm2, qword [eax + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edi, [esi + esi*2]
add edi, edi
add edi, edi
movsd qword [esp + 0x80], xmm3
movsd qword [esp + 0x78], xmm3
movsd qword [esp + 0x70], xmm3
movsd qword [esp + 0x50], xmm2
add edi, edi
subsd xmm0, qword [ecx + edi - 0x18]
lea eax, [ecx + edi - 0x18]
movsd qword [esp + 0x70], xmm0
subsd xmm1, qword [eax + 8]
movsd qword [esp + 0x78], xmm1
subsd xmm2, qword [eax + 0x10]
lea ecx, [esp + 0x70]
movsd qword [esp + 0x80], xmm2
call fcn.00473c80
fld qword [ebp + 0x20]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x478423
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x40]
push edx
push esi
call fcn.0045cab0
mov edi, dword [ebp + 0xc]
cmp esi, dword [edi + 8]
jl 0x478414
lea eax, [esi + 1]
push eax
mov ecx, edi
call fcn.00401a80
mov ecx, dword [edi]
movsd xmm0, qword [ebp + 0x18]
movsd qword [ecx + esi*8], xmm0
inc esi
jmp 0x47845e
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movq xmm0, qword [esp + 0x40]
mov ecx, dword [ebp + 0xc]
movq qword [eax + edi - 0x18], xmm0
movq xmm0, qword [esp + 0x48]
lea edi, [eax + edi - 0x18]
movq qword [edi + 8], xmm0
movq xmm0, qword [esp + 0x50]
movq qword [edi + 0x10], xmm0
mov edx, dword [ecx]
movsd xmm0, qword [ebp + 0x18]
movsd qword [edx + esi*8 - 8], xmm0
cmp byte [esp + 0x27], 0
je 0x478479
test esi, esi
jle 0x478479
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
mov ecx, ebx
call fcn.004610e0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20