Function at 0x57d580
Capabilities:
Check http status code

Disassembly:
push ebx
push esi
push edi
sub esp, 0x50
cmp byte [0xa10af6], 1
fldz
je 0x57d63a
mov al, byte [0xa10a3c]
and eax, 0xff
mov dword [esp + 0x18], eax
mov al, byte [0xa10b92]
fild dword [esp + 0x18]
and eax, 0xff
mov dword [esp + 0x18], eax
fmul dword [0x69a0b8]
fiadd dword [esp + 0x18]
fmul dword [0x69a0b8]
fst st(1)
fcomp dword [0x9787d8]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57d634
cmp word [0xa10a42], 0
mov ax, word [0xa10a2e]
mov word [0xa10aaa], ax
jge 0x57d628
mov eax, dword [0x9b6e0c]
inc eax
cdq
and edx, 0x3f
add eax, edx
and eax, 0x3f
sub eax, edx
cmp dword [0xa0fcac], 0
mov dword [0x9b6e0c], eax
je 0x57d618
mov esi, eax
mov ax, word [esi*2 + 0x699ee4]
jmp 0x57d62e
mov edi, dword [0x9b6e0c]
mov ax, word [edi*2 + 0x699f64]
jmp 0x57d62e
mov ax, word [0xa10a42]
mov word [0xa10a2e], ax
fst dword [0x9787d8]
cmp word [0xa10a2e], 2
jne 0x57d760
cmp word [0xa10aaa], 2
jne 0x57d760
cmp byte [0xa10b72], 0
je 0x57d713
fstp st(0)
call fcn.006499f0
movzx eax, ax
and eax, 0xff
cmp eax, 0x20
jge 0x57d6c0
mov esi, dword [0xa0d898]
mov byte [0xa10b72], 0
sub esi, dword [0x9b5f84]
cmp esi, 0x14
jbe 0x57d694
mov esi, 0x14
mov eax, 0x14
mov dword [0xa0cfe8], esi
sub eax, esi
mov byte [0xa10b67], 0
imul eax, eax, 0x96
add eax, dword [0x974b2c]
mov dword [0x9b5eac], eax
jmp 0x57d773
mov eax, dword [0x974b2c]
sub eax, dword [0x975350]
cmp eax, 0x32
jbe 0x57d773
mov bl, byte [0xa10b67]
call fcn.006499f0
movzx eax, ax
xor ecx, ecx
xor edx, edx
and eax, 1
jne 0x57d6f0
mov ecx, 1
test cl, cl
jne 0x57d6f9
mov edx, 1
mov byte [0xa10b67], dl
cmp bl, byte [0xa10b67]
je 0x57d773
mov eax, dword [0x974b2c]
mov dword [0x975350], eax
jmp 0x57d773
fstp st(0)
call fcn.006499f0
movzx eax, ax
and eax, 0xffff
cmp eax, 0xc8
jge 0x57d750
mov eax, dword [0xa0d898]
mov byte [0xa10b72], 1
mov dword [0x9b5f84], eax
mov eax, dword [0x974b2c]
mov dword [0x975350], eax
mov byte [0xa10b67], 1
jmp 0x57d773
mov byte [0xa10b67], 0
jmp 0x57d773
mov byte [0xa10b67], 0
mov al, byte [0xa10b67]
fstp st(0)
mov byte [0xa10b72], al
cmp dword [0x9b5eac], 0
je 0x57d7e9
mov eax, dword [0x9b5eac]
mov esi, dword [0x974b2c]
cmp esi, eax
jbe 0x57d7e9
mov eax, dword [0xa0cfe8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
push eax
fild qword [esp + 0x1c]
mov ecx, 0xa10b8a
fstp dword [esp]
mov eax, dword [0x699edc]
push 0xb7
push eax
call fcn.005f9da0
mov eax, dword [0xa0cfe8]
add eax, eax
add eax, 0x50
push eax
mov eax, dword [0xa0cfe8]
imul eax, eax, 0x28
add eax, 0x64
push eax
push 0
call fcn.004ab060
pop ecx
mov ecx, eax
call fcn.004ad2e0
mov dword [0x9b5eac], 0
cmp word [0xa10aaa], 2
fldz
je 0x57d7ff
cmp word [0xa10aaa], 5
jne 0x57d834
cmp word [0xa10a2e], 2
je 0x57d813
cmp word [0xa10a2e], 5
jne 0x57d820
mov dword [0x9b6a9c], 0x3f800000
jmp 0x57d860
fld dword [0x69a044]
fsub dword [0x9787d8]
fstp dword [0x9b6a9c]
jmp 0x57d860
cmp word [0xa10a2e], 2
je 0x57d848
cmp word [0xa10a2e], 5
jne 0x57d856
fld dword [0x9787d8]
fstp dword [0x9b6a9c]
jmp 0x57d860
mov dword [0x9b6a9c], 0
cmp word [0xa10a2e], 2
je 0x57d878
cmp word [0xa10a2e], 5
jne 0x57d910
mov edi, dword [0x974b2c]
mov dword [esp + 0x1c], 0
shr edi, 0xe
and edi, 1
cmp word [0xa10aaa], 2
mov eax, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x18], eax
fild qword [esp + 0x18]
fmul dword [0x69a0bc]
fstp st(1)
je 0x57d8f8
cmp word [0xa10aaa], 5
je 0x57d8f8
fld dword [0x9787d8]
fcomp dword [0x69a010]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57d8d4
fld dword [0x69a004]
jmp 0x57d8f6
mov eax, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
fild qword [esp + 0x18]
fmul dword [0x69a00c]
fadd dword [0x69a00c]
fstp st(1)
fcom dword [0x69a004]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57d918
fld dword [0x69a004]
jmp 0x57d916
fld dword [0x69a000]
fstp st(1)
cmp word [0xa10aaa], 0
fst dword [0x975340]
je 0x57d932
cmp word [0xa10aaa], 4
jne 0x57d940
mov dword [0x974be8], 0
jmp 0x57d952
fld dword [0x69a044]
fsub dword [0x9787d8]
fstp dword [0x974be8]
cmp word [0xa10a2e], 0
je 0x57d978
cmp word [0xa10a2e], 4
je 0x57d978
fld dword [0x974be8]
fadd dword [0x9787d8]
fstp dword [0x974be8]
cmp word [0xa10aaa], 3
je 0x57d990
mov dword [0x94ddc0], 0
jmp 0x57d9a2
fld dword [0x69a044]
fsub dword [0x9787d8]
fstp dword [0x94ddc0]
cmp word [0xa10a2e], 3
jne 0x57d9be
fld dword [0x94ddc0]
fadd dword [0x9787d8]
fstp dword [0x94ddc0]
cmp word [0xa10aaa], 4
je 0x57d9d4
mov dword [0x94dd84], 0
jmp 0x57d9e6
fld dword [0x69a044]
fsub dword [0x9787d8]
fstp dword [0x94dd84]
cmp word [0xa10a2e], 4
jne 0x57da02
fld dword [0x94dd84]
fadd dword [0x9787d8]
fstp dword [0x94dd84]
cmp word [0xa10aaa], 1
jne 0x57da80
cmp word [0xa10a2e], 0
je 0x57da20
cmp word [0xa10a2e], 4
jne 0x57da80
fld dword [0x9787d8]
fcomp dword [0x69a004]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57da80
cmp byte [0xa10b6b], 6
jbe 0x57da80
cmp byte [0xa10b6b], 0x15
jae 0x57da80
fld dword [0x9787d8]
fsub dword [0x69a00c]
fst st(1)
fcomp dword [0x69a000]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57da68
fchs
fld dword [0x69a034]
fmul st(1)
fsubr dword [0x69a044]
fstp dword [0xa0d05c]
jmp 0x57da8a
mov dword [0xa0d05c], 0
cmp word [0xa10aaa], 4
je 0x57daa0
mov dword [0xa0fd7c], 0
jmp 0x57dab2
fld dword [0x69a044]
fsub dword [0x9787d8]
fstp dword [0xa0fd7c]
cmp word [0xa10a2e], 4
jne 0x57dace
fld dword [0xa0fd7c]
fadd dword [0x9787d8]
fstp dword [0xa0fd7c]
fld dword [0xa0fd7c]
fcomp dword [0x69a000]
fnstsw ax
test ah, 0x45
jne 0x57dbc6
mov eax, dword [0xa0cff8]
fld dword [0x69a0c0]
lea eax, [eax + eax*2]
fmul dword [eax*4 + 0x792c78]
fstp st(1)
fld dword [0x69a044]
fcomp st(1)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57db16
fld dword [0x69a044]
fstp st(1)
fld dword [0xa0fd7c]
fmul st(1)
fstp dword [0xa0fd7c]
fld dword [0x69a000]
fcomp dword [0xa0fd7c]
fnstsw ax
test ah, 0x45
jne 0x57db40
fld dword [0x69a000]
jmp 0x57db46
fld dword [0xa0fd7c]
fstp st(1)
fld dword [0x69a044]
fcomp st(1)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57db64
fld dword [0x69a044]
fstp st(1)
jmp 0x57db88
fld dword [0x69a000]
fcomp dword [0xa0fd7c]
fnstsw ax
test ah, 0x45
jne 0x57db80
fld dword [0x69a000]
jmp 0x57db86
fld dword [0xa0fd7c]
fstp st(1)
cmp byte [0xa10add], 0
fst dword [0xa0fd7c]
jne 0x57dbc6
fstp st(0)
call fcn.006499f0
movzx eax, ax
and eax, 0x1f
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x69a0c4]
fsubr dword [0x69a044]
fmul dword [0xa0fd7c]
fstp dword [0xa0fd7c]
fldz
movsx ecx, word [0xa10a2e]
fld dword [0x9787d8]
movsx eax, word [0xa10aaa]
fmul dword [ecx*4 + 0x699ec0]
fld dword [0x69a044]
fsub dword [0x9787d8]
fmul dword [eax*4 + 0x699ec0]
faddp st(1)
fstp dword [0x97533c]
fld dword [0x69a044]
fcomp dword [0x97533c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57dc20
fld dword [0x69a044]
jmp 0x57dc26
fld dword [0x97533c]
fstp st(1)
cmp byte [0xa10b6b], 0x14
fst dword [0x9b6a94]
ja 0x57dca4
cmp byte [0xa10b6b], 0x13
jbe 0x57dc60
mov al, byte [0xa10b92]
and eax, 0xff
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x69a0b8]
fstp dword [0x97f2d4]
jmp 0x57dcae
cmp byte [0xa10b6b], 6
jbe 0x57dc75
mov dword [0x97f2d4], 0
jmp 0x57dcae
cmp byte [0xa10b6b], 5
jbe 0x57dca4
mov al, byte [0xa10b92]
and eax, 0xff
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x69a0b8]
fsubr dword [0x69a044]
fstp dword [0x97f2d4]
jmp 0x57dcae
mov dword [0x97f2d4], 0x3f800000
fld dword [0x97f2d4]
fcomp dword [0x9b6a9c]
fnstsw ax
test ah, 0x45
jne 0x57dcd0
fld dword [0x97f2d4]
jmp 0x57dcd6
fld dword [0x9b6a9c]
fstp st(1)
fcom dword [0x94ddc0]
fnstsw ax
test ah, 0x45
je 0x57dced
fld dword [0x94ddc0]
fstp st(1)
fcom dword [0x975340]
fnstsw ax
test ah, 0x45
je 0x57dd02
fld dword [0x975340]
fstp st(1)
fst dword [0x97f2d4]
fstp st(0)
call fcn.0057c900
cmp word [0xa10a2e], 0
je 0x57dd27
cmp word [0xa10a2e], 4
jne 0x57ded8
cmp dword [0x978810], 0
jne 0x57ded8
cmp byte [0xa10ab2], 0
jne 0x57ded8
mov eax, dword [0xa0d898]
and eax, 7
jne 0x57ded8
call fcn.004bc120
mov ecx, eax
call fcn.004fd680
test al, al
je 0x57dd92
call fcn.004bc120
mov ecx, eax
call fcn.004fd680
test al, al
je 0x57ded8
call fcn.004bc120
add eax, 0x34
fld dword [eax + 8]
fcomp dword [0x699ffc]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57ded8
cmp byte [0xa10b6b], 6
jbe 0x57ded8
cmp byte [0xa10b6b], 0x12
jae 0x57ded8
movzx eax, byte [0x7e46fe]
imul eax, eax, 0x73
mov bx, word [eax*4 + 0x7e481c]
cmp bx, 1
je 0x57ded8
cmp bx, 0x25
je 0x57ded8
fild dword [0x9b48e4]
mov ecx, 0x7e4688
fmul dword [0x69a004]
fstp dword [esp + 0x2c]
call fcn.0046f6a9
test al, al
je 0x57de41
mov eax, dword [0x9b48e8]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fmul dword [0x69a008]
fstp dword [esp + 8]
fild dword [esp + 0x18]
fmul dword [0x69a00c]
fstp dword [esp + 4]
call fcn.006499f0
and eax, 0xffff
fld dword [esp + 8]
mov dword [esp + 0x18], eax
fsub dword [esp + 4]
fild dword [esp + 0x18]
fmul dword [0x699fec]
fmulp st(1)
fadd dword [esp + 4]
jmp 0x57de90
mov eax, dword [0x9b48e8]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fmul dword [0x69a008]
fstp dword [esp + 0x10]
fild dword [esp + 0x18]
fmul dword [0x69a010]
fstp dword [esp + 0xc]
call fcn.006499f0
and eax, 0xffff
fld dword [esp + 0x10]
mov dword [esp + 0x18], eax
fsub dword [esp + 0xc]
fild dword [esp + 0x18]
fmul dword [0x699fec]
fmulp st(1)
fadd dword [esp + 0xc]
fstp dword [esp + 0x30]
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], 0
lea edi, [esp + 0x20]
mov dword [esp + 0x34], 0x42c80000
push 0
push 0
push 0
push 0
push dword [0x69a000]
push 0
push edi
push eax
push 0x52
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
call fcn.005648f0
add esp, 0x24
cmp word [0xa10a2e], 0
je 0x57def0
cmp word [0xa10a2e], 4
jne 0x57e02c
cmp dword [0x978810], 0
jne 0x57e02c
cmp byte [0xa10ab2], 0
jne 0x57e02c
call fcn.004bc1e0
test eax, eax
jne 0x57e02c
mov eax, 0xcccccccd
mul dword [0xa0d898]
mov eax, dword [0xa0d898]
shr edx, 3
imul edx, edx, 0xa
sub eax, edx
test eax, eax
jne 0x57e02c
call fcn.006499f0
movzx eax, ax
and eax, 5
je 0x57e02c
mov esi, 0x7e46b8
lea edi, [esp + 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.006499f0
and eax, 0xffff
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x699fec]
fmul dword [0x699ff0]
fadd dword [0x699ff4]
fstp dword [esp + 0x14]
call fcn.006499f0
movzx eax, ax
cdq
and edx, 0x3ff
add eax, edx
and eax, 0x3ff
sub eax, edx
fld dword [eax*4 + 0x7efe50]
fld dword [eax*4 + 0x943088]
fld st(1)
fsub st(1)
fmul dword [esp + 0x14]
fadd dword [esp + 0x44]
fstp dword [esp + 0x44]
fld st(0)
fadd st(2)
fmul dword [esp + 0x14]
fadd dword [esp + 0x48]
fstp dword [esp + 0x48]
fcompp
call fcn.006499f0
and eax, 0xffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], eax
lea esi, [esp + 0x38]
fild dword [esp + 0x18]
lea eax, [esp + 0x44]
mov dword [esp + 0x3c], 0
push 0
fmul dword [0x699fec]
push 0
push 0
fmul dword [0x699ff8]
push 0
push dword [0x69a000]
fadd dword [0x699ffc]
push 0
push esi
push eax
fadd dword [esp + 0x6c]
push 0x4f
mov dword [esp + 0x64], 0
fstp dword [esp + 0x70]
call fcn.005648f0
add esp, 0x24
add esp, 0x50
pop edi
pop esi
pop ebx
ret