Function at 0x498c00
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
push edi
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0xe8]
mov edi, ecx
mov dword [esi + 0xec], ecx
push dword [eax]
mov dword [ebp - 0x24], ecx
push 0xa
push ecx
call fcn.004e9400
mov ebx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
je 0x499b51
sub edi, eax
mov eax, dword [ebp + 0x10]
dec edi
add dword [eax], edi
lea edi, [esi + 0x88]
mov eax, dword [esi + 0xf0]
inc eax
mov dword [esi + 0xe8], eax
sub eax, dword [esi + 0xec]
push eax
push edi
push esi
call fcn.00499fb0
add esp, 0xc
test eax, eax
jne 0x499c03
cmp dword [esi + 0xdc], 0
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0xc54]
mov dword [esi + 0xf4], eax
jne 0x498cb1
push dword [esi + 0xe4]
push eax
push esi
call fcn.00499e40
add esp, 0xc
cmp eax, 2
je 0x499bd1
mov edx, dword [esi + 0xf4]
mov al, byte [edx]
cmp al, 0xa
je 0x49975a
cmp al, 0xd
je 0x49975e
mov ecx, dword [esi + 0xdc]
lea eax, [ecx + 1]
mov dword [esi + 0xdc], eax
test ecx, ecx
jne 0x498fcc
mov eax, dword [ebx + 0x2c0]
mov eax, dword [eax + 0x40]
test al, 3
je 0x498e1b
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 1]
push eax
lea edi, [ebx + 0x184]
push edi
lea eax, [ebp - 0xc]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.00456830
add esp, 0x18
cmp eax, 1
jne 0x498d57
cmp dword [ebp - 0xc], 2
jl 0x499c2b
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 8]
push eax
push str._HTTP__1_23___d
push dword [esi + 0xf4]
call fcn.00456830
add esp, 0x10
cmp eax, 2
jne 0x499c2b
mov dword [edi], 0
mov byte [ebp - 1], 0x20
jmp 0x498d66
cmp eax, 4
jne 0x498dbb
cmp byte [ebp - 1], 0x20
jne 0x499c2b
mov eax, dword [ebp - 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*2]
mov dword [edi], eax
mov ecx, eax
cmp dword [esi + 0x11c], 2
jne 0x498d93
cmp eax, 0x14
je 0x498d93
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.004903d0
mov ecx, dword [edi]
add esp, 8
cmp ecx, 0x14
jge 0x498e77
mov eax, dword [ebx + 0x55c]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.004903d0
add esp, 8
jmp 0x498e77
test eax, eax
jne 0x499c2b
lea eax, [esi + 0x100]
push eax
push str._HTTP__3d
push dword [esi + 0xf4]
call fcn.00456830
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x498e77
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push esi
call fcn.00499e40
add esp, 0xc
cmp eax, 1
jne 0x499cd3
mov dword [esi + 0x100], 0xc8
mov dword [edi], 0xa
jmp 0x498e77
test eax, 0x40000
je 0x499cd3
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 2]
push eax
lea edi, [ebx + 0x188]
push edi
lea eax, [ebp - 0x10]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.00456830
add esp, 0x18
cmp eax, 4
jne 0x499cd3
cmp byte [ebp - 2], 0x20
jne 0x499cd3
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x184], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [ebx + 0x184]
mov eax, dword [esi + 0x100]
mov dword [esi + 0xfa0], eax
mov eax, dword [edi]
mov dword [esi + 0xfa8], eax
mov eax, dword [esi + 0xf2c]
test eax, eax
je 0x498e99
cmp eax, dword [edi]
jle 0x498ea1
mov eax, dword [edi]
mov dword [esi + 0xf2c], eax
mov eax, dword [esi + 0xf38]
or eax, dword [esi + 0xf3c]
je 0x498ecd
cmp dword [esi + 0x828], 1
jne 0x498ecd
cmp dword [esi + 0x100], 0x1a0
jne 0x498ecd
or dword [esi + 0x588], 8
jmp 0x498f14
test dword [esi + 0xa8c], 0x8000
je 0x498f14
mov eax, dword [esi + 0x100]
cmp eax, 0x190
jl 0x498f14
cmp eax, 0x191
jne 0x498ef9
test dword [ebx + 0x29c], 0x100
jne 0x498f14
cmp eax, 0x197
jne 0x499c45
test dword [ebx + 0x29c], 0x200
je 0x499c45
mov eax, dword [edi]
cmp eax, 0xa
jne 0x498f33
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.004903d0
push 1
push ebx
call fcn.00490fb0
add esp, 0x10
jmp 0x498f56
cmp eax, 0x14
je 0x498f4a
cmp dword [esi + 0x11c], 1
jne 0x498f56
cmp dword [esi + 0x100], 0x65
jne 0x498f56
mov eax, dword [ebx + 0x55c]
mov dword [eax], 2
mov edx, dword [esi + 0x100]
mov ecx, 0x63
lea eax, [edx - 0x64]
cmp ecx, eax
mov eax, dword [esi + 0x588]
sbb ecx, ecx
and eax, 0xffffffef
and ecx, 0xfffffff0
add ecx, 0x10
or ecx, eax
mov dword [esi + 0x588], ecx
sub edx, 0xcc
je 0x498f9b
sub edx, 0x64
jne 0x498fcc
cmp dword [esi + 0x81c], edx
je 0x498f9b
or dword [esi + 0x1060], 1
or ecx, 0x10
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x588], ecx
test byte [esi + 0x588], 0x10
jne 0x4990a9
cmp dword [esi + 0xa8c], 0
jl 0x4990a9
push 0xf
push dword [esi + 0xf4]
push str.Content_Length:
call fcn.004a1950
add esp, 0xc
test eax, eax
je 0x4990a9
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004a2fd0
add esp, 0x10
test eax, eax
jne 0x499073
mov edi, dword [esi + 0x8f8]
mov eax, edi
mov edx, dword [esi + 0x8fc]
or eax, edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
je 0x49904b
cmp ecx, edx
jg 0x499ce3
jl 0x49904b
cmp eax, edi
ja 0x499ce3
push ecx
push eax
push esi
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
call fcn.0049c910
add esp, 0xc
jmp 0x4996e3
cmp eax, 1
jne 0x499cfd
mov eax, dword [esi + 0x8f8]
or eax, dword [esi + 0x8fc]
jne 0x499ce3
push 2
push ebx
call fcn.00490fb0
push str.Overflow_Content_Length:_value__n
push esi
call fcn.004903d0
add esp, 0x10
jmp 0x4996e3
push 0xd
push dword [esi + 0xf4]
push str.Content_Type:
call fcn.004a1950
add esp, 0xc
test eax, eax
je 0x499118
push dword [esi + 0xf4]
call fcn.00498490
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x499d17
cmp byte [eax], 0
mov edi, dword [fcn.004ebfb0]
mov ecx, edi
jne 0x4990f9
push eax
call dword [0x51a4a0]
call edi
add esp, 4
jmp 0x4996e3
push dword [esi + 0xfd4]
call dword [0x51a4a0]
call edi
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [esi + 0xfd4], eax
jmp 0x4996e3
cmp dword [ebx + 0x184], 0xa
jne 0x499161
test byte [ebx + 0x29c], 0x40
je 0x499161
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.004983d0
add esp, 0xc
test al, al
je 0x499161
push 0
push ebx
call fcn.00490fb0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.004903d0
add esp, 0x10
jmp 0x4996e3
cmp dword [ebx + 0x184], 0xb
jne 0x4991aa
test byte [ebx + 0x29c], 0x40
je 0x4991aa
push str.close
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.004983d0
add esp, 0xc
test al, al
je 0x4991aa
push 1
push ebx
call fcn.00490fb0
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.004903d0
add esp, 0x10
jmp 0x4996e3
cmp dword [ebx + 0x184], 0xa
jne 0x4991ea
push str.keep_alive
push str.Connection:
push dword [esi + 0xf4]
call fcn.004983d0
add esp, 0xc
test al, al
je 0x4991ea
push 0
push ebx
call fcn.00490fb0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.004903d0
add esp, 0x10
jmp 0x4996e3
push str.close
push str.Connection:
push dword [esi + 0xf4]
call fcn.004983d0
add esp, 0xc
test al, al
je 0x499216
push 2
push ebx
call fcn.00490fb0
add esp, 8
jmp 0x4996e3
test byte [esi + 0x588], 0x10
jne 0x499292
push 0x12
push dword [esi + 0xf4]
push str.Transfer_Encoding:
call fcn.004a1950
add esp, 0xc
test eax, eax
je 0x499245
mov eax, dword [esi + 0xf4]
push 1
add eax, 0x12
jmp 0x49927b
test byte [esi + 0x588], 0x10
jne 0x499292
push 0x11
push dword [esi + 0xf4]
push str.Content_Encoding:
call fcn.004a1950
add esp, 0xc
test eax, eax
je 0x499292
cmp dword [esi + 0x944], 0
je 0x499292
mov eax, dword [esi + 0xf4]
push 0
add eax, 0x11
push eax
push ebx
call fcn.004a2120
add esp, 0xc
test eax, eax
jne 0x499c03
jmp 0x4996e3
push 0xc
push dword [esi + 0xf4]
push str.Retry_After:
call fcn.004a1950
add esp, 0xc
test eax, eax
je 0x499328
mov eax, dword [esi + 0xf4]
xorps xmm0, xmm0
add eax, 0xc
movlpd qword [ebp - 0x1c], xmm0
push 0
push eax
call fcn.004a2900
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, edx
cmp eax, 0xffffffff
jne 0x499306
cmp edi, eax
jne 0x499306
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xc
push 0
push eax
call fcn.004a2fd0
mov edi, dword [ebp - 0x18]
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0xfe0], ecx
mov dword [esi + 0xfe4], edi
jmp 0x4996e3
push 0
call fcn.004f9bca
mov ecx, dword [ebp - 0x14]
add esp, 4
sub ecx, eax
mov dword [esi + 0xfe0], ecx
sbb edi, edx
mov dword [esi + 0xfe4], edi
jmp 0x4996e3
test byte [esi + 0x588], 0x10
jne 0x4993f3
push 0xe
push dword [esi + 0xf4]
push str.Content_Range:
call fcn.004a1950
add esp, 0xc
test eax, eax
je 0x4993f3
mov edi, dword [esi + 0xf4]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x49937e
movzx eax, al
push eax
call fcn.00493ad0
add esp, 4
test eax, eax
jne 0x49937e
cmp byte [edi], 0x2a
je 0x49937e
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x499361
movzx eax, byte [edi]
push eax
call fcn.00493ad0
add esp, 4
test eax, eax
je 0x4993da
lea eax, [esi + 0xf8]
push eax
push 0xa
push 0
push edi
call fcn.004a2fd0
add esp, 0x10
test eax, eax
jne 0x4996e3
mov eax, dword [esi + 0xf38]
cmp eax, dword [esi + 0xf8]
jne 0x4996e3
mov eax, dword [esi + 0xf3c]
cmp eax, dword [esi + 0xfc]
jne 0x4996e3
or dword [esi + 0x588], 2
jmp 0x4996e3
mov dword [esi + 0xf38], 0
mov dword [esi + 0xf3c], 0
jmp 0x4996e3
cmp dword [esi + 0xaac], 0
je 0x499474
push 0xb
push dword [esi + 0xf4]
push str.Set_Cookie:
call fcn.004a1950
add esp, 0xc
test eax, eax
je 0x499474
push 2
push 2
push esi
call fcn.00480f20
mov ecx, dword [ebx + 0x308]
add esp, 0xc
test ecx, ecx
jne 0x499432
mov ecx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0x2c0]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0xf88]
mov eax, dword [esi + 0xf4]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0xaac]
push esi
call fcn.00482760
push 2
push esi
call fcn.00480f70
add esp, 0x28
jmp 0x4996e3
test byte [esi + 0x588], 0x10
jne 0x499505
push 0xe
push dword [esi + 0xf4]
push str.Last_Modified:
call fcn.004a1950
add esp, 0xc
test eax, eax
je 0x499505
cmp dword [esi + 0x81c], 0
jne 0x4994af
test dword [esi + 0xa8c], 0x200
je 0x499505
push 0
call fcn.004f9bca
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi + 0xf4]
add eax, 0xe
mov dword [ebp - 0x30], edx
push eax
call fcn.004a2900
add esp, 0xc
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], edx
test dword [esi + 0xa8c], 0x200
je 0x4996e3
mov dword [esi + 0xfb0], eax
mov eax, dword [esi + 0x12c]
mov dword [esi + 0xfb4], eax
jmp 0x4996e3
push 0x11
push dword [esi + 0xf4]
push str.WWW_Authenticate:
call fcn.004a1950
add esp, 0xc
test eax, eax
je 0x49952c
mov edi, dword [esi + 0x100]
cmp edi, 0x191
je 0x499553
push 0x13
push dword [esi + 0xf4]
push str.Proxy_authenticate:
call fcn.004a1950
add esp, 0xc
test eax, eax
je 0x4995ac
mov edi, dword [esi + 0x100]
cmp edi, 0x197
jne 0x4995ac
push dword [esi + 0xf4]
call fcn.00498490
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x499d17
cmp edi, 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.00498870
mov edi, dword [fcn.004ebfb0]
add esp, 0xc
mov ecx, edi
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
call dword [0x51a4a0]
call edi
mov eax, dword [ebp - 0x18]
add esp, 4
test eax, eax
jne 0x499c03
jmp 0x4996e3
push 0xf
push dword [esi + 0xf4]
push str.Persistent_Auth
call fcn.004a1950
add esp, 0xc
test eax, eax
je 0x499635
cmp dword [esi + 0xcdc], 4
jne 0x4996e3
push dword [esi + 0xf4]
call fcn.00498490
mov edi, eax
add esp, 4
test edi, edi
je 0x499d17
push 5
push edi
push str.false
call fcn.004a1950
test eax, eax
mov byte [ebx + 0x435], 1
push edi
setne al
mov byte [ebx + 0x434], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
call fcn.004903d0
add esp, 0x1c
push edi
mov edi, dword [fcn.004ebfb0]
mov ecx, edi
call dword [0x51a4a0]
call edi
add esp, 4
jmp 0x4996e3
mov eax, dword [esi + 0x100]
sub eax, 0x12c
cmp eax, 0x63
ja 0x4996d0
push 9
push dword [esi + 0xf4]
push str.Location:
call fcn.004a1950
add esp, 0xc
test eax, eax
je 0x4996d0
cmp dword [esi + 0x13c], 0
jne 0x4996d0
push dword [esi + 0xf4]
call fcn.00498490
add esp, 4
test eax, eax
je 0x499d17
cmp byte [eax], 0
jne 0x499689
push eax
jmp 0x49961d
test dword [esi + 0xa8c], 0x20000
mov dword [esi + 0x13c], eax
je 0x4996e3
mov edi, dword [fcn.004fd4d0]
mov ecx, edi
push eax
call dword [0x51a4a0]
call edi
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x499d17
push ebx
call fcn.0049a090
add esp, 4
test eax, eax
jne 0x499c03
jmp 0x4996e3
mov eax, dword [ebx + 0x2c0]
test dword [eax + 0x40], 0x40000
jne 0x499d23
mov eax, dword [esi + 0xa8c]
mov edi, eax
and edi, 0x100000
or edi, 0x200000
shr edi, 0x14
test eax, 0x2000000
je 0x499718
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push 1
push esi
call fcn.00490260
add esp, 0x10
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push edi
push ebx
call fcn.00490230
add esp, 0x10
test eax, eax
jne 0x499c03
mov eax, dword [esi + 0xe4]
cdq
add dword [esi + 0xfb8], eax
adc dword [esi + 0xfbc], edx
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
jmp 0x499b08
cmp al, 0xd
jne 0x499767
inc edx
mov dword [esi + 0xf4], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x499774
lea eax, [edx + 1]
mov dword [esi + 0xf4], eax
mov ecx, dword [esi + 0x100]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x49983c
sub ecx, 0x64
je 0x499804
sub ecx, 1
je 0x4997a6
or dword [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jmp 0x49989a
cmp dword [esi + 0x11c], 1
jne 0x4997f8
push str.Received_101_n
push esi
call fcn.004903d0
mov edi, dword [ebp + 0x10]
or dword [esi + 0x588], 1
mov dword [esi + 0x11c], 2
mov dword [esi + 0xdc], 0
push dword [edi]
push dword [esi + 0xe8]
push ebx
call fcn.0049f580
add esp, 0x14
test eax, eax
jne 0x499c03
mov dword [edi], eax
jmp 0x49989a
and dword [esi + 0x588], 0xfffffffe
jmp 0x49989a
or dword [esi + 0x588], 1
cmp dword [esi + 0x118], 0
mov dword [esi + 0xdc], 0
jle 0x49989a
or dword [esi + 0x138], 2
push 0
push esi
mov dword [esi + 0x118], 0
call fcn.0047ab60
add esp, 8
jmp 0x49989a
mov ecx, dword [esi + 0x588]
mov eax, dword [edi]
and ecx, 0xfffffffe
and eax, dword [edi + 4]
mov dword [esi + 0x588], ecx
cmp eax, 0xffffffff
jne 0x49989a
test cl, 0x20
jne 0x49989a
test byte [ebx + 0x29c], 1
jne 0x49989a
cmp dword [ebx + 0x184], 0xb
jne 0x49989a
mov eax, dword [ebx + 0x2c0]
test dword [eax + 0x40], 0x40000
jne 0x49989a
cmp dword [esi + 0x828], 6
je 0x49989a
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.004903d0
push 2
push ebx
call fcn.00490fb0
add esp, 0x10
mov ecx, dword [ebx + 0x29c]
mov eax, ecx
test cl, 1
je 0x4998ea
mov edx, dword [esi + 0x100]
cmp edx, 0x191
jne 0x4998be
cmp dword [ebx + 0x364], 2
je 0x4998cf
cmp edx, 0x197
jne 0x4998ea
cmp dword [ebx + 0x368], 2
jne 0x4998ea
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.004903d0
add esp, 8
or dword [esi + 0xf9c], 0x20
mov eax, dword [ebx + 0x29c]
test al, 1
je 0x49992b
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x499906
cmp dword [ebx + 0x3ec], 1
je 0x499916
jmp 0x49992b
cmp eax, 0x197
jne 0x49992b
cmp dword [ebx + 0x3f0], 1
jne 0x49992b
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.004903d0
add esp, 8
or dword [esi + 0xf9c], 0x20
cmp dword [ebx + 0x3ec], 3
jne 0x49994a
cmp dword [esi + 0x100], 0x191
je 0x49994a
mov dword [ebx + 0x3ec], 4
cmp dword [ebx + 0x3f0], 3
jne 0x499969
cmp dword [esi + 0x100], 0x197
je 0x499969
mov dword [ebx + 0x3f0], 4
push ebx
call fcn.0049a2f0
add esp, 4
test eax, eax
jne 0x499e12
mov eax, dword [esi + 0xc54]
mov edi, dword [esi + 0xf4]
sub edi, eax
push edi
push eax
mov eax, dword [esi + 0xa8c]
and eax, 0x100000
or eax, 0x200000
shr eax, 0x14
push eax
push ebx
call fcn.00490230
add esp, 0x10
test eax, eax
jne 0x499c03
mov eax, edi
cdq
mov ecx, eax
add dword [esi + 0xfb8], ecx
adc dword [esi + 0xfbc], edx
add ecx, dword [esi + 0xa8]
mov dword [esi + 0xa8], ecx
adc edx, dword [esi + 0xac]
mov dword [esi + 0xac], edx
mov eax, dword [esi + 0x100]
sub eax, 0x64
cmp eax, 0x63
jbe 0x4999f4
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push ebx
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], edx
call fcn.00498570
add esp, 4
test eax, eax
jne 0x499c03
cmp dword [esi + 0x100], 0x12c
jl 0x499afa
test dword [ebx + 0x29c], 0x30001
jne 0x499ad9
mov eax, dword [esi + 0x828]
add eax, 0xfffffffe
cmp eax, 3
ja 0x499ad9
push 0
push esi
call fcn.0047ab60
add esp, 8
test byte [esi + 0x588], 4
jne 0x499ad9
test dword [esi + 0xa8c], 0x10000
je 0x499a91
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.004903d0
add esp, 8
cmp dword [esi + 0x118], 0
jle 0x499ad9
or dword [esi + 0x138], 2
mov dword [esi + 0x118], 0
jmp 0x499ad9
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.004903d0
push 2
push ebx
call fcn.00490fb0
lea eax, [esi + 0x88]
push eax
push ebx
call fcn.0049a880
add esp, 0x18
test eax, eax
jne 0x499c03
or dword [esi + 0x588], 4
test dword [esi + 0xf9c], 0x100
je 0x499ad9
mov dword [esi + 0x118], 3
test dword [ebx + 0x29c], 0x20000
je 0x499afa
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.004903d0
add esp, 8
or dword [esi + 0x138], 2
mov eax, dword [esi + 0x588]
test al, 1
je 0x499d2f
mov eax, dword [esi + 0xc54]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], 0
mov edi, dword [esi + 0xe8]
cmp byte [edi], 0
je 0x499c01
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xec], edi
push dword [eax]
push 0xa
push edi
call fcn.004e9400
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
jne 0x498c43
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [esi + 0x88]
push eax
push esi
call fcn.00499fb0
add esp, 0xc
test eax, eax
jne 0x499c03
cmp dword [esi + 0xdc], eax
jne 0x499c01
push dword [esi + 0xe4]
push dword [esi + 0xc54]
push esi
call fcn.00499e40
add esp, 0xc
cmp eax, 2
jne 0x499c01
and dword [esi + 0x588], 0xfffffffe
push eax
push ebx
mov dword [esi + 0xd8], eax
call fcn.00490fb0
add esp, 8
test dword [esi + 0xa90], 0x200000
jne 0x499c01
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.004902f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push ebx
call fcn.00490fb0
add esp, 8
test dword [esi + 0xa90], 0x200000
je 0x499bb7
mov eax, dword [ebp + 0x10]
and dword [esi + 0x588], 0xfffffffe
cmp dword [eax], 0
je 0x499c0a
mov dword [esi + 0xd8], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0xd8], 2
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
pop edi
mov dword [esi + 0xe8], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.004902f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0xf4]
push 4
push str.HTTP
push edi
call fcn.004f6420
add esp, 0xc
test eax, eax
jne 0x499e12
push 0x20
push edi
call fcn.004e80a0
mov edi, eax
add esp, 8
test edi, edi
je 0x499e12
inc edi
cmp byte [edi], 0
je 0x499e12
push 0xd
push edi
mov byte [ebp - 1], 0xd
call fcn.004e80a0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x499cb0
push 0xa
push edi
mov byte [ebp - 1], 0xa
call fcn.004e80a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x499e12
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.004902f0
mov al, byte [ebp - 1]
add esp, 0xc
mov byte [ebx], al
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and dword [esi + 0x588], 0xfffffffe
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.004902f0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.004902f0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
test dword [esi + 0xa8c], 0x800000
je 0x499d63
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
lea eax, [esi + 0x88]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x499d90
cmp eax, ecx
jne 0x499d90
mov eax, dword [esi + 0x90]
mov ecx, dword [esi + 0x94]
jmp 0x499db3
test al, 0x20
je 0x499d41
lea eax, [esi + 0x88]
mov dword [esi + 0x90], 0xffffffff
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
jmp 0x499d47
push eax
push ecx
push esi
call fcn.0049c910
mov eax, dword [esi + 0x88]
add esp, 0xc
mov ecx, dword [esi + 0x8c]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
test eax, eax
jne 0x499dd8
test ecx, ecx
jne 0x499dd8
mov eax, dword [ebx + 0x2c0]
test byte [eax + 0x40], 3
je 0x499dd0
cmp dword [ebx + 0x184], 0x14
je 0x499dd8
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x499de0
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x499de7
and dword [esi + 0x138], 0xfffffffe
test dword [esi + 0xa8c], 0x2000000
je 0x499c01
push edi
push dword [esi + 0xec]
push 1
push esi
call fcn.00490260
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x100]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004902f0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret