Function at 0x4ade40
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]
lea esi, [edi + 0x90]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x20], eax
mov dword [esi + 0x64], eax
push dword [ecx]
push 0xa
push eax
call fcn.005a6ad0
add esp, 0xc
mov dword [esi + 0x68], eax
test eax, eax
je 0x4aecd6
mov ecx, dword [esi + 0x60]
sub ecx, eax
mov eax, dword [ebp + 0x10]
dec ecx
add dword [eax], ecx
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.004af040
add esp, 0xc
test eax, eax
jne 0x4aeb13
cmp dword [esi + 0x54], 0
mov eax, dword [esi + 0x58]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0xc54]
mov dword [esi + 0x6c], eax
jne 0x4aded7
push dword [esi + 0x5c]
push dword [edi + 0xc54]
push ebx
push edi
call fcn.004aef00
add esp, 0x10
cmp eax, 2
je 0x4aeae0
mov edx, dword [esi + 0x6c]
mov al, byte [edx]
cmp al, 0xa
je 0x4ae807
cmp al, 0xd
je 0x4ae80b
mov ecx, dword [esi + 0x54]
lea eax, [ecx + 1]
mov dword [esi + 0x54], eax
test ecx, ecx
jne 0x4ae1b8
mov eax, dword [ebx + 0x2a8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x4ae01c
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.004209a0
add esp, 0x18
cmp eax, 1
jne 0x4adf6d
cmp dword [ebp - 0xc], 2
jne 0x4aeb35
lea eax, [esi + 0x78]
push eax
push str._HTTP_2__d
push dword [esi + 0x6c]
call fcn.004209a0
add esp, 0xc
cmp eax, 1
jne 0x4aeb35
lea ecx, [ebx + 0x180]
mov byte [ebp + 0xb], 0x20
mov dword [ecx], 0
jmp 0x4adf82
cmp eax, 4
jne 0x4adfbb
cmp byte [ebp + 0xb], 0x20
jne 0x4aeb35
lea ecx, [ebx + 0x180]
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [esi + 0x94], 2
jne 0x4ae075
cmp dword [ecx], 0x14
je 0x4ae075
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.004a7540
add esp, 8
lea ecx, [ebx + 0x180]
jmp 0x4ae075
test eax, eax
jne 0x4aeb35
lea eax, [esi + 0x78]
push eax
push str._HTTP__3d
push dword [esi + 0x6c]
call fcn.004209a0
add esp, 0xc
mov dword [ebx + 0x180], 0xa
lea ecx, [ebx + 0x180]
test eax, eax
jne 0x4ae075
push dword [esi + 0x5c]
push dword [esi + 0x6c]
push edi
call fcn.004aee40
add esp, 0xc
cmp eax, 1
jne 0x4aeb64
lea ecx, [ebx + 0x180]
mov dword [esi + 0x78], 0xc8
mov dword [ecx], 0xa
jmp 0x4ae075
test eax, 0x40000
je 0x4aeb64
lea eax, [esi + 0x78]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebx + 0x184]
push ecx
lea eax, [ebp - 0x10]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.004209a0
add esp, 0x18
cmp eax, 4
jne 0x4aeb64
cmp byte [ebp - 1], 0x20
jne 0x4aeb64
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + 0x180]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx + 0x184], eax
mov eax, dword [esi + 0x78]
mov dword [edi + 0xf98], eax
mov eax, dword [ecx]
mov dword [edi + 0xfa0], eax
mov eax, dword [edi + 0xefc]
test eax, eax
je 0x4ae094
cmp eax, dword [ecx]
jle 0x4ae09c
mov eax, dword [ecx]
mov dword [edi + 0xefc], eax
mov eax, dword [edi + 0xf08]
or eax, dword [edi + 0xf0c]
je 0x4ae0c5
cmp dword [edi + 0x828], 1
jne 0x4ae0c5
cmp dword [esi + 0x78], 0x1a0
jne 0x4ae0c5
or dword [esi + 0x500], 8
jmp 0x4ae106
test dword [edi + 0xa8c], 0x10000
je 0x4ae106
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x4ae106
cmp eax, 0x191
jne 0x4ae0eb
test byte [ebx + 0x284], 0x80
jne 0x4ae106
cmp eax, 0x197
jne 0x4aeb4f
test dword [ebx + 0x284], 0x100
je 0x4aeb4f
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x4ae125
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.004a7540
push 1
push ebx
call fcn.004a7fe0
add esp, 0x10
jmp 0x4ae178
cmp eax, 0x14
je 0x4ae16c
cmp dword [esi + 0x94], 1
jne 0x4ae139
cmp dword [esi + 0x78], 0x65
je 0x4ae16c
cmp eax, 0xb
jl 0x4ae178
test byte [ebx + 0x284], 1
jne 0x4ae178
cmp dword [ebx + 0x440], 0
je 0x4ae178
push ebx
push edi
call fcn.004b3890
add esp, 8
test al, al
jne 0x4ae178
mov eax, dword [ebx + 0x440]
mov dword [eax], 1
jmp 0x4ae178
mov eax, dword [ebx + 0x440]
mov dword [eax], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x4ae196
sub eax, 0x64
jne 0x4ae1b8
cmp dword [edi + 0x81c], eax
je 0x4ae196
or dword [edi + 0x104c], 1
or dword [esi + 0x500], 0x10
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test byte [esi + 0x500], 0x10
jne 0x4ae284
test byte [edi + 0xa90], 0x10
jne 0x4ae284
push 0xf
push dword [esi + 0x6c]
push str.Content_Length:
call fcn.004aa200
add esp, 0xc
test eax, eax
je 0x4ae284
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esi + 0x6c]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004b64a0
add esp, 0x10
test eax, eax
jne 0x4ae24e
mov eax, dword [edi + 0x8f8]
mov edx, dword [edi + 0x8fc]
or eax, edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
je 0x4ae233
cmp ecx, edx
jg 0x4aeb74
jl 0x4ae233
cmp eax, dword [edi + 0x8f8]
ja 0x4aeb74
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.004b22c0
add esp, 0xc
jmp 0x4ae795
cmp eax, 1
jne 0x4aeb8e
mov eax, dword [edi + 0x8f8]
or eax, dword [edi + 0x8fc]
jne 0x4aeb74
push 2
push ebx
call fcn.004a7fe0
push str.Overflow_Content_Length:_value__n
push edi
call fcn.004a7540
add esp, 0x10
jmp 0x4ae795
push 0xd
push dword [esi + 0x6c]
push str.Content_Type:
call fcn.004aa200
add esp, 0xc
test eax, eax
je 0x4ae2e1
push dword [esi + 0x6c]
call fcn.004ad7d0
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x4aeba8
cmp byte [eax], 0
jne 0x4ae2c4
push eax
call dword [0x65652c]
add esp, 4
jmp 0x4ae795
push dword [edi + 0xfcc]
call dword [0x65652c]
mov eax, dword [ebp - 8]
add esp, 4
mov dword [edi + 0xfcc], eax
jmp 0x4ae795
push 7
push dword [esi + 0x6c]
push str.Server:
call fcn.004aa200
add esp, 0xc
test eax, eax
je 0x4ae34d
cmp dword [ebx + 0x180], 0x14
jge 0x4ae795
push dword [esi + 0x6c]
call fcn.004ad7d0
mov ecx, dword [ebx + 0x440]
add esp, 4
mov dword [ebp - 8], eax
test ecx, ecx
je 0x4ae33e
cmp dword [ecx], 1
jne 0x4ae33e
push eax
push edi
call fcn.004b3680
add esp, 8
test al, al
je 0x4ae33b
mov eax, dword [ebx + 0x440]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 8]
push eax
call dword [0x65652c]
add esp, 4
jmp 0x4ae795
cmp dword [ebx + 0x180], 0xa
jne 0x4ae393
test byte [ebx + 0x284], 0x20
je 0x4ae393
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x6c]
call fcn.004ad700
add esp, 0xc
test al, al
je 0x4ae393
push 0
push ebx
call fcn.004a7fe0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.004a7540
add esp, 0x10
jmp 0x4ae795
cmp dword [ebx + 0x180], 0xb
jne 0x4ae3d9
test byte [ebx + 0x284], 0x20
je 0x4ae3d9
push str.close
push str.Proxy_Connection:
push dword [esi + 0x6c]
call fcn.004ad700
add esp, 0xc
test al, al
je 0x4ae3d9
push 1
push ebx
call fcn.004a7fe0
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.004a7540
add esp, 0x10
jmp 0x4ae795
cmp dword [ebx + 0x180], 0xa
jne 0x4ae416
push str.keep_alive
push str.Connection:
push dword [esi + 0x6c]
call fcn.004ad700
add esp, 0xc
test al, al
je 0x4ae416
push 0
push ebx
call fcn.004a7fe0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.004a7540
add esp, 0x10
jmp 0x4ae795
push str.close
push str.Connection:
push dword [esi + 0x6c]
call fcn.004ad700
add esp, 0xc
test al, al
je 0x4ae43f
push 2
push ebx
call fcn.004a7fe0
add esp, 8
jmp 0x4ae795
push 0x12
push dword [esi + 0x6c]
push str.Transfer_Encoding:
call fcn.004aa200
add esp, 0xc
test eax, eax
je 0x4ae46c
mov eax, dword [esi + 0x6c]
push 1
add eax, 0x12
push eax
push ebx
call fcn.004aa3e0
add esp, 0xc
jmp 0x4ae78d
push 0x11
push dword [esi + 0x6c]
push str.Content_Encoding:
call fcn.004aa200
add esp, 0xc
test eax, eax
je 0x4ae4a2
cmp dword [edi + 0x950], 0
je 0x4ae4a2
mov eax, dword [esi + 0x6c]
push 0
add eax, 0x11
push eax
push ebx
call fcn.004aa3e0
add esp, 0xc
jmp 0x4ae78d
push 0xe
push dword [esi + 0x6c]
push str.Content_Range:
call fcn.004aa200
add esp, 0xc
test eax, eax
je 0x4ae564
mov eax, dword [esi + 0x6c]
add eax, 0xe
mov dword [ebp - 8], eax
mov cl, byte [eax]
test cl, cl
je 0x4ae4f6
mov ebx, eax
nop dword [eax]
movzx eax, cl
push eax
call fcn.004cf550
add esp, 4
test eax, eax
jne 0x4ae4ed
cmp byte [ebx], 0x2a
je 0x4ae4ed
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x4ae4d0
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
call fcn.004cf550
add esp, 4
test eax, eax
je 0x4ae54b
lea eax, [esi + 0x70]
push eax
push 0xa
push 0
push dword [ebp - 8]
call fcn.004b64a0
add esp, 0x10
test eax, eax
jne 0x4ae795
mov eax, dword [edi + 0xf08]
cmp eax, dword [esi + 0x70]
jne 0x4ae795
mov eax, dword [edi + 0xf0c]
cmp eax, dword [esi + 0x74]
jne 0x4ae795
or dword [esi + 0x500], 2
jmp 0x4ae795
mov dword [edi + 0xf08], 0
mov dword [edi + 0xf0c], 0
jmp 0x4ae795
cmp dword [edi + 0xaac], 0
je 0x4ae5df
push 0xb
push dword [esi + 0x6c]
push str.Set_Cookie:
call fcn.004aa200
add esp, 0xc
test eax, eax
je 0x4ae5df
push 2
push 2
push edi
call fcn.004aa630
mov ecx, dword [ebx + 0x2f0]
add esp, 0xc
test ecx, ecx
jne 0x4ae5a0
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 + 0xf58]
mov eax, dword [esi + 0x6c]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [edi + 0xaac]
push edi
call fcn.0049afb0
push 2
push edi
call fcn.004aa670
add esp, 0x28
jmp 0x4ae795
push 0xe
push dword [esi + 0x6c]
push str.Last_Modified:
call fcn.004aa200
add esp, 0xc
test eax, eax
je 0x4ae65d
cmp dword [edi + 0x81c], 0
jne 0x4ae60a
test dword [edi + 0xa8c], 0x200
je 0x4ae65d
push 0
call fcn.005b6ae8
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.004b5dc0
add esp, 0xc
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], edx
test dword [edi + 0xa8c], 0x200
je 0x4ae795
mov dword [edi + 0xfa8], eax
mov eax, dword [esi + 0xa4]
mov dword [edi + 0xfac], eax
jmp 0x4ae795
push 0x11
push dword [esi + 0x6c]
push str.WWW_Authenticate:
call fcn.004aa200
add esp, 0xc
test eax, eax
je 0x4ae680
mov eax, dword [esi + 0x78]
mov dword [ebp - 8], eax
cmp eax, 0x191
je 0x4ae6a3
push 0x13
push dword [esi + 0x6c]
push str.Proxy_authenticate:
call fcn.004aa200
add esp, 0xc
test eax, eax
je 0x4ae6e5
mov eax, dword [esi + 0x78]
mov dword [ebp - 8], eax
cmp eax, 0x197
jne 0x4ae6e5
push dword [esi + 0x6c]
call fcn.004ad7d0
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4aeba8
cmp dword [ebp - 8], 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.004adb60
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
call dword [0x65652c]
mov eax, dword [ebp - 8]
add esp, 0x10
jmp 0x4ae78d
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x4ae772
cmp eax, 0x190
jge 0x4ae772
push 9
push dword [esi + 0x6c]
push str.Location:
call fcn.004aa200
add esp, 0xc
test eax, eax
je 0x4ae772
cmp dword [edi + 0x144], 0
jne 0x4ae772
push dword [esi + 0x6c]
call fcn.004ad7d0
add esp, 4
test eax, eax
je 0x4aeba8
cmp byte [eax], 0
jne 0x4ae73d
push eax
call dword [0x65652c]
add esp, 4
jmp 0x4ae795
test dword [edi + 0xa8c], 0x40000
mov dword [edi + 0x144], eax
je 0x4ae795
push eax
call dword [0x656534]
add esp, 4
mov dword [edi + 0x148], eax
test eax, eax
je 0x4aeba8
push ebx
call fcn.004af250
add esp, 4
jmp 0x4ae78d
mov eax, dword [ebx + 0x2a8]
test dword [eax + 0x40], 0x40000
je 0x4ae795
push dword [esi + 0x6c]
push ebx
call fcn.004c8590
add esp, 8
test eax, eax
jne 0x4aeb13
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 0x4ae7ca
push dword [esi + 0x5c]
push dword [esi + 0x6c]
push 1
push edi
call fcn.004a73e0
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push dword [esi + 0x5c]
push dword [esi + 0x6c]
push ecx
push ebx
call fcn.004a73b0
add esp, 0x10
test eax, eax
jne 0x4aeb13
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0xfb0], eax
adc dword [edi + 0xfb4], edx
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0xb0], eax
adc dword [edi + 0xb4], edx
jmp 0x4aeac0
cmp al, 0xd
jne 0x4ae811
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp byte [eax], 0xa
jne 0x4ae81d
inc eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x4ae897
cmp eax, 0xc7
jg 0x4ae897
sub eax, 0x64
je 0x4ae862
sub eax, 1
je 0x4ae849
or dword [esi + 0x500], 1
mov dword [esi + 0x54], 0
jmp 0x4ae8f1
cmp dword [esi + 0x94], 1
je 0x4aebb4
and dword [esi + 0x500], 0xfffffffe
jmp 0x4ae8f1
or dword [esi + 0x500], 1
cmp dword [esi + 0x90], 0
mov dword [esi + 0x54], 0
jle 0x4ae8f1
or dword [esi + 0xb0], 2
push 0
push edi
mov dword [esi + 0x90], 0
call fcn.004985b0
add esp, 8
jmp 0x4ae8f1
mov eax, dword [esi]
and eax, dword [esi + 4]
and dword [esi + 0x500], 0xfffffffe
cmp eax, 0xffffffff
jne 0x4ae8f1
test byte [esi + 0x500], 0x20
jne 0x4ae8f1
test byte [ebx + 0x284], 1
jne 0x4ae8fa
cmp dword [ebx + 0x180], 0xb
jne 0x4ae8f1
mov eax, dword [ebx + 0x2a8]
test dword [eax + 0x40], 0x40000
jne 0x4ae8f1
cmp dword [edi + 0x828], 6
je 0x4ae8f1
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.004a7540
push 2
push ebx
call fcn.004a7fe0
add esp, 0x10
test byte [ebx + 0x284], 1
je 0x4ae935
mov eax, dword [edi + 0x108]
cmp eax, 0x191
jne 0x4ae910
cmp dword [ebx + 0x330], 2
je 0x4ae920
cmp eax, 0x197
jne 0x4ae935
cmp dword [ebx + 0x348], 2
jne 0x4ae935
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.004a7540
add esp, 8
or dword [edi + 0xf6c], 0x20
push ebx
call fcn.004af410
add esp, 4
test eax, eax
jne 0x4aecb9
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.004a73b0
add esp, 0x10
test eax, eax
jne 0x4aeb13
mov eax, dword [ebp - 8]
cdq
add dword [edi + 0xfb0], eax
adc dword [edi + 0xfb4], edx
add dword [edi + 0xb0], eax
adc dword [edi + 0xb4], edx
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x4ae9b4
cmp eax, 0xc7
jg 0x4ae9b4
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0xb4]
jmp 0x4ae9c2
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.004ad8a0
add esp, 4
test eax, eax
jne 0x4aeb13
cmp dword [esi + 0x78], 0x12c
jl 0x4aeab3
test dword [ebx + 0x284], 0x18001
jne 0x4aea92
mov eax, dword [edi + 0x828]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4aea92
push 0
push edi
call fcn.004985b0
add esp, 8
test byte [esi + 0x500], 4
jne 0x4aea92
test dword [edi + 0xa8c], 0x20000
je 0x4aea58
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.004a7540
add esp, 8
cmp dword [esi + 0x90], 0
jle 0x4aea92
or dword [esi + 0xb0], 2
mov dword [esi + 0x90], 0
jmp 0x4aea92
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.004a7540
push 2
push ebx
call fcn.004a7fe0
or dword [esi + 0x500], 4
add esp, 0x10
and dword [esi + 0xb0], 0xfffffffd
test dword [edi + 0xf6c], 0x100
je 0x4aea92
mov dword [esi + 0x90], 3
test dword [ebx + 0x284], 0x10000
je 0x4aeab3
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.004a7540
add esp, 8
or dword [esi + 0xb0], 2
test byte [esi + 0x500], 1
je 0x4aebe6
mov eax, dword [edi + 0xc54]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x5c], 0
cmp byte [eax], 0
je 0x4aeb11
mov ecx, dword [ebp + 0x10]
jmp 0x4ade63
push 2
push ebx
call fcn.004a7fe0
add esp, 8
test dword [edi + 0xa90], 0x4000000
je 0x4aed36
mov eax, dword [ebp + 0x10]
and dword [esi + 0x500], 0xfffffffe
cmp dword [eax], 0
je 0x4aeb1a
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]
pop edi
mov dword [esi + 0x60], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response_n
push edi
call fcn.004a7460
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.004af6a0
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and dword [esi + 0x500], 0xfffffffe
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.004a7460
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 edi
call fcn.004a7460
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
push str.Received_101_n
push edi
call fcn.004a7540
add esp, 8
mov dword [esi + 0x94], 2
or dword [esi + 0x500], 1
mov eax, 1
mov dword [esi + 0x54], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [edi + 0xa8c], 0x1000000
je 0x4aebfa
mov ebx, dword [ebp + 0x14]
mov byte [ebx], 1
jmp 0x4aec4e
mov eax, dword [ebx + 0x2a8]
test dword [eax + 0x40], 0x40000
je 0x4aec27
cmp dword [edi + 0xa34], 2
jne 0x4aec27
cmp dword [esi + 4], 0xffffffff
jg 0x4aec27
jl 0x4aec1f
cmp dword [esi], 0xffffffff
ja 0x4aec27
mov ebx, dword [ebp + 0x14]
mov byte [ebx], 1
jmp 0x4aec4e
test byte [esi + 0x500], 0x20
mov ebx, dword [ebp + 0x14]
je 0x4aec4e
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x4aec5c
cmp eax, ecx
je 0x4aec72
push eax
push ecx
push edi
call fcn.004b22c0
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 0x4aec83
cmp dword [esi + 0xc], 0
jne 0x4aec83
mov byte [ebx], 1
jmp 0x4aec88
cmp byte [ebx], 0
je 0x4aec8f
and dword [esi + 0xb0], 0xfffffffe
test dword [edi + 0xa8c], 0x4000000
je 0x4aeb11
push dword [ebp - 8]
push dword [esi + 0x64]
push 1
push edi
call fcn.004a73e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x78]
push str.The_requested_URL_returned_error:__d
push edi
call fcn.004a7460
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push dword [eax]
push esi
push edi
call fcn.004af040
add esp, 0xc
test eax, eax
jne 0x4aeb13
cmp dword [esi + 0x54], eax
jne 0x4aeb11
push dword [esi + 0x5c]
push dword [edi + 0xc54]
push ebx
push edi
call fcn.004aef00
add esp, 0x10
cmp eax, 2
jne 0x4aeb11
and dword [esi + 0x500], 0xfffffffe
push eax
push ebx
mov dword [esi + 0x50], eax
call fcn.004a7fe0
add esp, 8
test dword [edi + 0xa90], 0x4000000
jne 0x4aeb11
push str.Received_HTTP_0.9_when_not_allowed_n
push edi
call fcn.004a7460
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret