Function at 0x497f4f
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov eax, dword [ecx]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea esi, [edi + 0x90]
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x20], eax
mov dword [esi + 0x64], eax
push dword [ecx]
push 0xa
push eax
call fcn.005052d0
mov ecx, eax
add esp, 0xc
mov dword [esi + 0x68], ecx
test ecx, ecx
je 0x498ddc
mov eax, dword [esi + 0x60]
sub eax, ecx
mov ecx, dword [ebp + 0x10]
dec eax
add dword [ecx], eax
mov eax, dword [esi + 0x68]
inc eax
mov dword [esi + 0x60], eax
sub eax, dword [esi + 0x64]
push eax
push esi
push edi
call fcn.004990a1
add esp, 0xc
test eax, eax
jne 0x498c7c
mov eax, dword [esi + 0x58]
xor ecx, ecx
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0xc54]
mov dword [esi + 0x6c], eax
cmp dword [esi + 0x54], ecx
jne 0x497feb
push dword [esi + 0x5c]
push dword [edi + 0xc54]
push ebx
push edi
call fcn.00498fc0
add esp, 0x10
cmp eax, 2
je 0x498c4a
xor ecx, ecx
mov edx, dword [esi + 0x6c]
mov al, byte [edx]
cmp al, 0xa
je 0x498911
cmp al, 0xd
je 0x498915
mov ecx, dword [esi + 0x54]
lea eax, [ecx + 1]
mov dword [esi + 0x54], eax
test ecx, ecx
jne 0x4982b7
mov eax, dword [ebx + 0x2a8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x49812a
lea ecx, [esi + 0x78]
push ecx
lea ecx, [ebp + 0xb]
push ecx
lea eax, [ebx + 0x180]
push eax
lea eax, [ebp - 0xc]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.00474070
add esp, 0x18
cmp eax, 1
jne 0x498082
cmp dword [ebp - 0xc], 2
jne 0x498c97
lea eax, [esi + 0x78]
push eax
push str._HTTP_2__d
push dword [esi + 0x6c]
call fcn.00474070
add esp, 0xc
cmp eax, 1
jne 0x498c97
lea ecx, [ebx + 0x180]
mov dl, 0x20
and dword [ecx], 0
push 4
pop eax
mov byte [ebp + 0xb], dl
jmp 0x49808b
mov dl, byte [ebp + 0xb]
lea ecx, [ebx + 0x180]
cmp eax, 4
jne 0x4980cd
cmp dl, 0x20
jne 0x498c97
imul eax, dword [ebp - 0xc], 0xa
add dword [ecx], eax
cmp dword [esi + 0x94], 2
jne 0x49817f
cmp dword [ecx], 0x14
je 0x49817f
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.0048fecf
pop ecx
pop ecx
lea ecx, [ebx + 0x180]
jmp 0x49817f
test eax, eax
jne 0x498c97
lea eax, [esi + 0x78]
push eax
push str._HTTP__3d
push dword [esi + 0x6c]
call fcn.00474070
add esp, 0xc
lea ecx, [ebx + 0x180]
mov dword [ecx], 0xa
test eax, eax
jne 0x49817f
push dword [esi + 0x5c]
push dword [esi + 0x6c]
push edi
call fcn.00498f23
add esp, 0xc
cmp eax, 1
jne 0x498cad
lea ecx, [ebx + 0x180]
mov dword [esi + 0x78], 0xc8
mov dword [ecx], 0xa
jmp 0x49817f
test eax, 0x40000
je 0x498cad
lea ecx, [esi + 0x78]
push ecx
lea ecx, [ebp - 1]
push ecx
lea eax, [ebx + 0x184]
push eax
lea eax, [ebp - 0x10]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.00474070
add esp, 0x18
cmp eax, 4
jne 0x498cad
cmp byte [ebp - 1], 0x20
jne 0x498cad
imul eax, dword [ebp - 0x10], 0xa
lea ecx, [ebx + 0x180]
mov dword [ecx], 0xb
add dword [ebx + 0x184], eax
mov eax, dword [esi + 0x78]
mov dword [edi + 0xf78], eax
mov eax, dword [ecx]
mov dword [edi + 0xf80], eax
mov eax, dword [edi + 0xedc]
test eax, eax
je 0x49819e
cmp eax, dword [ecx]
jle 0x4981a6
mov eax, dword [ecx]
mov dword [edi + 0xedc], eax
mov eax, dword [edi + 0xee8]
or eax, dword [edi + 0xeec]
lea eax, [esi + 0x78]
je 0x4981d1
cmp dword [edi + 0x828], 1
jne 0x4981d1
cmp dword [eax], 0x1a0
jne 0x4981d1
or dword [esi + 0x500], 8
jmp 0x498212
test dword [edi + 0xa8c], 0x10000
je 0x498212
cmp dword [eax], 0x190
jl 0x498212
cmp dword [eax], 0x191
jne 0x4981f6
test byte [ebx + 0x284], 0x80
jne 0x498212
cmp dword [eax], 0x197
jne 0x498ca1
test dword [ebx + 0x284], 0x100
je 0x498ca1
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x498231
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.0048fecf
push 1
push ebx
call fcn.00490861
add esp, 0x10
jmp 0x498283
cmp eax, 0x14
je 0x498277
cmp dword [esi + 0x94], 1
jne 0x498245
cmp dword [esi + 0x78], 0x65
je 0x498277
cmp eax, 0xb
jl 0x498283
test byte [ebx + 0x284], 1
jne 0x498283
cmp dword [ebx + 0x564], 0
je 0x498283
push ebx
push edi
call fcn.0049d165
pop ecx
pop ecx
test al, al
jne 0x498283
mov eax, dword [ebx + 0x564]
mov dword [eax], 1
jmp 0x498283
mov eax, dword [ebx + 0x564]
mov dword [eax], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x4982a1
sub eax, 0x64
jne 0x4982b7
cmp dword [edi + 0x81c], eax
je 0x4982a1
or dword [edi + 0x102c], 1
and dword [esi], 0
and dword [esi + 4], 0
and dword [esi + 8], 0
and dword [esi + 0xc], 0
or dword [esi + 0x500], 0x10
test byte [esi + 0x500], 0x10
jne 0x49837a
test byte [edi + 0xa90], 0x10
jne 0x49837a
push 0xf
push dword [esi + 0x6c]
push str.Content_Length:
call fcn.0049f254
add esp, 0xc
test eax, eax
je 0x49837a
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esi + 0x6c]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.0049f92e
add esp, 0x10
test eax, eax
jne 0x49834d
mov eax, dword [edi + 0x8f8]
mov edx, dword [edi + 0x8fc]
or eax, edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
je 0x498332
cmp ecx, edx
jg 0x498cb6
jl 0x498332
cmp eax, dword [edi + 0x8f8]
ja 0x498cb6
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
call fcn.0049bdd4
add esp, 0xc
jmp 0x49889f
cmp eax, 1
jne 0x498cca
mov eax, dword [edi + 0x8f8]
or eax, dword [edi + 0x8fc]
jne 0x498cb6
push 2
push ebx
call fcn.00490861
push str.Overflow_Content_Length:_value__n
jmp 0x4984ca
push 0xd
push dword [esi + 0x6c]
push str.Content_Type:
call fcn.0049f254
add esp, 0xc
test eax, eax
je 0x4983c4
push dword [esi + 0x6c]
call fcn.004978e4
mov dword [ebp - 8], eax
pop ecx
test eax, eax
je 0x498cde
cmp byte [eax], 0
je 0x49841b
push dword [edi + 0xfac]
call dword [0x5bf030]
mov eax, dword [ebp - 8]
pop ecx
mov dword [edi + 0xfac], eax
jmp 0x49889f
push 7
push dword [esi + 0x6c]
push str.Server:
call fcn.0049f254
add esp, 0xc
test eax, eax
je 0x498427
cmp dword [ebx + 0x180], 0x14
jge 0x49889f
push dword [esi + 0x6c]
call fcn.004978e4
pop ecx
mov ecx, dword [ebx + 0x564]
mov dword [ebp - 8], eax
test ecx, ecx
je 0x49841b
cmp dword [ecx], 1
jne 0x49841b
push eax
push edi
call fcn.0049cfbf
pop ecx
pop ecx
test al, al
je 0x498418
mov eax, dword [ebx + 0x564]
or dword [eax], 0xffffffff
mov eax, dword [ebp - 8]
push eax
call dword [0x5bf030]
jmp 0x4984fa
cmp dword [ebx + 0x180], 0xa
jne 0x498461
test byte [ebx + 0x284], 0x20
je 0x498461
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x6c]
call fcn.0049783e
add esp, 0xc
test al, al
je 0x498461
push 0
push ebx
call fcn.00490861
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
jmp 0x4984ca
cmp dword [ebx + 0x180], 0xb
jne 0x49849b
test byte [ebx + 0x284], 0x20
je 0x49849b
push str.close
push str.Proxy_Connection:
push dword [esi + 0x6c]
call fcn.0049783e
add esp, 0xc
test al, al
je 0x49849b
push 1
push ebx
call fcn.00490861
push str.HTTP_1.1_proxy_connection_set_close__n
jmp 0x4984ca
cmp dword [ebx + 0x180], 0xa
jne 0x4984d8
push str.keep_alive
push str.Connection:
push dword [esi + 0x6c]
call fcn.0049783e
add esp, 0xc
test al, al
je 0x4984d8
push 0
push ebx
call fcn.00490861
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.0048fecf
add esp, 0x10
jmp 0x49889f
push str.close
push str.Connection:
push dword [esi + 0x6c]
call fcn.0049783e
add esp, 0xc
test al, al
je 0x498500
push 2
push ebx
call fcn.00490861
pop ecx
pop ecx
jmp 0x49889f
push 0x12
push dword [esi + 0x6c]
push str.Transfer_Encoding:
call fcn.0049f254
add esp, 0xc
test eax, eax
je 0x49852d
mov eax, dword [esi + 0x6c]
push 1
add eax, 0x12
push eax
push ebx
call fcn.004b5978
add esp, 0xc
jmp 0x498897
push 0x11
push dword [esi + 0x6c]
push str.Content_Encoding:
call fcn.0049f254
add esp, 0xc
test eax, eax
je 0x498556
cmp dword [edi + 0x950], 0
je 0x498556
mov eax, dword [esi + 0x6c]
push 0
add eax, 0x11
jmp 0x49851e
push 0xe
push dword [esi + 0x6c]
push str.Content_Range:
call fcn.0049f254
add esp, 0xc
test eax, eax
je 0x49860a
mov eax, dword [esi + 0x6c]
add eax, 0xe
mov dword [ebp - 8], eax
mov cl, byte [eax]
test cl, cl
je 0x4985a4
mov ebx, eax
movzx eax, cl
push eax
call fcn.004b2f62
pop ecx
test eax, eax
jne 0x49859b
cmp byte [ebx], 0x2a
je 0x49859b
inc ebx
mov cl, byte [ebx]
test cl, cl
jne 0x498581
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
call fcn.004b2f62
pop ecx
test eax, eax
je 0x4985f7
lea eax, [esi + 0x70]
push eax
push 0xa
push 0
push dword [ebp - 8]
call fcn.0049f92e
add esp, 0x10
test eax, eax
jne 0x49889f
mov eax, dword [edi + 0xee8]
cmp eax, dword [esi + 0x70]
jne 0x49889f
mov eax, dword [edi + 0xeec]
cmp eax, dword [esi + 0x74]
jne 0x49889f
or dword [esi + 0x500], 2
jmp 0x49889f
and dword [edi + 0xee8], 0
and dword [edi + 0xeec], 0
jmp 0x49889f
cmp dword [edi + 0xaac], 0
je 0x498685
push 0xb
push dword [esi + 0x6c]
push str.Set_Cookie:
call fcn.0049f254
add esp, 0xc
test eax, eax
je 0x498685
push 2
push 2
push edi
call fcn.0049f8bb
mov ecx, dword [ebx + 0x2f0]
add esp, 0xc
test ecx, ecx
jne 0x498646
mov ecx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0x2a8]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [edi + 0xf38]
mov eax, dword [esi + 0x6c]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [edi + 0xaac]
push edi
call fcn.004858ef
push 2
push edi
call fcn.0049f8f6
add esp, 0x28
jmp 0x49889f
push 0xe
push dword [esi + 0x6c]
push str.Last_Modified:
call fcn.0049f254
add esp, 0xc
test eax, eax
je 0x498703
cmp dword [edi + 0x81c], 0
jne 0x4986b0
test dword [edi + 0xa8c], 0x200
je 0x498703
push 0
call fcn.0050c5ca
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi + 0x6c]
add eax, 0xe
mov dword [ebp - 0x2c], edx
push eax
call fcn.0049f285
add esp, 0xc
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], edx
test dword [edi + 0xa8c], 0x200
je 0x49889f
mov dword [edi + 0xf88], eax
mov eax, dword [esi + 0xa4]
mov dword [edi + 0xf8c], eax
jmp 0x49889f
push 0x11
push dword [esi + 0x6c]
push str.WWW_Authenticate:
call fcn.0049f254
add esp, 0xc
test eax, eax
je 0x498726
mov eax, dword [esi + 0x78]
mov dword [ebp - 8], eax
cmp eax, 0x191
je 0x498749
push 0x13
push dword [esi + 0x6c]
push str.Proxy_authenticate:
call fcn.0049f254
add esp, 0xc
test eax, eax
je 0x498789
mov eax, dword [esi + 0x78]
mov dword [ebp - 8], eax
cmp eax, 0x197
jne 0x498789
push dword [esi + 0x6c]
call fcn.004978e4
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
je 0x498cde
cmp dword [ebp - 8], 0x197
push eax
sete al
movzx eax, al
push eax
push ebx
call fcn.00497c19
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
call dword [0x5bf030]
mov eax, dword [ebp - 8]
add esp, 0x10
jmp 0x498897
push 0xf
push dword [esi + 0x6c]
push str.Persistent_Auth
call fcn.0049f254
add esp, 0xc
test eax, eax
je 0x498802
cmp dword [edi + 0xcdc], 4
jne 0x49889f
push dword [esi + 0x6c]
call fcn.004978e4
mov dword [ebp - 8], eax
pop ecx
test eax, eax
je 0x498cde
push 5
push eax
push str.false
call fcn.0049f254
push dword [ebp - 8]
test eax, eax
mov byte [ebx + 0x435], 1
setne al
mov byte [ebx + 0x434], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push edi
call fcn.0048fecf
push dword [ebp - 8]
call dword [0x5bf030]
add esp, 0x20
jmp 0x49889f
cmp dword [esi + 0x78], 0x12c
jl 0x49887d
cmp dword [esi + 0x78], 0x190
jge 0x49887d
push 9
push dword [esi + 0x6c]
push str.Location:
call fcn.0049f254
add esp, 0xc
test eax, eax
je 0x49887d
cmp dword [edi + 0x144], 0
jne 0x49887d
push dword [esi + 0x6c]
call fcn.004978e4
pop ecx
test eax, eax
je 0x498cde
cmp byte [eax], 0
je 0x49841b
test dword [edi + 0xa8c], 0x40000
mov dword [edi + 0x144], eax
je 0x49889f
push eax
call dword [0x5bf038]
mov dword [edi + 0x148], eax
pop ecx
test eax, eax
je 0x498cde
push ebx
call fcn.0049923f
jmp 0x498896
mov eax, dword [ebx + 0x2a8]
test dword [eax + 0x40], 0x40000
je 0x49889f
push dword [esi + 0x6c]
push ebx
call fcn.004b16f1
pop ecx
pop ecx
test eax, eax
jne 0x498c7c
mov eax, dword [edi + 0xa8c]
mov ecx, eax
and ecx, 0x200000
or ecx, 0x400000
shr ecx, 0x15
mov dword [ebp - 0x14], ecx
test eax, 0x4000000
je 0x4988d4
push dword [esi + 0x5c]
push dword [esi + 0x6c]
push 1
push edi
call fcn.0048fd7e
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push dword [esi + 0x5c]
push dword [esi + 0x6c]
push ecx
push ebx
call fcn.0048fd51
add esp, 0x10
test eax, eax
jne 0x498c7c
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0xf90], eax
adc dword [edi + 0xf94], edx
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0xb0], eax
adc dword [edi + 0xb4], edx
jmp 0x498c2d
cmp al, 0xd
jne 0x49891b
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp byte [eax], 0xa
jne 0x498927
inc eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x498992
cmp eax, 0xc7
jg 0x498992
sub eax, 0x64
je 0x498968
sub eax, 1
je 0x49894f
or dword [esi + 0x500], 1
mov dword [esi + 0x54], ecx
jmp 0x4989ec
cmp dword [esi + 0x94], 1
je 0x498ce5
and dword [esi + 0x500], 0xfffffffe
jmp 0x4989ec
or dword [esi + 0x500], 1
mov dword [esi + 0x54], ecx
cmp dword [esi + 0x90], ecx
jle 0x4989ec
or dword [esi + 0xb0], 2
push ecx
push edi
mov dword [esi + 0x90], ecx
call fcn.004832da
pop ecx
pop ecx
jmp 0x4989ec
mov eax, dword [esi]
and eax, dword [esi + 4]
and dword [esi + 0x500], 0xfffffffe
cmp eax, 0xffffffff
jne 0x4989ec
test byte [esi + 0x500], 0x20
jne 0x4989ec
test byte [ebx + 0x284], 1
jne 0x4989f5
cmp dword [ebx + 0x180], 0xb
jne 0x4989ec
mov eax, dword [ebx + 0x2a8]
test dword [eax + 0x40], 0x40000
jne 0x4989ec
cmp dword [edi + 0x828], 6
je 0x4989ec
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.0048fecf
push 2
push ebx
call fcn.00490861
add esp, 0x10
test byte [ebx + 0x284], 1
je 0x498a72
mov eax, dword [edi + 0x108]
cmp eax, 0x191
jne 0x498a0b
cmp dword [ebx + 0x368], 2
je 0x498a1b
cmp eax, 0x197
jne 0x498a2f
cmp dword [ebx + 0x3ac], 2
jne 0x498a2f
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.0048fecf
or dword [edi + 0xf4c], 0x20
pop ecx
pop ecx
test byte [ebx + 0x284], 1
je 0x498a72
mov eax, dword [edi + 0x108]
cmp eax, 0x191
jne 0x498a4e
cmp dword [ebx + 0x3f0], 1
je 0x498a5e
cmp eax, 0x197
jne 0x498a72
cmp dword [ebx + 0x438], 1
jne 0x498a72
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.0048fecf
or dword [edi + 0xf4c], 0x20
pop ecx
pop ecx
cmp dword [ebx + 0x3f0], 3
jne 0x498a91
cmp dword [edi + 0x108], 0x191
je 0x498a91
mov dword [ebx + 0x3f0], 4
cmp dword [ebx + 0x438], 3
jne 0x498ab0
cmp dword [edi + 0x108], 0x197
je 0x498ab0
mov dword [ebx + 0x438], 4
push ebx
call fcn.00499475
pop ecx
test eax, eax
jne 0x498dc3
mov eax, dword [edi + 0xc54]
mov ecx, dword [esi + 0x6c]
sub ecx, eax
push ecx
push eax
mov eax, dword [edi + 0xa8c]
and eax, 0x200000
mov dword [ebp - 8], ecx
or eax, 0x400000
shr eax, 0x15
push eax
push ebx
call fcn.0048fd51
add esp, 0x10
test eax, eax
jne 0x498c7c
mov eax, dword [ebp - 8]
cdq
add dword [edi + 0xf90], eax
adc dword [edi + 0xf94], edx
add dword [edi + 0xb0], eax
adc dword [edi + 0xb4], edx
cmp dword [esi + 0x78], 0x64
jl 0x498b2d
cmp dword [esi + 0x78], 0xc7
jg 0x498b2d
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0xb4]
jmp 0x498b3b
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push ebx
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], ecx
call fcn.00497989
pop ecx
test eax, eax
jne 0x498c7c
cmp dword [esi + 0x78], 0x12c
jl 0x498c20
test dword [ebx + 0x284], 0x18001
jne 0x498c00
mov eax, dword [edi + 0x828]
add eax, 0xfffffffe
cmp eax, 3
ja 0x498c00
push 0
push edi
call fcn.004832da
test byte [esi + 0x500], 4
pop ecx
pop ecx
jne 0x498c00
test dword [edi + 0xa8c], 0x20000
je 0x498bc6
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.0048fecf
cmp dword [esi + 0x90], 0
pop ecx
pop ecx
jle 0x498c00
and dword [esi + 0x90], 0
or dword [esi + 0xb0], 2
jmp 0x498c00
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.0048fecf
push 2
push ebx
call fcn.00490861
or dword [esi + 0x500], 4
add esp, 0x10
and dword [esi + 0xb0], 0xfffffffd
test dword [edi + 0xf4c], 0x100
je 0x498c00
mov dword [esi + 0x90], 3
test dword [ebx + 0x284], 0x10000
je 0x498c20
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.0048fecf
or dword [esi + 0xb0], 2
pop ecx
pop ecx
test byte [esi + 0x500], 1
je 0x498d0a
mov eax, dword [edi + 0xc54]
and dword [esi + 0x5c], 0
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x60]
cmp byte [eax], 0
je 0x498c7a
mov ecx, dword [ebp + 0x10]
jmp 0x497f72
push 2
push ebx
call fcn.00490861
test dword [edi + 0xa90], 0x8000000
pop ecx
pop ecx
je 0x498e3d
mov eax, dword [ebp + 0x10]
and dword [esi + 0x500], 0xfffffffe
cmp dword [eax], 0
je 0x498c83
mov dword [esi + 0x50], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x50], 2
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x60], eax
jmp 0x498c7a
push str.Unsupported_HTTP_version_in_response_n
jmp 0x498e42
push edi
call fcn.004996d2
pop ecx
jmp 0x498dd4
and dword [esi + 0x500], 0xfffffffe
jmp 0x498c7a
push str.Maximum_file_size_exceeded
push edi
call fcn.0048fdf9
pop ecx
pop ecx
push 0x3f
jmp 0x498dd6
push str.Invalid_Content_Length:_value
push edi
call fcn.0048fdf9
pop ecx
pop ecx
push 8
jmp 0x498dd6
push 0x1b
jmp 0x498dd6
push str.Received_101_n
push edi
call fcn.0048fecf
or dword [esi + 0x500], 1
and dword [esi + 0x54], 0
mov dword [esi + 0x94], 2
jmp 0x498e48
test dword [edi + 0xa8c], 0x1000000
jne 0x498d3b
mov eax, dword [ebx + 0x2a8]
test dword [eax + 0x40], 0x40000
je 0x498d43
cmp dword [edi + 0xa34], 2
jne 0x498d43
cmp dword [esi + 4], 0xffffffff
jg 0x498d43
jl 0x498d3b
cmp dword [esi], 0xffffffff
ja 0x498d43
mov ebx, dword [ebp + 0x14]
mov byte [ebx], 1
jmp 0x498d5e
test byte [esi + 0x500], 0x20
mov ebx, dword [ebp + 0x14]
je 0x498d5e
or dword [esi], 0xffffffff
or dword [esi + 4], 0xffffffff
or dword [esi + 8], 0xffffffff
or dword [esi + 0xc], 0xffffffff
cmp dword [esi], 0xffffffff
jne 0x498d69
cmp dword [esi + 4], 0xffffffff
je 0x498d82
push dword [esi + 4]
push dword [esi]
push edi
call fcn.0049bdd4
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
jne 0x498d91
cmp dword [esi + 0xc], 0
jne 0x498d91
mov byte [ebx], 1
cmp byte [ebx], 0
je 0x498d9d
and dword [esi + 0xb0], 0xfffffffe
test dword [edi + 0xa8c], 0x4000000
je 0x498c7a
push dword [ebp - 8]
push dword [esi + 0x64]
push 1
push edi
call fcn.0048fd7e
add esp, 0x10
jmp 0x498c7a
push dword [esi + 0x78]
push str.The_requested_URL_returned_error:__d
push edi
call fcn.0048fdf9
add esp, 0xc
push 0x16
pop eax
jmp 0x498c7c
mov eax, dword [ebp + 0x10]
push dword [eax]
push esi
push edi
call fcn.004990a1
add esp, 0xc
test eax, eax
jne 0x498c7c
cmp dword [esi + 0x54], eax
jne 0x498c7a
push dword [esi + 0x5c]
push dword [edi + 0xc54]
push ebx
push edi
call fcn.00498fc0
add esp, 0x10
push 2
pop ecx
cmp eax, ecx
jne 0x498c7a
and dword [esi + 0x500], 0xfffffffe
push ecx
push ebx
mov dword [esi + 0x50], ecx
call fcn.00490861
test dword [edi + 0xa90], 0x8000000
pop ecx
pop ecx
jne 0x498c7a
push str.Received_HTTP_0.9_when_not_allowed_n
push edi
call fcn.0048fdf9
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x498c7c