Function at 0x57d5a0
Capabilities:
Check http status code

Disassembly:
push ebx
push esi
push edi
sub esp, 0x50
cmp byte [0xa10afe], 1
fldz
je 0x57d65a
mov al, byte [0xa10a44]
and eax, 0xff
mov dword [esp + 0x18], eax
mov al, byte [0xa10b9b]
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 [0x9787e0]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57d654
cmp word [0xa10a4a], 0
mov ax, word [0xa10a36]
mov word [0xa10ab2], ax
jge 0x57d648
mov eax, dword [0x9b6e14]
inc eax
cdq
and edx, 0x3f
add eax, edx
and eax, 0x3f
sub eax, edx
cmp dword [0xa0fcb4], 0
mov dword [0x9b6e14], eax
je 0x57d638
mov esi, eax
mov ax, word [esi*2 + 0x699ee4]
jmp 0x57d64e
mov edi, dword [0x9b6e14]
mov ax, word [edi*2 + 0x699f64]
jmp 0x57d64e
mov ax, word [0xa10a4a]
mov word [0xa10a36], ax
fst dword [0x9787e0]
cmp word [0xa10a36], 2
jne 0x57d780
cmp word [0xa10ab2], 2
jne 0x57d780
cmp byte [0xa10b7b], 0
je 0x57d733
fstp st(0)
call fcn.00649a40
movzx eax, ax
and eax, 0xff
cmp eax, 0x20
jge 0x57d6e0
mov esi, dword [0xa0d8a0]
mov byte [0xa10b7b], 0
sub esi, dword [0x9b5f8c]
cmp esi, 0x14
jbe 0x57d6b4
mov esi, 0x14
mov eax, 0x14
mov dword [0xa0cff0], esi
sub eax, esi
mov byte [0xa10b70], 0
imul eax, eax, 0x96
add eax, dword [0x974b34]
mov dword [0x9b5eb4], eax
jmp 0x57d793
mov eax, dword [0x974b34]
sub eax, dword [0x975358]
cmp eax, 0x32
jbe 0x57d793
mov bl, byte [0xa10b70]
call fcn.00649a40
movzx eax, ax
xor ecx, ecx
xor edx, edx
and eax, 1
jne 0x57d710
mov ecx, 1
test cl, cl
jne 0x57d719
mov edx, 1
mov byte [0xa10b70], dl
cmp bl, byte [0xa10b70]
je 0x57d793
mov eax, dword [0x974b34]
mov dword [0x975358], eax
jmp 0x57d793
fstp st(0)
call fcn.00649a40
movzx eax, ax
and eax, 0xffff
cmp eax, 0xc8
jge 0x57d770
mov eax, dword [0xa0d8a0]
mov byte [0xa10b7b], 1
mov dword [0x9b5f8c], eax
mov eax, dword [0x974b34]
mov dword [0x975358], eax
mov byte [0xa10b70], 1
jmp 0x57d793
mov byte [0xa10b70], 0
jmp 0x57d793
mov byte [0xa10b70], 0
mov al, byte [0xa10b70]
fstp st(0)
mov byte [0xa10b7b], al
cmp dword [0x9b5eb4], 0
je 0x57d809
mov eax, dword [0x9b5eb4]
mov esi, dword [0x974b34]
cmp esi, eax
jbe 0x57d809
mov eax, dword [0xa0cff0]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
push eax
fild qword [esp + 0x1c]
mov ecx, 0xa10b93
fstp dword [esp]
mov eax, dword [0x699edc]
push 0xb7
push eax
call fcn.005f9dc0
mov eax, dword [0xa0cff0]
add eax, eax
add eax, 0x50
push eax
mov eax, dword [0xa0cff0]
imul eax, eax, 0x28
add eax, 0x64
push eax
push 0
call fcn.004ab080
pop ecx
mov ecx, eax
call fcn.004ad300
mov dword [0x9b5eb4], 0
cmp word [0xa10ab2], 2
fldz
je 0x57d81f
cmp word [0xa10ab2], 5
jne 0x57d854
cmp word [0xa10a36], 2
je 0x57d833
cmp word [0xa10a36], 5
jne 0x57d840
mov dword [0x9b6aa4], 0x3f800000
jmp 0x57d880
fld dword [0x69a044]
fsub dword [0x9787e0]
fstp dword [0x9b6aa4]
jmp 0x57d880
cmp word [0xa10a36], 2
je 0x57d868
cmp word [0xa10a36], 5
jne 0x57d876
fld dword [0x9787e0]
fstp dword [0x9b6aa4]
jmp 0x57d880
mov dword [0x9b6aa4], 0
cmp word [0xa10a36], 2
je 0x57d898
cmp word [0xa10a36], 5
jne 0x57d930
mov edi, dword [0x974b34]
mov dword [esp + 0x1c], 0
shr edi, 0xe
and edi, 1
cmp word [0xa10ab2], 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 0x57d918
cmp word [0xa10ab2], 5
je 0x57d918
fld dword [0x9787e0]
fcomp dword [0x69a010]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57d8f4
fld dword [0x69a004]
jmp 0x57d916
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 0x57d938
fld dword [0x69a004]
jmp 0x57d936
fld dword [0x69a000]
fstp st(1)
cmp word [0xa10ab2], 0
fst dword [0x975348]
je 0x57d952
cmp word [0xa10ab2], 4
jne 0x57d960
mov dword [0x974bf0], 0
jmp 0x57d972
fld dword [0x69a044]
fsub dword [0x9787e0]
fstp dword [0x974bf0]
cmp word [0xa10a36], 0
je 0x57d998
cmp word [0xa10a36], 4
je 0x57d998
fld dword [0x974bf0]
fadd dword [0x9787e0]
fstp dword [0x974bf0]
cmp word [0xa10ab2], 3
je 0x57d9b0
mov dword [0x94ddc8], 0
jmp 0x57d9c2
fld dword [0x69a044]
fsub dword [0x9787e0]
fstp dword [0x94ddc8]
cmp word [0xa10a36], 3
jne 0x57d9de
fld dword [0x94ddc8]
fadd dword [0x9787e0]
fstp dword [0x94ddc8]
cmp word [0xa10ab2], 4
je 0x57d9f4
mov dword [0x94dd8c], 0
jmp 0x57da06
fld dword [0x69a044]
fsub dword [0x9787e0]
fstp dword [0x94dd8c]
cmp word [0xa10a36], 4
jne 0x57da22
fld dword [0x94dd8c]
fadd dword [0x9787e0]
fstp dword [0x94dd8c]
cmp word [0xa10ab2], 1
jne 0x57daa0
cmp word [0xa10a36], 0
je 0x57da40
cmp word [0xa10a36], 4
jne 0x57daa0
fld dword [0x9787e0]
fcomp dword [0x69a004]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57daa0
cmp byte [0xa10b74], 6
jbe 0x57daa0
cmp byte [0xa10b74], 0x15
jae 0x57daa0
fld dword [0x9787e0]
fsub dword [0x69a00c]
fst st(1)
fcomp dword [0x69a000]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57da88
fchs
fld dword [0x69a034]
fmul st(1)
fsubr dword [0x69a044]
fstp dword [0xa0d064]
jmp 0x57daaa
mov dword [0xa0d064], 0
cmp word [0xa10ab2], 4
je 0x57dac0
mov dword [0xa0fd84], 0
jmp 0x57dad2
fld dword [0x69a044]
fsub dword [0x9787e0]
fstp dword [0xa0fd84]
cmp word [0xa10a36], 4
jne 0x57daee
fld dword [0xa0fd84]
fadd dword [0x9787e0]
fstp dword [0xa0fd84]
fld dword [0xa0fd84]
fcomp dword [0x69a000]
fnstsw ax
test ah, 0x45
jne 0x57dbe6
mov eax, dword [0xa0d000]
fld dword [0x69a0c0]
lea eax, [eax + eax*2]
fmul dword [eax*4 + 0x792c80]
fstp st(1)
fld dword [0x69a044]
fcomp st(1)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57db36
fld dword [0x69a044]
fstp st(1)
fld dword [0xa0fd84]
fmul st(1)
fstp dword [0xa0fd84]
fld dword [0x69a000]
fcomp dword [0xa0fd84]
fnstsw ax
test ah, 0x45
jne 0x57db60
fld dword [0x69a000]
jmp 0x57db66
fld dword [0xa0fd84]
fstp st(1)
fld dword [0x69a044]
fcomp st(1)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57db84
fld dword [0x69a044]
fstp st(1)
jmp 0x57dba8
fld dword [0x69a000]
fcomp dword [0xa0fd84]
fnstsw ax
test ah, 0x45
jne 0x57dba0
fld dword [0x69a000]
jmp 0x57dba6
fld dword [0xa0fd84]
fstp st(1)
cmp byte [0xa10ae5], 0
fst dword [0xa0fd84]
jne 0x57dbe6
fstp st(0)
call fcn.00649a40
movzx eax, ax
and eax, 0x1f
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x69a0c4]
fsubr dword [0x69a044]
fmul dword [0xa0fd84]
fstp dword [0xa0fd84]
fldz
movsx ecx, word [0xa10a36]
fld dword [0x9787e0]
movsx eax, word [0xa10ab2]
fmul dword [ecx*4 + 0x699ec0]
fld dword [0x69a044]
fsub dword [0x9787e0]
fmul dword [eax*4 + 0x699ec0]
faddp st(1)
fstp dword [0x975344]
fld dword [0x69a044]
fcomp dword [0x975344]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57dc40
fld dword [0x69a044]
jmp 0x57dc46
fld dword [0x975344]
fstp st(1)
cmp byte [0xa10b74], 0x14
fst dword [0x9b6a9c]
ja 0x57dcc4
cmp byte [0xa10b74], 0x13
jbe 0x57dc80
mov al, byte [0xa10b9b]
and eax, 0xff
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x69a0b8]
fstp dword [0x97f2dc]
jmp 0x57dcce
cmp byte [0xa10b74], 6
jbe 0x57dc95
mov dword [0x97f2dc], 0
jmp 0x57dcce
cmp byte [0xa10b74], 5
jbe 0x57dcc4
mov al, byte [0xa10b9b]
and eax, 0xff
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x69a0b8]
fsubr dword [0x69a044]
fstp dword [0x97f2dc]
jmp 0x57dcce
mov dword [0x97f2dc], 0x3f800000
fld dword [0x97f2dc]
fcomp dword [0x9b6aa4]
fnstsw ax
test ah, 0x45
jne 0x57dcf0
fld dword [0x97f2dc]
jmp 0x57dcf6
fld dword [0x9b6aa4]
fstp st(1)
fcom dword [0x94ddc8]
fnstsw ax
test ah, 0x45
je 0x57dd0d
fld dword [0x94ddc8]
fstp st(1)
fcom dword [0x975348]
fnstsw ax
test ah, 0x45
je 0x57dd22
fld dword [0x975348]
fstp st(1)
fst dword [0x97f2dc]
fstp st(0)
call fcn.0057c920
cmp word [0xa10a36], 0
je 0x57dd47
cmp word [0xa10a36], 4
jne 0x57def8
cmp dword [0x978818], 0
jne 0x57def8
cmp byte [0xa10aba], 0
jne 0x57def8
mov eax, dword [0xa0d8a0]
and eax, 7
jne 0x57def8
call fcn.004bc140
mov ecx, eax
call fcn.004fd6a0
test al, al
je 0x57ddb2
call fcn.004bc140
mov ecx, eax
call fcn.004fd6a0
test al, al
je 0x57def8
call fcn.004bc140
add eax, 0x34
fld dword [eax + 8]
fcomp dword [0x699ffc]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x57def8
cmp byte [0xa10b74], 6
jbe 0x57def8
cmp byte [0xa10b74], 0x12
jae 0x57def8
movzx eax, byte [0x7e4706]
imul eax, eax, 0x73
mov bx, word [eax*4 + 0x7e4824]
cmp bx, 1
je 0x57def8
cmp bx, 0x25
je 0x57def8
fild dword [0x9b48ec]
mov ecx, 0x7e4690
fmul dword [0x69a004]
fstp dword [esp + 0x2c]
call fcn.0046f6a9
test al, al
je 0x57de61
mov eax, dword [0x9b48f0]
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.00649a40
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 0x57deb0
mov eax, dword [0x9b48f0]
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.00649a40
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.00564910
add esp, 0x24
cmp word [0xa10a36], 0
je 0x57df10
cmp word [0xa10a36], 4
jne 0x57e04c
cmp dword [0x978818], 0
jne 0x57e04c
cmp byte [0xa10aba], 0
jne 0x57e04c
call fcn.004bc200
test eax, eax
jne 0x57e04c
mov eax, 0xcccccccd
mul dword [0xa0d8a0]
mov eax, dword [0xa0d8a0]
shr edx, 3
imul edx, edx, 0xa
sub eax, edx
test eax, eax
jne 0x57e04c
call fcn.00649a40
movzx eax, ax
and eax, 5
je 0x57e04c
mov esi, 0x7e46c0
lea edi, [esp + 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00649a40
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.00649a40
movzx eax, ax
cdq
and edx, 0x3ff
add eax, edx
and eax, 0x3ff
sub eax, edx
fld dword [eax*4 + 0x7efe58]
fld dword [eax*4 + 0x943090]
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.00649a40
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.00564910
add esp, 0x24
add esp, 0x50
pop edi
pop esi
pop ebx
ret