Function at 0x491071
Capabilities:
Check http status code

Disassembly:
push 0x24
mov eax, 0x51643f
call fcn.004ab43d
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0xc]
cmp byte [ebx + 0xb0], 0xc
jne 0x491917
cmp byte [ebx + 0xb1], 0x4a
jne 0x491917
push 0xc
mov dword [esi + 0x238], 1
call fcn.00498a73
pop ecx
test eax, eax
je 0x4910bc
mov ecx, eax
call fcn.00490e91
jmp 0x4910be
xor eax, eax
fld dword [0x545540]
mov dword [esi + 0x244], eax
mov al, byte [ebx + 0xb3]
fst dword [ebp - 0x10]
mov byte [esi + 0x23c], al
cmp al, 0x13
jb 0x49110c
lea eax, [ebx + 0xb8]
test byte [eax], 0xf
je 0x49110c
mov al, byte [eax]
mov cl, al
shr cl, 4
movzx ecx, cl
mov dword [ebp - 0x24], ecx
and al, 0xf
movzx eax, al
fild dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
fmul qword [0x51b398]
fidiv dword [ebp - 0x24]
fstp dword [ebp - 0x10]
movzx eax, byte [ebx + 0xb4]
mov dword [ebp - 0x24], eax
movzx eax, byte [ebx + 0xb5]
fild dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov al, byte [ebx + 0xb7]
fild dword [ebp - 0x24]
fdivp st(1)
fstp dword [ebp - 0x20]
fstp dword [ebp - 0x1c]
test al, al
je 0x491153
movzx ecx, byte [ebx + 0xb6]
mov dword [ebp - 0x24], ecx
movzx eax, al
fild dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fdivp st(1)
fstp dword [ebp - 0x1c]
and dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
cmp byte [eax + 0x23c], 0x11
jb 0x49117f
fldz
fcomp dword [ebp - 0x1c]
fnstsw ax
test ah, 5
jp 0x49117f
mov eax, dword [ebp - 0x18]
sub eax, 0
je 0x49117f
dec eax
jne 0x491185
fld dword [ebp - 0x1c]
jmp 0x491182
fld dword [ebp - 0x20]
fstp dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
push 0x60
imul edi, edi, 0x23
call fcn.00498a73
pop ecx
mov dword [ebp - 0x28], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4911a9
mov ecx, eax
call fcn.00490f14
mov esi, eax
jmp 0x4911ab
xor esi, esi
lea eax, [ebx + edi + 0xb9]
mov cl, byte [eax]
shr cl, 5
and cl, 3
movzx ecx, cl
mov dword [ebp - 0x24], ecx
or dword [ebp - 4], 0xffffffff
fild dword [ebp - 0x24]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fstp dword [esi + 4]
movzx eax, byte [eax]
and eax, 0x1f
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fmul qword [0x52c908]
fadd dword [ebp - 0x24]
fstp dword [esi + 4]
mov al, byte [ebx + edi + 0xba]
test al, al
jbe 0x491280
movzx eax, al
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fmul dword [ebp - 0x14]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fstp dword [esi + 8]
fldz
fcomp dword [ebp - 0x10]
fnstsw ax
test ah, 5
jp 0x49122f
movsx eax, byte [edi + ebx + 0xd3]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fmul dword [ebp - 0x10]
fadd dword [ebp - 0x24]
fstp dword [esi + 8]
fld dword [esi + 8]
fdivr qword [0x545568]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
call fcn.004ab740
fld dword [ebp - 0x24]
fadd st(0), st(0)
push ecx
mov dword [esi + 0xc], eax
fmul qword [0x51efe8]
fdiv qword [0x545558]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [esp]
call fcn.00404b0c
imul eax, eax, 0x64
push eax
push str.PC3__d
mov dword [esi + 0x10], eax
lea eax, [esi + 0x14]
push 0x20
push eax
call fcn.00404c23
add esp, 0x14
movzx ecx, byte [ebx + edi + 0xbb]
mov dword [ebp - 0x28], ecx
fild dword [ebp - 0x28]
fmul dword [ebp - 0x14]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fstp dword [esi + 0x38]
fldz
fcomp dword [ebp - 0x10]
fnstsw ax
test ah, 5
jp 0x4912bd
movsx eax, byte [edi + ebx + 0xd4]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fmul dword [ebp - 0x10]
fadd dword [ebp - 0x24]
fstp dword [esi + 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1f0]
cmp eax, 0x190
je 0x49133c
cmp eax, 0x215
je 0x491326
cmp eax, 0x29b
je 0x491304
cmp eax, 0x320
jne 0x491360
cmp ecx, 0x50
je 0x491335
cmp ecx, 0x5a
je 0x4912fd
cmp ecx, 0x64
je 0x491318
cmp ecx, 0x6e
jne 0x491360
push 0x525910
jmp 0x491352
push 0x52c900
jmp 0x491352
cmp ecx, 0x54
je 0x49131f
cmp ecx, 0x60
je 0x491335
cmp ecx, 0x6c
je 0x4912fd
cmp ecx, 0x78
jne 0x491360
push 0x52c8fc
jmp 0x491352
push 0x52c8f8
jmp 0x491352
cmp ecx, 0x5a
je 0x491346
cmp ecx, 0x69
je 0x49131f
cmp ecx, 0x78
jne 0x491360
push 0x52c8f4
jmp 0x491352
cmp ecx, 0x64
je 0x49134d
cmp ecx, 0x78
jne 0x491360
push str.EGFJH
jmp 0x491352
push 0x5197d0
lea eax, [esi + 0x14]
push 0x20
push eax
call fcn.00404cb7
add esp, 0xc
test byte [ebx + edi + 0xbc], 1
je 0x4913a1
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 1
test ecx, ecx
je 0x491389
call fcn.0048ca04
jmp 0x49138b
xor eax, eax
fld dword [0x51af3c]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbc], 2
je 0x4913e2
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 2
test ecx, ecx
je 0x4913ca
call fcn.0048ca04
jmp 0x4913cc
xor eax, eax
fld dword [0x51af74]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbc], 4
je 0x491423
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 3
test ecx, ecx
je 0x49140b
call fcn.0048ca04
jmp 0x49140d
xor eax, eax
fld dword [0x51af6c]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbc], 8
je 0x491464
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 4
test ecx, ecx
je 0x49144c
call fcn.0048ca04
jmp 0x49144e
xor eax, eax
fld dword [0x51af64]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbc], 0x10
je 0x4914a5
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 5
test ecx, ecx
je 0x49148d
call fcn.0048ca04
jmp 0x49148f
xor eax, eax
fld dword [0x51af5c]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbc], 0x20
je 0x4914e6
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 6
test ecx, ecx
je 0x4914ce
call fcn.0048ca04
jmp 0x4914d0
xor eax, eax
fld dword [0x51af54]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbc], 0x40
je 0x491527
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 7
test ecx, ecx
je 0x49150f
call fcn.0048ca04
jmp 0x491511
xor eax, eax
fld dword [0x51af4c]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbc], 0x80
je 0x491568
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 8
test ecx, ecx
je 0x491550
call fcn.0048ca04
jmp 0x491552
xor eax, eax
fld dword [0x51af84]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbd], 1
je 0x4915a9
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 9
test ecx, ecx
je 0x491591
call fcn.0048ca04
jmp 0x491593
xor eax, eax
fld dword [0x51af7c]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbd], 2
je 0x4915ea
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xa
test ecx, ecx
je 0x4915d2
call fcn.0048ca04
jmp 0x4915d4
xor eax, eax
fld dword [0x51af34]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbd], 4
je 0x49162b
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xb
test ecx, ecx
je 0x491613
call fcn.0048ca04
jmp 0x491615
xor eax, eax
fld dword [0x51af2c]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbd], 8
je 0x49166c
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xc
test ecx, ecx
je 0x491654
call fcn.0048ca04
jmp 0x491656
xor eax, eax
fld dword [0x51af24]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbd], 0x10
je 0x4916ad
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xd
test ecx, ecx
je 0x491695
call fcn.0048ca04
jmp 0x491697
xor eax, eax
fld dword [0x51af1c]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbd], 0x20
je 0x4916ee
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xe
test ecx, ecx
je 0x4916d6
call fcn.0048ca04
jmp 0x4916d8
xor eax, eax
fld dword [0x51af14]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
test byte [ebx + edi + 0xbd], 0x40
je 0x49172f
push 0xc
call fcn.00498a73
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xf
test ecx, ecx
je 0x491717
call fcn.0048ca04
jmp 0x491719
xor eax, eax
fld dword [0x51af10]
or dword [ebp - 4], 0xffffffff
fstp dword [eax + 4]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00490f72
mov eax, dword [esi + 0x34]
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], eax
call fcn.0042bc17
jmp 0x49176c
fldz
fcomp dword [ecx + 4]
fnstsw ax
test ah, 5
jp 0x491764
fld dword [esi + 0x38]
fdiv dword [ecx + 4]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fdivr qword [0x545568]
fstp dword [ecx + 8]
lea ecx, [ebp - 0x30]
call fcn.0040b1cf
mov ecx, eax
test ecx, ecx
jne 0x491743
movzx eax, byte [ebx + edi + 0xbf]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fld dword [ebp - 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fstp dword [esi + 0x3c]
fldz
fld dword [ebp - 0x10]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4917b8
movsx eax, byte [edi + ebx + 0xd5]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fld st(1)
fmulp st(1)
fadd dword [ebp - 0x24]
fstp dword [esi + 0x3c]
movzx eax, byte [ebx + edi + 0xc0]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fld st(3)
fmulp st(1)
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fstp dword [esi + 0x40]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4917f4
movsx eax, byte [edi + ebx + 0xd6]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fld st(1)
fmulp st(1)
fadd dword [ebp - 0x24]
fstp dword [esi + 0x40]
movzx eax, byte [ebx + edi + 0xc1]
mov dword [ebp - 0x28], eax
lea eax, [ebx + edi + 0xc2]
fild dword [ebp - 0x28]
fld st(3)
fmulp st(1)
fstp dword [esi + 0x44]
movzx ecx, byte [eax]
movzx edx, byte [ebx + edi + 0xc3]
and ecx, 0xf
shl ecx, 8
add ecx, edx
mov dword [ebp - 0x28], ecx
fild dword [ebp - 0x28]
fld st(3)
fmulp st(1)
fstp dword [esi + 0x48]
movzx eax, byte [eax]
movzx ecx, byte [ebx + edi + 0xc4]
shr eax, 4
shl eax, 8
add eax, ecx
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fld st(3)
fmulp st(1)
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fstp dword [esi + 0x4c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x491879
movsx eax, byte [edi + ebx + 0xd7]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fmulp st(1)
fadd dword [ebp - 0x24]
fstp dword [esi + 0x4c]
jmp 0x49187b
fstp st(0)
movzx eax, byte [ebx + edi + 0xc8]
movzx ecx, byte [ebx + edi + 0xc7]
shl eax, 8
add eax, ecx
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fld st(1)
fmulp st(1)
fstp dword [esi + 0x50]
movzx eax, byte [ebx + edi + 0xc9]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fld st(1)
fmulp st(1)
fstp dword [esi + 0x54]
movzx eax, byte [ebx + edi + 0xca]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fld st(1)
fmulp st(1)
fstp dword [esi + 0x58]
movzx eax, byte [ebx + edi + 0xd0]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fmulp st(1)
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
call fcn.004ab740
cmp dword [esi + 0xc], 0
mov dword [esi + 0x5c], eax
jle 0x491902
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x244]
call fcn.00490fd7
inc dword [esi + 0x240]
jmp 0x49190a
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x491157
call fcn.004ab515
ret 4