Function at 0x10089450
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
and dword [ebp - 0x88], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 0x70
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*4 + 0x1a8]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0xd], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6d0]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.1008a44f
pop ecx
movzx eax, al
test eax, eax
je 0x100894a8
xor eax, eax
jmp 0x1008a1ac
mov eax, dword [ebp + 8]
mov byte [eax + 0x3a6], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x401c], 0
jne 0x100897ec
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push str.Establish_HTTP_proxy_tunnel_to__s:_hu_n
push dword [ebp - 8]
call fcn.100837f8
add esp, 0x10
mov eax, dword [ebp - 8]
push dword [eax + 0x140]
call dword [0x100e8674]
pop ecx
mov eax, dword [ebp - 8]
and dword [eax + 0x140], 0
call fcn.10095545
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10089508
push 0x1b
pop eax
jmp 0x1008a1ac
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push str._s:_hu
call fcn.10099070
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10089535
push dword [ebp - 0x18]
call fcn.10095854
pop ecx
push 0x1b
pop eax
jmp 0x1008a1ac
push 1
push dword [ebp - 0x24]
push str.CONNECT
push dword [ebp + 8]
call fcn.1009482b
add esp, 0x10
mov dword [ebp - 0xc], eax
push dword [ebp - 0x24]
call dword [0x100e8674]
pop ecx
cmp dword [ebp - 0xc], 0
jne 0x100897be
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], 0x100f62d8
mov dword [ebp - 0x68], 0x100f62d9
mov eax, dword [ebp + 8]
cmp dword [eax + 0xf0], 1
jne 0x10089588
mov dword [ebp - 0x4c], 0x100e9f3c
jmp 0x1008958f
mov dword [ebp - 0x4c], 0x100e9f40
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x396]
mov byte [ebp - 0xe], al
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0xa0]
je 0x100895e5
push 0x3a
push dword [ebp + 0x10]
call fcn.1003f3a0
pop ecx
pop ecx
test eax, eax
je 0x100895c8
mov dword [ebp - 0x3c], 1
jmp 0x100895cc
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0
jne 0x100895d8
and dword [ebp - 0x58], 0
jmp 0x100895df
mov dword [ebp - 0x58], 1
mov al, byte [ebp - 0x58]
mov byte [ebp - 0xe], al
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x100895f6
mov dword [ebp - 0x44], 0x100e9f44
jmp 0x100895fd
mov dword [ebp - 0x44], 0x100f62da
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1008960e
mov dword [ebp - 0x60], 0x100e9f48
jmp 0x10089615
mov dword [ebp - 0x60], 0x100f62db
push dword [ebp + 0x14]
push dword [ebp - 0x44]
push dword [ebp + 0x10]
push dword [ebp - 0x60]
push str._s_s_s:_hu
call fcn.10099070
add esp, 0x14
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10089648
push dword [ebp - 0x18]
call fcn.10095854
pop ecx
push 0x1b
pop eax
jmp 0x1008a1ac
push 0x100e9f58
push dword [ebp + 8]
call fcn.10095497
pop ecx
pop ecx
test eax, eax
jne 0x1008968e
push dword [ebp - 0x20]
push str.Host:__s_r_n
call fcn.10099070
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1008968e
push dword [ebp - 0x20]
call dword [0x100e8674]
pop ecx
push dword [ebp - 0x18]
call fcn.10095854
pop ecx
push 0x1b
pop eax
jmp 0x1008a1ac
push 0x100e9f6c
push dword [ebp + 8]
call fcn.10095497
pop ecx
pop ecx
test eax, eax
jne 0x100896a8
mov dword [ebp - 0x34], 0x100e9f80
push 0x100e9fa0
push dword [ebp + 8]
call fcn.10095497
pop ecx
pop ecx
test eax, eax
jne 0x100896da
push 4
pop eax
imul eax, eax, 0x24
mov ecx, dword [ebp - 8]
cmp dword [ecx + eax + 0x3c0], 0
je 0x100896da
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3e8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3e4], 0
je 0x100896f4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3e4]
mov dword [ebp - 0x54], eax
jmp 0x100896fb
mov dword [ebp - 0x54], 0x100f62dc
cmp dword [ebp - 0x1c], 0
je 0x10089709
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x70], eax
jmp 0x10089710
mov dword [ebp - 0x70], 0x100f62dd
push dword [ebp - 0x34]
push dword [ebp - 0x68]
push dword [ebp - 0x54]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x20]
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
push dword [ebp - 0x18]
call fcn.10095556
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x1c], 0
je 0x10089745
push dword [ebp - 0x1c]
call dword [0x100e8674]
pop ecx
push dword [ebp - 0x20]
call dword [0x100e8674]
pop ecx
cmp dword [ebp - 0xc], 0
jne 0x10089768
push dword [ebp - 0x18]
push 1
push dword [ebp + 8]
call fcn.1009499c
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10089780
push 0x100e9fcc
push dword [ebp - 0x18]
call fcn.10095556
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100897a5
push dword [ebp + 0xc]
push 0
mov eax, dword [ebp - 8]
add eax, 0x4a98
push eax
push dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.100955e3
add esp, 0x14
mov dword [ebp - 0xc], eax
and dword [ebp - 0x18], 0
cmp dword [ebp - 0xc], 0
je 0x100897be
push str.Failed_sending_CONNECT_to_proxy
push dword [ebp - 8]
call fcn.10083b69
pop ecx
pop ecx
push dword [ebp - 0x18]
call fcn.10095854
pop ecx
cmp dword [ebp - 0xc], 0
je 0x100897d5
mov eax, dword [ebp - 0xc]
jmp 0x1008a1ac
mov eax, dword [ebp - 4]
mov dword [eax + 0x401c], 1
mov eax, dword [ebp - 4]
and dword [eax + 0x4000], 0
push 1
push 0
push dword [ebp - 8]
call fcn.100806aa
add esp, 0xc
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x90], 0
jg 0x10089832
jl 0x1008981b
cmp dword [ebp - 0x94], 0
ja 0x10089832
push str.Proxy_CONNECT_aborted_due_to_timeout
push dword [ebp - 8]
call fcn.10083b69
pop ecx
pop ecx
push 0x1c
pop eax
jmp 0x1008a1ac
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1007eff6
pop ecx
pop ecx
movzx eax, al
test eax, eax
jne 0x1008984d
xor eax, eax
jmp 0x1008a1ac
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4004], 0
je 0x10089fa8
cmp dword [ebp - 0x30], 0
jne 0x10089fa8
xor eax, eax
inc eax
shl eax, 0xe
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x400c], eax
jb 0x10089896
push str.CONNECT_response_too_large_
push dword [ebp - 8]
call fcn.10083b69
pop ecx
pop ecx
push 0x38
pop eax
jmp 0x1008a1ac
lea eax, [ebp - 0x38]
push eax
push 1
mov eax, dword [ebp - 4]
push dword [eax + 0x400c]
push dword [ebp - 0x7c]
push dword [ebp + 8]
call fcn.100838d2
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x51
jne 0x100898c3
xor eax, eax
jmp 0x1008a1ac
push dword [ebp + 8]
call fcn.1008f085
pop ecx
test eax, eax
je 0x100898d8
push 0x2a
pop eax
jmp 0x1008a1ac
cmp dword [ebp - 0xc], 0
je 0x100898ef
mov eax, dword [ebp - 4]
and dword [eax + 0x4004], 0
jmp 0x10089fa8
cmp dword [ebp - 0x38], 0
jg 0x1008994d
mov eax, dword [ebp - 8]
cmp dword [eax + 0x180], 0
je 0x10089928
mov eax, dword [ebp - 8]
cmp dword [eax + 0x480c], 0
je 0x10089928
mov eax, dword [ebp + 8]
mov byte [eax + 0x3a6], 1
push str.Proxy_CONNECT_connection_closed_n
push dword [ebp - 8]
call fcn.100837f8
pop ecx
pop ecx
jmp 0x1008993e
mov dword [ebp - 0x30], 1
push str.Proxy_CONNECT_aborted
push dword [ebp - 8]
call fcn.10083b69
pop ecx
pop ecx
mov eax, dword [ebp - 4]
and dword [eax + 0x4004], 0
jmp 0x10089fa8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4004], 1
jle 0x10089a43
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x400c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [eax + 0x4010]
or eax, dword [ecx + 0x4014]
je 0x100899e5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4010]
sub ecx, 1
mov eax, dword [eax + 0x4014]
sbb eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x4010], ecx
mov dword [edx + 0x4014], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x4014], 0
jg 0x100899e3
jl 0x100899c7
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x4010], 0
ja 0x100899e3
mov eax, dword [ebp - 4]
and dword [eax + 0x4004], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x401c], 2
jmp 0x10089fa8
jmp 0x10089a3e
and dword [ebp - 0x8c], 0
lea eax, [ebp - 0x8c]
push eax
push 1
mov eax, dword [ebp - 4]
push dword [eax + 0x400c]
push dword [ebp + 8]
call fcn.100b82ea
add esp, 0x10
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xffffffff
jne 0x10089a3e
push 0x100ea070
push dword [ebp - 8]
call fcn.100837f8
pop ecx
pop ecx
mov eax, dword [ebp - 4]
and dword [eax + 0x4004], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x401c], 2
jmp 0x10089851
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4000]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4000], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x400c]
movsx eax, byte [eax]
cmp eax, 0xa
je 0x10089a7f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x400c]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x400c], eax
jmp 0x10089851
and dword [ebp - 0xc], 0
je 0x10089a8d
mov eax, dword [ebp - 0xc]
jmp 0x1008a1ac
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x390]
test eax, eax
je 0x10089abd
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push dword [eax + 0x4000]
mov eax, dword [ebp - 4]
push dword [eax + 0x4008]
push 1
push dword [ebp - 8]
call fcn.10082e61
add esp, 0x14
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x4fc]
test eax, eax
jne 0x10089b1a
mov dword [ebp - 0x2c], 2
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x385]
test eax, eax
je 0x10089ae9
mov eax, dword [ebp - 0x2c]
or eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
push dword [eax + 0x4000]
mov eax, dword [ebp - 4]
push dword [eax + 0x4008]
push dword [ebp - 0x2c]
push dword [ebp + 8]
call fcn.100830dd
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10089b1a
mov eax, dword [ebp - 0xc]
jmp 0x1008a1ac
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4a94]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x4000]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x4a94], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x4000]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xa0], eax
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x4008]
movsx eax, byte [ecx + eax]
cmp eax, 0xd
je 0x10089b84
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x4008]
movsx eax, byte [ecx + eax]
cmp eax, 0xa
jne 0x10089ce5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x400c], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x88], 0x197
jne 0x10089caf
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x4814]
test eax, eax
jne 0x10089caf
mov eax, dword [ebp - 4]
mov dword [eax + 0x4004], 2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
mov eax, dword [eax + 0x4010]
or eax, dword [ecx + 0x4014]
je 0x10089c00
mov eax, dword [ebp - 4]
push dword [eax + 0x4014]
push dword [eax + 0x4010]
push str.Ignore__I64d_bytes_of_response_body_n
push dword [ebp - 8]
call fcn.100837f8
add esp, 0x10
jmp 0x10089cad
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x4018]
test eax, eax
je 0x10089ca3
push str.Ignore_chunked_response_body_n
push dword [ebp - 8]
call fcn.100837f8
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xc9], 1
xor eax, eax
inc eax
shl eax, 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x4008]
movsx eax, byte [ecx + eax]
cmp eax, 0xa
jne 0x10089c56
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4008]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4008], eax
lea eax, [ebp - 0x38]
push eax
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4008]
inc eax
push eax
push dword [ebp + 8]
call fcn.100b82ea
add esp, 0x10
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xffffffff
jne 0x10089ca1
push str.chunk_reading_DONE_n
push dword [ebp - 8]
call fcn.100837f8
pop ecx
pop ecx
mov eax, dword [ebp - 4]
and dword [eax + 0x4004], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x401c], 2
jmp 0x10089cad
mov eax, dword [ebp - 4]
and dword [eax + 0x4004], 0
jmp 0x10089cb9
mov eax, dword [ebp - 4]
and dword [eax + 0x4004], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax + 0x4010]
or eax, dword [ecx + 0x4014]
jne 0x10089ce0
mov eax, dword [ebp - 4]
mov dword [eax + 0x401c], 2
jmp 0x10089851
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4000]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x4008]
mov byte [ecx + eax], 0
push 0x11
mov eax, dword [ebp - 4]
push dword [eax + 0x4008]
push 0x100ea0e0
call fcn.10095cbf
add esp, 0xc
test eax, eax
je 0x10089d26
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x88], 0x191
je 0x10089d59
push 0x13
mov eax, dword [ebp - 4]
push dword [eax + 0x4008]
push 0x100ea0f4
call fcn.10095cbf
add esp, 0xc
test eax, eax
je 0x10089ddf
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x88], 0x197
jne 0x10089ddf
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x88], 0x197
jne 0x10089d71
mov dword [ebp - 0x48], 1
jmp 0x10089d75
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
jne 0x10089d81
and dword [ebp - 0x50], 0
jmp 0x10089d88
mov dword [ebp - 0x50], 1
mov al, byte [ebp - 0x50]
mov byte [ebp - 0x80], al
mov eax, dword [ebp - 4]
push dword [eax + 0x4008]
call fcn.1009538b
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10089dae
push 0x1b
pop eax
jmp 0x1008a1ac
push dword [ebp - 0x28]
push dword [ebp - 0x80]
push dword [ebp + 8]
call fcn.10094caa
add esp, 0xc
mov dword [ebp - 0xc], eax
push dword [ebp - 0x28]
call dword [0x100e8674]
pop ecx
cmp dword [ebp - 0xc], 0
je 0x10089dda
mov eax, dword [ebp - 0xc]
jmp 0x1008a1ac
jmp 0x10089f7b
push 0xf
mov eax, dword [ebp - 4]
push dword [eax + 0x4008]
push 0x100ea108
call fcn.10095cbf
add esp, 0xc
test eax, eax
je 0x10089e5a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x88]
cdq
push 0x64
pop ecx
idiv ecx
cmp eax, 2
jne 0x10089e2a
mov eax, dword [ebp - 0x14]
push dword [eax + 0x88]
push str.Ignoring_Content_Length_in_CONNECT__03d_response_n
push dword [ebp - 8]
call fcn.100837f8
add esp, 0xc
jmp 0x10089e55
push 0xa
push 0
xor eax, eax
inc eax
imul eax, eax, 0xf
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x4008]
push eax
call fcn.10040df9
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4010], eax
mov dword [ecx + 0x4014], edx
jmp 0x10089f7b
push 0x100ea14c
push 0x100ea154
mov eax, dword [ebp - 4]
push dword [eax + 0x4008]
call fcn.10094ff2
add esp, 0xc
movzx eax, al
test eax, eax
je 0x10089e85
mov byte [ebp - 0xd], 1
jmp 0x10089f7b
push 0x12
mov eax, dword [ebp - 4]
push dword [eax + 0x4008]
push 0x100ea160
call fcn.10095cbf
add esp, 0xc
test eax, eax
je 0x10089f16
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x88]
cdq
push 0x64
pop ecx
idiv ecx
cmp eax, 2
jne 0x10089ed0
mov eax, dword [ebp - 0x14]
push dword [eax + 0x88]
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response_n
push dword [ebp - 8]
call fcn.100837f8
add esp, 0xc
jmp 0x10089f14
push 0x100ea1ac
push 0x100ea1b4
mov eax, dword [ebp - 4]
push dword [eax + 0x4008]
call fcn.10094ff2
add esp, 0xc
movzx eax, al
test eax, eax
je 0x10089f14
push str.CONNECT_responded_chunked_n
push dword [ebp - 8]
call fcn.100837f8
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x4018], 1
push dword [ebp + 8]
call fcn.100b890a
pop ecx
jmp 0x10089f7b
push 0x100ea1e4
push 0x100ea1ec
mov eax, dword [ebp - 4]
push dword [eax + 0x4008]
call fcn.10094ff2
add esp, 0xc
movzx eax, al
test eax, eax
je 0x10089f3e
mov byte [ebp - 0xd], 1
jmp 0x10089f7b
mov eax, dword [ebp - 0x14]
add eax, 0x88
push eax
lea eax, [ebp - 0x88]
push eax
push str.HTTP_1._d__d
mov eax, dword [ebp - 4]
push dword [eax + 0x4008]
call fcn.1003f0b9
add esp, 0x10
cmp eax, 2
jne 0x10089f7b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x88]
mov dword [eax + 0x4a84], ecx
mov eax, dword [ebp - 4]
and dword [eax + 0x4000], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x400c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x400c]
mov dword [eax + 0x4008], ecx
jmp 0x10089851
push dword [ebp + 8]
call fcn.1008f085
pop ecx
test eax, eax
je 0x10089fbd
push 0x2a
pop eax
jmp 0x1008a1ac
cmp dword [ebp - 0x30], 0
je 0x10089fcb
push 0x38
pop eax
jmp 0x1008a1ac
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4a84], 0xc8
je 0x1008a006
push dword [ebp + 8]
call fcn.10095116
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10089ff4
mov eax, dword [ebp - 0xc]
jmp 0x1008a1ac
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x38d]
test eax, eax
je 0x1008a006
mov byte [ebp - 0xd], 1
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1008a041
mov eax, dword [ebp - 8]
cmp dword [eax + 0x140], 0
je 0x1008a041
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4 + 0x1a8]
push dword [ebp + 8]
call fcn.100801b1
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
or dword [ecx + eax*4 + 0x1a8], 0xffffffff
jmp 0x1008a075
mov eax, dword [ebp - 8]
cmp dword [eax + 0x140], 0
je 0x1008a065
mov eax, dword [ebp - 4]
cmp dword [eax + 0x401c], 2
jne 0x1008a065
push 1
push dword [ebp + 8]
call fcn.1008a1e2
pop ecx
pop ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x140], 0
jne 0x100894b2
mov eax, dword [ebp - 8]
cmp dword [eax + 0xf8], 0xc8
je 0x1008a148
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1008a0c0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x140], 0
je 0x1008a0c0
mov eax, dword [ebp + 8]
mov byte [eax + 0x3a6], 1
push str.Connect_me_again_please_n
push dword [ebp - 8]
call fcn.100837f8
pop ecx
pop ecx
push dword [ebp + 8]
call fcn.1008a1b0
pop ecx
jmp 0x1008a10b
mov eax, dword [ebp - 8]
push dword [eax + 0x140]
call dword [0x100e8674]
pop ecx
mov eax, dword [ebp - 8]
and dword [eax + 0x140], 0
push 2
push dword [ebp + 8]
call fcn.1008061a
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4 + 0x1a8]
push dword [ebp + 8]
call fcn.100801b1
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
or dword [ecx + eax*4 + 0x1a8], 0xffffffff
mov eax, dword [ebp - 4]
and dword [eax + 0x401c], 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x3a6]
test eax, eax
je 0x1008a12a
xor eax, eax
jmp 0x1008a1ac
mov eax, dword [ebp - 8]
push dword [eax + 0xf8]
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push dword [ebp - 8]
call fcn.10083b69
add esp, 0xc
push 0x38
pop eax
jmp 0x1008a1ac
mov eax, dword [ebp - 4]
mov dword [eax + 0x401c], 2
mov eax, dword [ebp + 8]
push dword [eax + 0x3e4]
call dword [0x100e8674]
pop ecx
mov eax, dword [ebp + 8]
and dword [eax + 0x3e4], 0
xor eax, eax
jne 0x1008a155
mov eax, dword [ebp + 8]
and dword [eax + 0x3e4], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x4810], 1
push str.Proxy_replied_OK_to_CONNECT_request_n
push dword [ebp - 8]
call fcn.100837f8
pop ecx
pop ecx
mov eax, dword [ebp - 8]
mov byte [eax + 0x139], 0
mov eax, dword [ebp + 8]
mov byte [eax + 0x39f], 0
xor eax, eax
mov esp, ebp
pop ebp
ret