Function at 0x430bd0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push esi
push edi
lea edi, [ebp - 0xb4]
mov ecx, 0x2d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x90
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x1a8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x560]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004308e0
add esp, 4
movzx eax, al
test eax, eax
je 0x430c3e
xor eax, eax
jmp 0x431c03
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x284]
and edx, 0xff7fffff
mov eax, dword [ebp + 8]
mov dword [eax + 0x284], edx
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x4018], 0
jne 0x43105e
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push str.Establish_HTTP_proxy_tunnel_to__s:_d_n
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042aa70
add esp, 0x10
mov esi, esp
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x148]
push eax
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x148], 0
call fcn.00436c20
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x430cc0
mov eax, 0x1b
jmp 0x431c03
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push str._s:_d
call fcn.00441cb0
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x430cf4
lea ecx, [ebp - 0x34]
push ecx
call fcn.00436c50
add esp, 4
mov eax, 0x1b
jmp 0x431c03
push 1
mov edx, dword [ebp - 0x2c]
push edx
push str.CONNECT
mov eax, dword [ebp + 8]
push eax
call fcn.0043c9d0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov esi, esp
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
cmp dword [ebp - 0x18], 0
jne 0x43102a
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0x4c9658
mov dword [ebp - 0x44], 0x4c9659
mov edx, dword [ebp + 8]
cmp dword [edx + 0xf0], 1
jne 0x430d5b
mov dword [ebp - 0x84], 0x4bdae0
jmp 0x430d65
mov dword [ebp - 0x84], 0x4bdae4
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x284]
shr edx, 9
and edx, 1
mov byte [ebp - 0x49], dl
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x9c]
je 0x430dde
push 0x3a
mov edx, dword [ebp + 0x10]
push edx
call fcn.00487c30
add esp, 8
test eax, eax
je 0x430dac
mov dword [ebp - 0x88], 1
jmp 0x430db6
mov dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0
jne 0x430dcb
mov dword [ebp - 0x8c], 0
jmp 0x430dd5
mov dword [ebp - 0x8c], 1
mov al, byte [ebp - 0x8c]
mov byte [ebp - 0x49], al
movzx ecx, byte [ebp - 0x49]
test ecx, ecx
je 0x430df2
mov dword [ebp - 0x90], 0x4bdae8
jmp 0x430dfc
mov dword [ebp - 0x90], 0x4c965a
movzx edx, byte [ebp - 0x49]
test edx, edx
je 0x430e10
mov dword [ebp - 0x94], 0x4bdaec
jmp 0x430e1a
mov dword [ebp - 0x94], 0x4c965b
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x94]
push eax
push str._s_s_s:_d
call fcn.00441cb0
add esp, 0x14
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x430e5c
lea ecx, [ebp - 0x34]
push ecx
call fcn.00436c50
add esp, 4
mov eax, 0x1b
jmp 0x431c03
push 0x4bdafc
mov edx, dword [ebp + 8]
push edx
call fcn.00436b40
add esp, 8
test eax, eax
jne 0x430eb7
mov eax, dword [ebp - 0x50]
push eax
push str.Host:__s_r_n
call fcn.00441cb0
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x430eb7
mov esi, esp
mov ecx, dword [ebp - 0x50]
push ecx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
lea edx, [ebp - 0x34]
push edx
call fcn.00436c50
add esp, 4
mov eax, 0x1b
jmp 0x431c03
push 0x4bdb10
mov eax, dword [ebp + 8]
push eax
call fcn.00436b40
add esp, 8
test eax, eax
jne 0x430ed3
mov dword [ebp - 0x40], 0x4bdb24
push 0x4bdb44
mov ecx, dword [ebp + 8]
push ecx
call fcn.00436b40
add esp, 8
test eax, eax
jne 0x430f09
mov edx, 4
imul eax, edx, 0x26
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax + 0x92c], 0
je 0x430f09
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2d8]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2d4], 0
je 0x430f26
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2d4]
mov dword [ebp - 0x98], eax
jmp 0x430f30
mov dword [ebp - 0x98], 0x4c965c
cmp dword [ebp - 0x3c], 0
je 0x430f41
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], ecx
jmp 0x430f4b
mov dword [ebp - 0x9c], 0x4c965d
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
lea edx, [ebp - 0x34]
push edx
call fcn.00436cb0
add esp, 0x20
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x3c], 0
je 0x430f99
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov esi, esp
mov ecx, dword [ebp - 0x50]
push ecx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
cmp dword [ebp - 0x18], 0
jne 0x430fca
mov edx, dword [ebp - 0x34]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00437470
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x430fe4
push 0x4bdb70
lea ecx, [ebp - 0x34]
push ecx
call fcn.00436cb0
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43100c
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp - 0x10]
add eax, 0xf98
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.00436f20
add esp, 0x14
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x18], 0
je 0x43102a
push str.Failed_sending_CONNECT_to_proxy
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042abc0
add esp, 8
lea ecx, [ebp - 0x34]
push ecx
call fcn.00436c50
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x431044
mov eax, dword [ebp - 0x18]
jmp 0x431c03
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4018], 1
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x4000], 0
push 1
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042c6e0
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jg 0x43109d
jl 0x431082
cmp dword [ebp - 0x28], 0
ja 0x43109d
push str.Proxy_CONNECT_aborted_due_to_timeout
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042abc0
add esp, 8
mov eax, 0x1c
jmp 0x431c03
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042d3b0
add esp, 8
movzx edx, al
test edx, edx
jne 0x4310bb
xor eax, eax
jmp 0x431c03
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x4004], 0
je 0x431947
cmp dword [ebp - 0x54], 0
jne 0x431947
mov ecx, 1
shl ecx, 0xe
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x400c], ecx
jb 0x43110d
push str.CONNECT_response_too_large_
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042abc0
add esp, 8
mov eax, 0x38
jmp 0x431c03
lea ecx, [ebp - 0x5c]
push ecx
push 1
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x400c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042b190
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x51
jne 0x43113d
xor eax, eax
jmp 0x431c03
mov eax, dword [ebp + 8]
push eax
call fcn.0043f7c0
add esp, 4
test eax, eax
je 0x431157
mov eax, 0x2a
jmp 0x431c03
cmp dword [ebp - 0x18], 0
je 0x431171
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x4004], 0
jmp 0x431947
cmp dword [ebp - 0x5c], 0
jg 0x4311e4
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x5c0], 0
je 0x4311ba
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xcf0], 0
je 0x4311ba
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x284]
or edx, 0x800000
mov eax, dword [ebp + 8]
mov dword [eax + 0x284], edx
push str.Proxy_CONNECT_connection_closed_n
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042aa70
add esp, 8
jmp 0x4311d2
mov dword [ebp - 0x54], 1
push str.Proxy_CONNECT_aborted
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042abc0
add esp, 8
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x4004], 0
jmp 0x431947
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x4004], 1
jle 0x4312ed
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x400c], edx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [edx + 0x4010]
or ecx, dword [eax + 0x4014]
je 0x431291
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4010]
sub eax, 1
mov ecx, dword [edx + 0x4014]
sbb ecx, 0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4010], eax
mov dword [edx + 0x4014], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
cmp dword [ecx + 0x4014], 0
jg 0x43128f
jl 0x431270
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0x4010], 0
ja 0x43128f
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x4004], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x4018], 2
jmp 0x431947
jmp 0x4312e8
mov dword [ebp - 0x6c], 0
lea edx, [ebp - 0x6c]
push edx
push 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x400c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004747e0
add esp, 0x10
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xffffffff
jne 0x4312e8
push 0x4bdc14
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042aa70
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x4004], 0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4018], 2
jmp 0x4310c2
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x4000]
add ecx, 1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4000], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x400c]
movsx edx, byte [ecx]
cmp edx, 0xa
je 0x43132d
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x400c]
add ecx, 1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x400c], ecx
jmp 0x4310c2
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x431342
mov eax, dword [ebp - 0x18]
jmp 0x431c03
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xa8c]
shr ecx, 0x1a
and ecx, 1
je 0x431375
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4000]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x4008]
push edx
push 1
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042b5d0
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xa90]
shr edx, 0x13
and edx, 1
jne 0x4313dc
mov dword [ebp - 0x74], 2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xa8c]
shr ecx, 0x15
and ecx, 1
je 0x4313a7
mov edx, dword [ebp - 0x74]
or edx, 1
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x4000]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4008]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042ad40
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4313dc
mov eax, dword [ebp - 0x18]
jmp 0x431c03
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x4000]
cdq
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0xf90]
adc edx, dword [ecx + 0xf94]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xf90], eax
mov dword [ecx + 0xf94], edx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4000]
cdq
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0xb0]
adc edx, dword [ecx + 0xb4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xb0], eax
mov dword [ecx + 0xb4], edx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x4008]
movsx eax, byte [edx + eax]
cmp eax, 0xd
je 0x431464
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x4008]
movsx edx, byte [ecx + edx]
cmp edx, 0xa
jne 0x4315f9
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x400c], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x78], 0x197
jne 0x4315b7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xf4c]
shr ecx, 5
and ecx, 1
jne 0x4315b7
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4004], 2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ecx + 0x4010]
or eax, dword [edx + 0x4014]
je 0x4314ec
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x4014]
push edx
mov eax, dword [ecx + 0x4010]
push eax
push str.Ignore__I64d_bytes_of_response_body_n
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042aa70
add esp, 0x10
jmp 0x4315b5
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x401c]
and eax, 1
je 0x4315a8
push str.Ignore_chunked_response_body_n
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042aa70
add esp, 8
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x500]
or eax, 8
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x500], eax
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x4008]
movsx edx, byte [ecx + edx]
cmp edx, 0xa
jne 0x431553
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x4008]
add ecx, 1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4008], ecx
lea eax, [ebp - 0x5c]
push eax
push 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x4008]
add edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004747e0
add esp, 0x10
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xffffffff
jne 0x4315a6
push str.chunk_reading_DONE_n
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042aa70
add esp, 8
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4004], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x4018], 2
jmp 0x4315b5
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x4004], 0
jmp 0x4315c4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4004], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xac]
mov eax, dword [ecx + 0x4010]
or eax, dword [edx + 0x4014]
jne 0x4315f4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x4018], 2
jmp 0x4310c2
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4000]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x4008]
mov byte [edx + eax], 0
push 0x4bdc84
call fcn.0048f060
add esp, 4
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x4008]
push ecx
push 0x4bdc98
call fcn.0042f6a0
add esp, 0xc
test eax, eax
je 0x431644
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x78], 0x191
je 0x431681
push 0x4bdcac
call fcn.0048f060
add esp, 4
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x4008]
push ecx
push 0x4bdcc0
call fcn.0042f6a0
add esp, 0xc
test eax, eax
je 0x431731
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x78], 0x197
jne 0x431731
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x78], 0x197
jne 0x431699
mov dword [ebp - 0xb0], 1
jmp 0x4316a3
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
jne 0x4316b8
mov dword [ebp - 0xb4], 0
jmp 0x4316c2
mov dword [ebp - 0xb4], 1
mov cl, byte [ebp - 0xb4]
mov byte [ebp - 0x79], cl
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4008]
push eax
call fcn.004369f0
add esp, 4
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x4316f0
mov eax, 0x1b
jmp 0x431c03
mov ecx, dword [ebp - 0x80]
push ecx
movzx edx, byte [ebp - 0x79]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043a590
add esp, 0xc
mov dword [ebp - 0x18], eax
mov esi, esp
mov ecx, dword [ebp - 0x80]
push ecx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
cmp dword [ebp - 0x18], 0
je 0x43172c
mov eax, dword [ebp - 0x18]
jmp 0x431c03
jmp 0x431917
push 0x4bdcd4
call fcn.0048f060
add esp, 4
push eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4008]
push eax
push 0x4bdce4
call fcn.0042f6a0
add esp, 0xc
test eax, eax
je 0x4317b9
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x78]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x431787
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x78]
push eax
push str.Ignoring_Content_Length_in_CONNECT__03d_response_n
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042aa70
add esp, 0xc
jmp 0x4317b4
mov edx, dword [ebp - 0x20]
add edx, 0x4010
push edx
push 0xa
push 0
push 0x4bdd28
call fcn.0048f060
add esp, 4
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x4008]
push eax
call fcn.00444dd0
add esp, 0x10
jmp 0x431917
push 0x4bdd38
push 0x4bdd40
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4008]
push eax
call fcn.004368d0
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x4317f6
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x401c]
or eax, 2
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x401c], eax
jmp 0x431917
push 0x4bdd4c
call fcn.0048f060
add esp, 4
push eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4008]
push eax
push 0x4bdd60
call fcn.0042f6a0
add esp, 0xc
test eax, eax
je 0x4318a7
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x78]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x431850
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x78]
push eax
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response_n
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042aa70
add esp, 0xc
jmp 0x4318a5
push 0x4bddac
push 0x4bddb4
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4008]
push eax
call fcn.004368d0
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x4318a5
push str.CONNECT_responded_chunked_n
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042aa70
add esp, 8
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x401c]
or ecx, 1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x401c], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004747a0
add esp, 4
jmp 0x431917
push 0x4bdde4
push 0x4bddec
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x4008]
push edx
call fcn.004368d0
add esp, 0xc
movzx eax, al
test eax, eax
je 0x4318e1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x401c]
or edx, 2
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x401c], edx
jmp 0x431917
mov ecx, dword [ebp - 0x14]
add ecx, 0x78
push ecx
lea edx, [ebp - 8]
push edx
push str.HTTP_1._d__d
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x4008]
push ecx
call fcn.00418490
add esp, 0x10
cmp eax, 2
jne 0x431917
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x78]
mov dword [edx + 0xf7c], ecx
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4000], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x400c], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x400c]
mov dword [edx + 0x4008], ecx
jmp 0x4310c2
mov edx, dword [ebp + 8]
push edx
call fcn.0043f7c0
add esp, 4
test eax, eax
je 0x431961
mov eax, 0x2a
jmp 0x431c03
cmp dword [ebp - 0x54], 0
je 0x431971
mov eax, 0x38
jmp 0x431c03
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xf7c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x4319c7
mov edx, dword [ebp + 8]
push edx
call fcn.0043aa30
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4319a4
mov eax, dword [ebp - 0x18]
jmp 0x431c03
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x284]
and ecx, 1
je 0x4319c7
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x401c]
or eax, 2
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x401c], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x401c]
shr eax, 1
and eax, 1
je 0x431a10
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x148], 0
je 0x431a10
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 0x1a8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042d010
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4 + 0x1a8], 0xffffffff
jmp 0x431a46
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x148], 0
je 0x431a36
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x4018], 2
jne 0x431a36
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00430a90
add esp, 8
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x148], 0
jne 0x430c56
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xf7c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x431b5e
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x401c]
shr eax, 1
and eax, 1
je 0x431ab2
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x148], 0
je 0x431ab2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x284]
or eax, 0x800000
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x284], eax
push str.Connect_me_again_please_n
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042aa70
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.00430b80
add esp, 4
jmp 0x431b14
mov esi, esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x148]
push edx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x148], 0
push 2
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042d2f0
add esp, 8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 0x1a8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042d010
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4 + 0x1a8], 0xffffffff
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4018], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x284]
shr ecx, 0x17
and ecx, 1
je 0x431b39
xor eax, eax
jmp 0x431c03
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x108]
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042abc0
add esp, 0xc
mov eax, 0x38
jmp 0x431c03
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4018], 2
mov esi, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2d4]
push ecx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov edx, dword [ebp + 8]
mov dword [edx + 0x2d4], 0
xor eax, eax
jne 0x431b6b
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2d4], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xcf4]
or eax, 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xcf4], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xf7c]
push eax
push str.Proxy_replied__d_to_CONNECT_request_n
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042aa70
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x590]
and eax, 0xfffffff7
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x590], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x284]
and eax, 0xfffeffff
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x284], eax
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x431c28]
call fcn.00485bbb
pop eax
pop edx
pop edi
pop esi
add esp, 0xb4
cmp ebp, esp
call fcn.00485c0f
mov esp, ebp
pop ebp
ret