Function at 0x46bb70
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea esi, [ebx + 0x70]
nop
mov edi, dword [ebp + 0x10]
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x70], eax
push dword [edi]
push 0xa
push eax
call fcn.005356e0
add esp, 0xc
mov dword [esi + 0x74], eax
test eax, eax
je 0x46cae4
sub eax, dword [esi + 0x6c]
inc eax
sub dword [edi], eax
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x74]
inc eax
mov dword [esi + 0x6c], eax
sub eax, dword [esi + 0x70]
push eax
push esi
push ebx
call fcn.0046ccb0
add esp, 0xc
test eax, eax
jne 0x46cb22
cmp dword [esi + 0x60], 0
mov eax, dword [esi + 0x64]
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x74], eax
mov eax, dword [ebx + 0x84c]
mov dword [esi + 0x78], eax
jne 0x46bbfd
cmp dword [esi + 0x68], 5
jbe 0x46bbfd
push dword [ebx + 0x84c]
push edi
push ebx
call fcn.0046cbb0
add esp, 0xc
test al, al
je 0x46c93e
mov edx, dword [esi + 0x78]
mov al, byte [edx]
cmp al, 0xa
je 0x46c687
cmp al, 0xd
je 0x46c68b
mov ecx, dword [esi + 0x60]
lea eax, [ecx + 1]
mov dword [esi + 0x60], eax
test ecx, ecx
jne 0x46bedb
mov eax, dword [edi + 0x2b8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x46bd46
lea ecx, [esi + 0x88]
push ecx
lea ecx, [ebp + 0xb]
push ecx
lea eax, [edi + 0x180]
push eax
lea eax, [ebp - 4]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.00442430
add esp, 0x18
cmp eax, 1
jne 0x46bc99
cmp dword [ebp - 4], 2
jne 0x46c96f
lea eax, [esi + 0x88]
push eax
push str._HTTP_2__d
push dword [esi + 0x78]
call fcn.00442430
add esp, 0xc
cmp eax, 1
jne 0x46c96f
lea ecx, [edi + 0x180]
mov byte [ebp + 0xb], 0x20
mov dword [ecx], 0
jmp 0x46bcae
cmp eax, 4
jne 0x46bce7
cmp byte [ebp + 0xb], 0x20
jne 0x46c96f
lea ecx, [edi + 0x180]
mov eax, dword [ebp - 4]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [esi + 0xa4], 2
jne 0x46bd94
cmp dword [ecx], 0x14
je 0x46bd94
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.00465300
add esp, 8
lea ecx, [edi + 0x180]
jmp 0x46bd94
test eax, eax
jne 0x46c96f
lea eax, [esi + 0x88]
push eax
push str._HTTP__3d
push dword [esi + 0x78]
call fcn.00442430
add esp, 0xc
mov dword [edi + 0x180], 0xa
lea ecx, [edi + 0x180]
test eax, eax
jne 0x46bd94
push dword [esi + 0x78]
push ebx
call fcn.0046cb30
add esp, 8
test al, al
je 0x46cb1c
lea ecx, [edi + 0x180]
mov dword [esi + 0x88], 0xc8
mov dword [ecx], 0xa
jmp 0x46bd94
test eax, 0x40000
je 0x46cb1c
lea eax, [esi + 0x88]
push eax
lea ecx, [edi + 0x184]
push ecx
lea eax, [ebp - 0xc]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.00442430
add esp, 0x14
cmp eax, 3
jne 0x46cb1c
mov eax, dword [ebp - 0xc]
lea ecx, [edi + 0x180]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi + 0x184], eax
mov eax, dword [esi + 0x88]
mov dword [ebx + 0x4b88], eax
mov eax, dword [ecx]
mov dword [ebx + 0x4b90], eax
mov eax, dword [ebx + 0x4b08]
test eax, eax
je 0x46bdb6
cmp eax, dword [ecx]
jle 0x46bdbe
mov eax, dword [ecx]
mov dword [ebx + 0x4b08], eax
cmp byte [ebx + 0x4e9], 0
je 0x46be22
mov edx, dword [esi + 0x88]
cmp edx, 0x190
jl 0x46be22
cmp edx, 0x191
jne 0x46bde6
cmp byte [edi + 0x27c], 0
jne 0x46be22
cmp edx, 0x197
jne 0x46bdf7
cmp byte [edi + 0x27d], 0
jne 0x46be22
mov eax, dword [ebx + 0x4b20]
or eax, dword [ebx + 0x4b24]
je 0x46c989
cmp dword [ebx + 0x3f8], 1
jne 0x46c989
cmp edx, 0x1a0
jne 0x46c989
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x46be41
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.00465300
push 1
push edi
call fcn.00465ba0
add esp, 0x10
jmp 0x46be97
cmp eax, 0x14
je 0x46be8b
cmp dword [esi + 0xa4], 1
jne 0x46be58
cmp dword [esi + 0x88], 0x65
je 0x46be8b
cmp eax, 0xb
jl 0x46be97
cmp byte [edi + 0x275], 0
jne 0x46be97
cmp dword [edi + 0x538], 0
je 0x46be97
push edi
push ebx
call fcn.00470d40
add esp, 8
test al, al
jne 0x46be97
mov eax, dword [edi + 0x538]
mov dword [eax], 1
jmp 0x46be97
mov eax, dword [edi + 0x538]
mov dword [eax], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x46bea9
sub eax, 0x64
jne 0x46bedb
cmp dword [ebx + 0x3e8], 0
je 0x46beb9
mov byte [ebx + 0x4b98], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0xca], 1
cmp byte [esi + 0xca], 0
jne 0x46bfaf
cmp byte [ebx + 0x50f], 0
jne 0x46bfaf
push 0xf
push dword [esi + 0x78]
push str.Content_Length:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46bfaf
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi + 0x78]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.00472610
add esp, 0x10
test eax, eax
jne 0x46bf9c
mov eax, dword [ebx + 0x4c8]
mov edx, dword [ebx + 0x4cc]
or eax, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
je 0x46bf56
cmp ecx, edx
jg 0x46c99e
jl 0x46bf56
cmp eax, dword [ebx + 0x4c8]
ja 0x46c99e
test ecx, ecx
jl 0x46bf7b
jg 0x46bf60
test eax, eax
jb 0x46bf7b
push ecx
push eax
push ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call fcn.0046f8e0
add esp, 0xc
jmp 0x46c626
push 2
push edi
call fcn.00465ba0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
call fcn.00465300
add esp, 0x18
jmp 0x46c626
push str.Illegal_Content_Length:_header_n
push ebx
call fcn.00465300
add esp, 8
jmp 0x46c626
push 0xd
push dword [esi + 0x78]
push str.Content_Type:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c008
push dword [esi + 0x78]
call fcn.0046b620
mov edi, eax
add esp, 4
test edi, edi
je 0x46c9b8
cmp byte [edi], 0
jne 0x46bfee
push edi
call dword [0x5bc004]
add esp, 4
jmp 0x46c626
push dword [ebx + 0x4bb0]
call dword [0x5bc004]
add esp, 4
mov dword [ebx + 0x4bb0], edi
jmp 0x46c626
push 7
push dword [esi + 0x78]
push str.Server:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c074
cmp dword [edi + 0x180], 0x14
jge 0x46c626
push dword [esi + 0x78]
call fcn.0046b620
mov ecx, dword [edi + 0x538]
add esp, 4
mov dword [ebp - 8], eax
test ecx, ecx
je 0x46c065
cmp dword [ecx], 1
jne 0x46c065
push eax
push ebx
call fcn.00470b40
add esp, 8
test al, al
je 0x46c062
mov eax, dword [edi + 0x538]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 8]
push eax
call dword [0x5bc004]
add esp, 4
jmp 0x46c626
cmp dword [edi + 0x180], 0xa
jne 0x46c0ba
cmp byte [edi + 0x27a], 0
je 0x46c0ba
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.0046b550
add esp, 0xc
test al, al
je 0x46c0ba
push 0
push edi
call fcn.00465ba0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
call fcn.00465300
add esp, 0x10
jmp 0x46c626
cmp dword [edi + 0x180], 0xb
jne 0x46c100
cmp byte [edi + 0x27a], 0
je 0x46c100
push str.close
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.0046b550
add esp, 0xc
test al, al
je 0x46c100
push 1
push edi
call fcn.00465ba0
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
call fcn.00465300
add esp, 0x10
jmp 0x46c626
cmp dword [edi + 0x180], 0xa
jne 0x46c13d
push str.keep_alive
push str.Connection:
push dword [esi + 0x78]
call fcn.0046b550
add esp, 0xc
test al, al
je 0x46c13d
push 0
push edi
call fcn.00465ba0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
call fcn.00465300
add esp, 0x10
jmp 0x46c626
push str.close
push str.Connection:
push dword [esi + 0x78]
call fcn.0046b550
add esp, 0xc
test al, al
je 0x46c166
push 2
push edi
call fcn.00465ba0
add esp, 8
jmp 0x46c626
push 0x12
push dword [esi + 0x78]
push str.Transfer_Encoding:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c28f
mov edi, dword [esi + 0x78]
add edi, 0x12
mov al, byte [edi]
test al, al
je 0x46c1ad
nop dword [eax]
movzx eax, al
push eax
call fcn.0053c422
add esp, 4
test eax, eax
jne 0x46c1a5
cmp byte [edi], 0x2c
jne 0x46c1ad
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x46c190
push 7
push edi
push str.chunked
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c1d6
push dword [ebp + 0xc]
mov byte [esi + 0xdc], 1
call fcn.0048abd0
add esp, 4
add edi, 7
cmp dword [esi + 0xa8], 0
jne 0x46c626
push 8
push edi
push str.identity
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c20d
mov eax, 8
mov dword [esi + 0xa8], 0
add edi, eax
jmp 0x46c186
push 7
push edi
push str.deflate
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c237
mov eax, 7
mov dword [esi + 0xa8], 1
add edi, eax
jmp 0x46c186
push 4
push edi
push str.gzip
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c261
mov eax, 4
mov dword [esi + 0xa8], 2
add edi, eax
jmp 0x46c186
push 6
push edi
push str.x_gzip
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c626
mov eax, 6
mov dword [esi + 0xa8], 2
add edi, eax
jmp 0x46c186
push 0x11
push dword [esi + 0x78]
push str.Content_Encoding:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c35b
cmp dword [ebx + 0x54c], 0
je 0x46c35b
mov edi, dword [esi + 0x78]
add edi, 0x11
mov al, byte [edi]
test al, al
je 0x46c2da
movzx eax, al
push eax
call fcn.0053c422
add esp, 4
test eax, eax
je 0x46c2da
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x46c2c2
push 8
push edi
push str.identity
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c2fd
mov dword [esi + 0xa8], 0
jmp 0x46c626
push 7
push edi
push str.deflate
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c320
mov dword [esi + 0xa8], 1
jmp 0x46c626
push 4
push edi
push str.gzip
call fcn.00471d70
add esp, 0xc
test eax, eax
jne 0x46c34c
push 6
push edi
push str.x_gzip
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c626
mov dword [esi + 0xa8], 2
jmp 0x46c626
push 0xe
push dword [esi + 0x78]
push str.Content_Range:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c410
mov edi, dword [esi + 0x78]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x46c39e
movzx eax, al
push eax
call fcn.0053c36a
add esp, 4
test eax, eax
jne 0x46c39e
cmp byte [edi], 0x2a
je 0x46c39e
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x46c381
movzx eax, byte [edi]
push eax
call fcn.0053c36a
add esp, 4
test eax, eax
je 0x46c3f7
lea eax, [esi + 0x80]
push eax
push 0xa
push 0
push edi
call fcn.00472610
add esp, 0x10
test eax, eax
jne 0x46c626
mov eax, dword [ebx + 0x4b20]
cmp eax, dword [esi + 0x80]
jne 0x46c626
mov eax, dword [ebx + 0x4b24]
cmp eax, dword [esi + 0x84]
jne 0x46c626
mov byte [esi + 0x7c], 1
jmp 0x46c626
mov dword [ebx + 0x4b20], 0
mov dword [ebx + 0x4b24], 0
jmp 0x46c626
cmp dword [ebx + 0x690], 0
je 0x46c478
push 0xb
push dword [esi + 0x78]
push str.Set_Cookie:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c478
push 2
push 2
push ebx
call fcn.00472590
mov eax, dword [edi + 0x2e8]
add esp, 0xc
test eax, eax
jne 0x46c44c
mov eax, dword [edi + 0xa0]
push dword [ebx + 0x4b14]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x690]
push ebx
call fcn.00458660
push 2
push ebx
call fcn.004725d0
add esp, 0x20
jmp 0x46c626
push 0xe
push dword [esi + 0x78]
push str.Last_Modified:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c4e4
cmp dword [ebx + 0x3e8], 0
jne 0x46c4a0
cmp byte [ebx + 0x4e2], 0
je 0x46c4e4
push 0
call fcn.00540776
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xe
mov dword [ebp - 0x1c], edx
push eax
call fcn.00471ec0
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp byte [ebx + 0x4e2], 0
je 0x46c626
mov dword [ebx + 0x4b94], eax
jmp 0x46c626
push 0x11
push dword [esi + 0x78]
push str.WWW_Authenticate:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c50a
mov eax, dword [esi + 0x88]
mov dword [ebp - 8], eax
cmp eax, 0x191
je 0x46c530
push 0x13
push dword [esi + 0x78]
push str.Proxy_authenticate:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c57a
mov eax, dword [esi + 0x88]
mov dword [ebp - 8], eax
cmp eax, 0x197
jne 0x46c57a
push dword [esi + 0x78]
call fcn.0046b620
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x46c9b8
cmp dword [ebp - 8], 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push edi
call fcn.0046b8c0
push dword [ebp - 0x10]
mov edi, eax
call dword [0x5bc004]
add esp, 0x10
test edi, edi
je 0x46c626
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x46c603
cmp eax, 0x190
jge 0x46c603
push 9
push dword [esi + 0x78]
push str.Location:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x46c603
cmp dword [ebx + 0x13c], 0
jne 0x46c603
push dword [esi + 0x78]
call fcn.0046b620
add esp, 4
test eax, eax
je 0x46c9b8
cmp byte [eax], 0
jne 0x46c5d1
push eax
call dword [0x5bc004]
add esp, 4
jmp 0x46c626
cmp byte [ebx + 0x4eb], 0
mov dword [ebx + 0x13c], eax
je 0x46c626
push eax
call dword [0x5bc00c]
add esp, 4
mov dword [ebx + 0x140], eax
test eax, eax
je 0x46c9b8
push edi
call fcn.0046ce80
add esp, 4
jmp 0x46c61e
mov eax, dword [edi + 0x2b8]
test dword [eax + 0x40], 0x40000
je 0x46c626
push dword [esi + 0x78]
push edi
call fcn.00485890
add esp, 8
test eax, eax
jne 0x46cb22
mov edi, dword [ebp + 0xc]
xor eax, eax
cmp byte [ebx + 0x4ee], al
setne al
add eax, 2
cmp byte [ebx + 0x4f8], 0
mov dword [ebp - 0x10], eax
je 0x46c658
push edi
push dword [esi + 0x68]
push dword [esi + 0x78]
push 1
push ebx
call fcn.00465150
mov eax, dword [ebp - 0x10]
add esp, 0x14
push dword [esi + 0x68]
push dword [esi + 0x78]
push eax
push edi
call fcn.00465120
add esp, 0x10
test eax, eax
jne 0x46cb22
mov eax, dword [esi + 0x68]
add dword [ebx + 0x4b9c], eax
mov eax, dword [esi + 0x68]
add dword [ebx + 0xa0], eax
jmp 0x46c919
cmp al, 0xd
jne 0x46c691
lea eax, [edx + 1]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x46c69d
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x46c711
cmp eax, 0xc7
jg 0x46c711
sub eax, 0x64
je 0x46c6df
sub eax, 1
je 0x46c6c9
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jmp 0x46c768
cmp dword [esi + 0xa4], 1
je 0x46c9c4
mov byte [esi + 0x58], 0
jmp 0x46c768
cmp dword [esi + 0xa0], 0
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jle 0x46c768
or dword [esi + 0xc4], 2
push 0
push ebx
mov dword [esi + 0xa0], 0
call fcn.00455d20
add esp, 8
jmp 0x46c768
mov eax, dword [esi]
and eax, dword [esi + 4]
mov byte [esi + 0x58], 0
cmp eax, 0xffffffff
jne 0x46c768
cmp byte [esi + 0xdc], 0
jne 0x46c768
cmp byte [edi + 0x275], 0
jne 0x46c771
cmp dword [edi + 0x180], 0xb
jne 0x46c768
mov eax, dword [edi + 0x2b8]
test dword [eax + 0x40], 0x40000
jne 0x46c768
cmp dword [ebx + 0x3f8], 6
je 0x46c768
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.00465300
push 2
push edi
call fcn.00465ba0
add esp, 0x10
cmp byte [edi + 0x275], 0
je 0x46c7ac
mov eax, dword [ebx + 0xf8]
cmp eax, 0x191
jne 0x46c787
cmp dword [edi + 0x32c], 2
je 0x46c797
cmp eax, 0x197
jne 0x46c7ac
cmp dword [edi + 0x344], 2
jne 0x46c7ac
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.00465300
add esp, 8
mov byte [ebx + 0x491c], 1
push edi
call fcn.0046d020
add esp, 4
test eax, eax
jne 0x46cac4
mov eax, dword [ebx + 0x84c]
mov ecx, dword [esi + 0x78]
sub ecx, eax
push ecx
push eax
xor eax, eax
mov dword [ebp - 8], ecx
cmp byte [ebx + 0x4ee], al
setne al
add eax, 2
push eax
push edi
call fcn.00465120
add esp, 0x10
test eax, eax
jne 0x46cb22
mov eax, dword [ebp - 8]
add dword [ebx + 0xa0], eax
add dword [ebx + 0x4b9c], eax
mov eax, dword [esi + 0x88]
mov ecx, dword [ebx + 0xa0]
cmp eax, 0x64
jl 0x46c814
cmp eax, 0xc7
jle 0x46c816
xor ecx, ecx
push edi
mov dword [ebx + 0xa4], ecx
call fcn.0046b6f0
add esp, 4
test eax, eax
jne 0x46cb22
cmp dword [esi + 0x88], 0x12c
jl 0x46c90f
cmp byte [edi + 0x286], al
jne 0x46c8f1
cmp byte [edi + 0x275], al
jne 0x46c8f1
cmp byte [edi + 0x287], al
jne 0x46c8fa
mov eax, dword [ebx + 0x3f8]
add eax, 0xfffffffe
cmp eax, 3
ja 0x46c8f1
push 0
push ebx
call fcn.00455d20
add esp, 8
cmp byte [esi + 0xc8], 0
jne 0x46c8f1
cmp byte [ebx + 0x4ea], 0
je 0x46c8ba
push str.HTTP_error_before_end_of_send__keep_sending_n
push ebx
call fcn.00465300
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x46c8f1
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x46c8f1
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.00465300
push 2
push edi
call fcn.00465ba0
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov byte [esi + 0xc8], 1
cmp byte [ebx + 0x4b0c], 0
je 0x46c8f1
mov dword [esi + 0xa0], 3
cmp byte [edi + 0x287], 0
je 0x46c90f
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.00465300
add esp, 8
or dword [esi + 0xc4], 2
cmp byte [esi + 0x58], 0
je 0x46c9f3
mov eax, dword [ebx + 0x84c]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x68], 0
cmp byte [eax], 0
jne 0x46bb80
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov byte [esi + 0x58], 0
cmp dword [ecx], 0
je 0x46c95a
pop edi
mov dword [esi + 0x5c], 1
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
pop edi
mov dword [esi + 0x5c], 2
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response_n
push ebx
call fcn.00465230
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.0046d250
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.00465230
add esp, 8
mov eax, 0x3f
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 ebx
call fcn.00465300
add esp, 8
mov dword [esi + 0xa4], 2
mov byte [esi + 0x58], 1
mov eax, 1
mov dword [esi + 0x60], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x4f1], 0
je 0x46ca04
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x46ca55
mov eax, dword [edi + 0x2b8]
test dword [eax + 0x40], 0x40000
je 0x46ca31
cmp dword [ebx + 0x620], 2
jne 0x46ca31
cmp dword [esi + 4], 0xffffffff
jg 0x46ca31
jl 0x46ca29
cmp dword [esi], 0xffffffff
ja 0x46ca31
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x46ca55
cmp byte [esi + 0xdc], 0
je 0x46ca55
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0xffffffff
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x46ca63
cmp eax, ecx
je 0x46ca79
push eax
push ecx
push ebx
call fcn.0046f8e0
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x14], eax
cmp dword [esi + 0x10], 0
jne 0x46ca8d
cmp dword [esi + 0x14], 0
jne 0x46ca8d
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x46ca95
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x46ca9c
and dword [esi + 0xc4], 0xfffffffe
cmp byte [ebx + 0x4f8], 0
je 0x46cb20
push edi
push dword [ebp - 8]
push dword [esi + 0x70]
push 1
push ebx
call fcn.00465150
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x88]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.00465230
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi]
push esi
push ebx
call fcn.0046ccb0
add esp, 0xc
test eax, eax
jne 0x46cb22
cmp dword [esi + 0x60], eax
jne 0x46cb20
cmp dword [esi + 0x68], 5
jbe 0x46cb20
push dword [ebx + 0x84c]
push dword [ebp + 0xc]
push ebx
call fcn.0046cbb0
add esp, 0xc
test al, al
jne 0x46cb20
mov dword [esi + 0x5c], 2
mov byte [esi + 0x58], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret