Function at 0x49599b
Capabilities:
Check http status code

Disassembly:
push ebx
push esi
push ebp
mov ebp, ecx
sub esp, 0x10
cmp byte [ebp + 0x149], 0
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
jne 0x4965c1
cmp dword [ebp + 0xf8], 0x15
jne 0x4959cd
mov eax, dword [ebp + 0x678]
mov dword [ebp + 0x674], eax
cmp dword [ebp + 0xf8], 0x1e
jne 0x495a07
cmp byte [ebp + 0x5b], 0
jne 0x4959e8
mov dword [ebp + 0x674], 0x1b
jmp 0x4959f2
mov dword [ebp + 0x674], 0x20
mov eax, dword [ebp + 0x674]
cmp dword [ebp + 0x680], eax
jle 0x495a07
dec eax
mov dword [ebp + 0x680], eax
push 0
call fcn.004ab080
cmp word [0x7d17ec], 0
pop ecx
je 0x495a23
cmp word [0x7dddcc], 0
je 0x495a37
cmp word [0x7d180a], 0
je 0x495a3b
cmp word [0x7dddea], 0
jne 0x495a3b
mov al, 1
jmp 0x495a3d
xor al, al
test al, al
jne 0x495a66
push 0
call fcn.004ab080
xor dl, dl
cmp word [eax + 0x20], 0
pop ecx
je 0x495a62
xor ecx, ecx
cmp word [eax + 0x4a], 0
jne 0x495a5c
inc ecx
test cl, cl
je 0x495a62
mov dl, 1
test dl, dl
je 0x495a71
xor al, al
mov byte [ebp + 0x140], al
mov byte [ebx], 1
push 0
call fcn.004ab080
cmp word [0x7d1804], 0
pop ecx
je 0x495a91
cmp word [0x7ddde4], 0
jne 0x495a91
mov al, 1
jmp 0x495a93
xor al, al
test al, al
je 0x495ad9
cmp dword [ebp + 0xf8], 0x1e
jne 0x495ad9
cmp byte [ebp + 0x159], 0
jne 0x495ad9
cmp byte [ebp + 0x15a], 0x13
jne 0x495ae1
mov dword [ebp + 0x13c], 0x24
mov byte [ebp + 0x149], 1
mov byte [ebp + 0x148], 1
mov byte [ebp + 0x14a], 1
lea eax, [ebp + 0x14]
mov dword [ebp + 0x78], eax
jmp 0x495ae1
xor al, al
mov byte [ebp + 0x159], al
cmp byte [0x7039b8], 0
jne 0x495af8
xor eax, eax
mov byte [0x7039b8], 1
mov dword [0x7039b4], eax
mov eax, dword [0x691014]
sub eax, dword [0x7039b4]
cmp eax, 0xc8
jbe 0x495b2b
xor bl, bl
jmp 0x495b1c
movsx edx, bl
xor al, al
inc bl
mov byte [ebp + edx + 0x124], al
cmp bl, 5
jl 0x495b0e
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
push 0
call fcn.004ab080
pop ecx
xor cl, cl
cmp word [0x7d1806], 0
je 0x495b52
xor eax, eax
cmp word [0x7ddde6], 0
jne 0x495b4c
inc eax
test al, al
je 0x495b52
mov cl, 1
test cl, cl
je 0x495be0
xor al, al
mov byte [ebp + 0x140], al
movzx eax, byte [ebp + 0x15a]
sub eax, 9
je 0x495b8e
sub eax, 0xa
je 0x495b7c
sub eax, 2
je 0x495b85
jmp 0x495b8e
mov byte [ebp + 0x15a], 0x15
jmp 0x495b95
mov byte [ebp + 0x15a], 9
jmp 0x495b95
mov byte [ebp + 0x15a], 0x13
cmp dword [ebp + 0xf8], 0x15
jne 0x495bc7
cmp byte [ebp + 0x15a], 0x15
jne 0x495bc7
lea eax, [ebp + 0x25b]
lea ecx, [ebp + 0x15b]
push ecx
push eax
call fcn.00642670
test eax, eax
pop ecx
pop ecx
jne 0x495bc7
mov byte [ebp + 0x15a], 9
cmp dword [ebp + 0xf8], 0x1e
jne 0x495be0
cmp byte [ebp + 0x15a], 0x15
jne 0x495be0
mov byte [ebp + 0x15a], 9
push 0
call fcn.004ab080
cmp word [0x7d17d6], 0
pop ecx
jne 0x495c2a
push 0
call fcn.004ab080
pop ecx
mov ecx, eax
call fcn.004aa2d0
test al, al
jne 0x495c2a
push 0
call fcn.004ab080
pop ecx
xor cl, cl
cmp word [eax + 0x10], 0
je 0x495c26
xor edx, edx
cmp word [eax + 0x3a], 0
jne 0x495c20
inc edx
test dl, dl
je 0x495c26
mov cl, 1
test cl, cl
je 0x495c36
xor al, al
mov bl, 1
mov byte [ebp + 0x140], al
jmp 0x495c6c
push 0
call fcn.004ab080
xor eax, eax
xor bl, bl
cmp byte [0x94d793], 0
pop ecx
jne 0x495c4c
inc eax
test al, al
je 0x495c5b
cmp byte [0x936913], 0
je 0x495c5b
mov bl, 1
test bl, bl
je 0x495c6a
mov byte [ebp + 0x140], 1
mov bl, 1
jmp 0x495c6c
xor bl, bl
test bl, bl
je 0x495cd1
mov byte [ebp + 0x15a], 0x13
cmp byte [ebp + 0x126], 0
jne 0x495cd9
mov byte [ebp + 0x126], 1
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
mov eax, dword [ebp + 0x66c]
cmp dword [ebp + 0x680], eax
jne 0x495cc9
test eax, eax
jle 0x495cd9
dec dword [ebp + 0x680]
dec dword [ebp + 0x66c]
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fsubr dword [ebp + 0x670]
fstp dword [ebp + 0x670]
jmp 0x495cd9
dec dword [ebp + 0x680]
jmp 0x495cd9
xor al, al
mov byte [ebp + 0x126], al
push 0
call fcn.004ab080
cmp word [0x7d17d8], 0
pop ecx
jne 0x495d23
push 0
call fcn.004ab080
pop ecx
mov ecx, eax
call fcn.004aa280
test al, al
jne 0x495d23
push 0
call fcn.004ab080
xor dl, dl
cmp word [eax + 0x12], 0
pop ecx
je 0x495d1f
xor ecx, ecx
cmp word [eax + 0x3c], 0
jne 0x495d19
inc ecx
test cl, cl
je 0x495d1f
mov dl, 1
test dl, dl
je 0x495d2f
xor al, al
mov bl, 1
mov byte [ebp + 0x140], al
jmp 0x495d65
push 0
call fcn.004ab080
xor bl, bl
cmp byte [0x94d794], 0
pop ecx
je 0x495d54
xor eax, eax
cmp byte [0x936914], 0
jne 0x495d4e
inc eax
test al, al
je 0x495d54
mov bl, 1
test bl, bl
je 0x495d63
mov byte [ebp + 0x140], 1
mov bl, 1
jmp 0x495d65
xor bl, bl
test bl, bl
je 0x495de3
mov byte [ebp + 0x15a], 0x13
cmp byte [ebp + 0x127], 0
jne 0x495deb
mov byte [ebp + 0x127], 1
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
mov ecx, dword [ebp + 0x66c]
mov edx, dword [ebp + 0x680]
lea eax, [ecx + 0x1d]
cmp edx, eax
jne 0x495dd0
mov eax, dword [ebp + 0x674]
add eax, 0xffffffe2
cmp ecx, eax
jge 0x495deb
inc dword [ebp + 0x680]
inc dword [ebp + 0x66c]
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fadd dword [ebp + 0x670]
fstp dword [ebp + 0x670]
jmp 0x495deb
mov eax, dword [ebp + 0x674]
dec eax
cmp edx, eax
jge 0x495deb
inc dword [ebp + 0x680]
jmp 0x495deb
xor al, al
mov byte [ebp + 0x127], al
cmp dword [ebp + 0xf8], 0x1e
je 0x496056
push 0
call fcn.004ab080
cmp word [0x7d17d2], 0
pop ecx
je 0x495ec4
mov byte [ebp + 0x15a], 0x13
cmp byte [ebp + 0x124], 0
jne 0x495ecc
mov byte [ebp + 0x124], 1
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
xor al, al
mov byte [ebp + 0x140], al
cmp dword [ebp + 0x674], 0x1e
jle 0x495ecc
cmp dword [ebp + 0x66c], 0
jle 0x495e9a
sub dword [ebp + 0x66c], 0x1e
cmp dword [ebp + 0x66c], 0
jge 0x495e69
xor eax, eax
mov dword [ebp + 0x66c], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
mov eax, dword [ebp + 0x66c]
add eax, 0x1d
cmp dword [ebp + 0x680], eax
jle 0x495ecc
mov dword [ebp + 0x680], eax
jmp 0x495ecc
xor eax, eax
mov dword [ebp + 0x66c], eax
xor eax, eax
mov dword [ebp + 0x680], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
jmp 0x495ecc
xor al, al
mov byte [ebp + 0x124], al
push 0
call fcn.004ab080
cmp word [0x7d17d4], 0
pop ecx
je 0x495fa2
mov byte [ebp + 0x15a], 0x13
cmp byte [ebp + 0x125], 0
jne 0x495faa
mov byte [ebp + 0x125], 1
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
xor al, al
mov byte [ebp + 0x140], al
mov eax, dword [ebp + 0x674]
cmp eax, 0x1e
jle 0x495faa
add eax, 0xffffffe2
cmp dword [ebp + 0x66c], eax
jge 0x495f75
add dword [ebp + 0x66c], 0x1e
mov eax, dword [ebp + 0x674]
add eax, 0xffffffe2
cmp dword [ebp + 0x66c], eax
jle 0x495f47
mov dword [ebp + 0x66c], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
mov eax, dword [ebp + 0x66c]
cmp dword [ebp + 0x680], eax
jge 0x495faa
mov dword [ebp + 0x680], eax
jmp 0x495faa
mov dword [ebp + 0x66c], eax
mov eax, dword [ebp + 0x674]
dec eax
mov dword [ebp + 0x680], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
jmp 0x495faa
xor al, al
mov byte [ebp + 0x125], al
push 0
call fcn.004ab080
cmp word [0x7d17ce], 0
pop ecx
je 0x495ffc
xor al, al
mov byte [ebp + 0x15a], 0x13
mov byte [ebp + 0x140], al
cmp dword [ebp + 0x674], 0x1e
jle 0x495fdc
xor eax, eax
mov dword [ebp + 0x66c], eax
xor eax, eax
mov dword [ebp + 0x680], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
push 0
call fcn.004ab080
cmp word [0x7d17d0], 0
pop ecx
je 0x496056
xor al, al
mov byte [ebp + 0x15a], 0x13
mov byte [ebp + 0x140], al
mov eax, dword [ebp + 0x674]
cmp eax, 0x1e
jle 0x496031
add eax, 0xffffffe2
mov dword [ebp + 0x66c], eax
mov eax, dword [ebp + 0x674]
dec eax
mov dword [ebp + 0x680], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
push 0
call fcn.004ab080
cmp word [0x7d17c8], 0
pop ecx
je 0x496076
cmp word [0x7ddda8], 0
jne 0x496076
mov al, 1
jmp 0x496078
xor al, al
test al, al
jne 0x4960a1
push 0
call fcn.004ab080
xor bl, bl
cmp word [eax + 0x1e], 0
pop ecx
je 0x49609d
xor edx, edx
cmp word [eax + 0x48], 0
jne 0x496097
inc edx
test dl, dl
je 0x49609d
mov bl, 1
test bl, bl
je 0x4960ac
xor al, al
mov byte [ebp + 0x140], al
mov byte [esi], 1
push 0
call fcn.004ab080
xor dl, dl
cmp byte [0x94d790], 0
pop ecx
je 0x4960d1
xor eax, eax
cmp byte [0x936910], 0
jne 0x4960cb
inc eax
test al, al
je 0x4960d1
mov dl, 1
test dl, dl
je 0x496258
mov eax, dword [ebp + 0x13c]
mov ecx, dword [ebp + 0x13c]
sub eax, 9
je 0x49610b
sub eax, 8
je 0x49615e
sub eax, 1
je 0x4961c7
sub eax, 3
je 0x496113
sub eax, 0xf
je 0x496258
jmp 0x496258
mov byte [esi], 1
jmp 0x496258
cmp dword [ebp + 0x678], 0
jle 0x496258
mov eax, dword [ebp + 0x664]
mov dword [ebp + 0x668], eax
lea ebx, [ebp + 0x25b]
lea eax, [ebp + 0x15b]
push ebx
push eax
call fcn.006425b0
lea eax, [ebp + 0x15b]
pop ecx
pop ecx
push eax
mov ecx, 0x94ad30
call fcn.004bbb90
mov ecx, ebp
call fcn.00490240
jmp 0x496258
cmp dword [ebp + 0x674], 0x1e
jle 0x496258
cmp dword [ebp + 0x66c], 0
jle 0x4961bb
sub dword [ebp + 0x66c], 0x1e
cmp dword [ebp + 0x66c], 0
jge 0x49618c
xor eax, eax
mov dword [ebp + 0x66c], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
mov eax, dword [ebp + 0x66c]
add eax, 0x1d
cmp dword [ebp + 0x680], eax
jle 0x496258
jmp 0x496225
xor eax, eax
mov dword [ebp + 0x66c], eax
xor eax, eax
jmp 0x49623a
mov eax, dword [ebp + 0x674]
cmp eax, 0x1e
jle 0x496258
add eax, 0xffffffe2
cmp dword [ebp + 0x66c], eax
jge 0x49622d
add dword [ebp + 0x66c], 0x1e
mov eax, dword [ebp + 0x674]
add eax, 0xffffffe2
cmp dword [ebp + 0x66c], eax
jle 0x4961ff
mov dword [ebp + 0x66c], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
mov eax, dword [ebp + 0x66c]
cmp dword [ebp + 0x680], eax
jge 0x496258
mov dword [ebp + 0x680], eax
jmp 0x496258
mov dword [ebp + 0x66c], eax
mov eax, dword [ebp + 0x674]
dec eax
mov dword [ebp + 0x680], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
push 0
call fcn.004ab080
pop ecx
xor cl, cl
cmp byte [0x94d790], 0
je 0x49627d
xor eax, eax
cmp byte [0x936910], 0
jne 0x496277
inc eax
test al, al
je 0x49627d
mov cl, 1
test cl, cl
je 0x4962c0
mov eax, dword [ebp + 0x13c]
mov edx, dword [ebp + 0x13c]
sub eax, 0xc
je 0x4962a8
sub eax, 1
je 0x4962b4
sub eax, 6
jne 0x496303
mov dword [ebp + 0x13c], 0x14
jmp 0x496303
mov dword [ebp + 0x13c], 0xe
jmp 0x496303
mov dword [ebp + 0x13c], 0xf
jmp 0x496303
push 0
call fcn.004ab080
xor eax, eax
xor bl, bl
cmp byte [0x94d790], 0
pop ecx
jne 0x4962d6
inc eax
test al, al
je 0x4962e5
cmp byte [0x936910], 0
je 0x4962e5
mov bl, 1
test bl, bl
je 0x496303
mov eax, dword [ebp + 0x13c]
cmp eax, 0xe
je 0x4962f9
cmp eax, 0xf
jne 0x496303
mov dword [ebp + 0x13c], 0x24
push 0
call fcn.004ab080
cmp byte [0x94d790], 0
pop ecx
fldz
fldz
je 0x4965b8
mov eax, dword [ebp + 0x13c]
cmp eax, 0x10
je 0x496334
cmp byte [0x7039b9], 0
je 0x4964c1
mov byte [0x7039b9], 1
mov ecx, dword [ebp + 0x674]
cmp ecx, 0x1e
jle 0x4965bf
mov edx, dword [ebp + 0x66c]
lea eax, [ecx - 0x1e]
cmp edx, eax
jl 0x49635f
test edx, edx
jle 0x4965bf
mov dword [esp + 8], ecx
mov edx, dword [0x9b48f0]
fild dword [esp + 8]
cmp edx, 0x1c0
fdivr dword [0x68d388]
fstp st(1)
fld dword [0x68d38c]
fadd dword [ebp + 0x670]
fstp st(2)
fld st(1)
fadd st(1)
fld dword [0x68d264]
fmul st(2)
fadd st(3)
fsub st(2)
fsubrp st(1)
fmul dword [0x68d078]
fstp st(2)
jne 0x4963a9
fld st(1)
jmp 0x4963b9
fld st(1)
fmul dword [0x68d080]
mov dword [esp + 8], edx
fimul dword [esp + 8]
fstp st(2)
fld st(1)
fnstcw word [esp + 4]
mov eax, dword [esp + 4]
or byte [esp + 5], 0xc
fldcw word [esp + 4]
mov dword [esp + 4], eax
cmp edx, 0x1c0
fistp dword [esp + 8]
fldcw word [esp + 4]
mov ebx, dword [esp + 8]
jne 0x4963ee
fld dword [0x68d24c]
jmp 0x4963fc
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul dword [0x68d250]
fstp st(2)
cmp edx, 0x1c0
je 0x496414
fmul dword [0x68d080]
mov dword [esp + 8], edx
fimul dword [esp + 8]
fild dword [ebp + 0x130]
mov dword [esp + 8], ebx
fsub st(2)
fisub dword [esp + 8]
fdiv st(1)
fnstcw word [esp + 4]
mov eax, dword [esp + 4]
or byte [esp + 5], 0xc
fldcw word [esp + 4]
mov dword [esp + 4], eax
fistp dword [esp + 8]
fldcw word [esp + 4]
mov eax, dword [esp + 8]
mov dword [ebp + 0x66c], eax
cmp dword [ebp + 0x66c], 0
jge 0x49645e
xor eax, eax
mov dword [ebp + 0x66c], eax
mov eax, dword [ebp + 0x674]
add eax, 0xffffffe2
cmp dword [ebp + 0x66c], eax
jle 0x496475
mov dword [ebp + 0x66c], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
mov eax, dword [ebp + 0x66c]
add eax, 0x1d
cmp dword [ebp + 0x680], eax
jle 0x4964a4
mov dword [ebp + 0x680], eax
mov eax, dword [ebp + 0x66c]
cmp dword [ebp + 0x680], eax
jge 0x4965bf
mov dword [ebp + 0x680], eax
jmp 0x4965bf
mov ecx, eax
sub eax, 0xc
je 0x4964dc
sub eax, 1
je 0x49653b
sub eax, 1
je 0x4964dc
sub eax, 1
je 0x49653b
jmp 0x4965ae
cmp byte [ebp + 0x128], 0
jne 0x4965bf
mov byte [ebp + 0x128], 1
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
mov eax, dword [ebp + 0x66c]
cmp dword [ebp + 0x680], eax
jne 0x496530
test eax, eax
jle 0x4965bf
dec dword [ebp + 0x680]
dec dword [ebp + 0x66c]
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fsubr dword [ebp + 0x670]
jmp 0x496593
dec dword [ebp + 0x680]
jmp 0x4965bf
cmp byte [ebp + 0x128], 0
jne 0x4965bf
mov byte [ebp + 0x128], 1
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
mov edx, dword [ebp + 0x66c]
mov ebx, dword [ebp + 0x680]
lea eax, [edx + 0x1d]
cmp ebx, eax
jne 0x49659b
mov eax, dword [ebp + 0x674]
add eax, 0xffffffe2
cmp edx, eax
jge 0x4965bf
inc dword [ebp + 0x680]
inc dword [ebp + 0x66c]
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fadd dword [ebp + 0x670]
fstp dword [ebp + 0x670]
jmp 0x4965bf
mov eax, dword [ebp + 0x674]
dec eax
cmp ebx, eax
jge 0x4965bf
inc dword [ebp + 0x680]
jmp 0x4965bf
xor al, al
mov byte [ebp + 0x128], al
jmp 0x4965bf
xor al, al
mov byte [0x7039b9], al
fcompp
add esp, 0x10
pop ebp
pop esi
pop ebx
ret 8