Function at 0x1009b390
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp + 8]
add eax, 0x88
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax*4 + 0x158]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x4d8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.1009c2d0
add esp, 4
movzx eax, al
test eax, eax
je 0x1009b3ea
xor eax, eax
jmp 0x1009bfa2
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x254], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 0x20], 0
jne 0x1009b664
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str.Establish_HTTP_proxy_tunnel_to__s:_d_n
mov edx, dword [ebp + 8]
push edx
call fcn.100588f0
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x130]
push ecx
call dword [0x100d05f8]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x130], 0
push 0x20000
lea eax, [ebp - 0x94]
push eax
call fcn.10056c70
add esp, 8
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1009bfb0
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009b48d
mov eax, dword [ebp - 8]
jmp 0x1009bfa2
push 1
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push str.CONNECT
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1006f9d0
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1009b623
mov dword [ebp - 0x5c], 0x100de755
mov dword [ebp - 0x40], 0x100de756
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0xc0], 1
jne 0x1009b4da
mov dword [ebp - 0x58], 0x100d9b94
jmp 0x1009b4e1
mov dword [ebp - 0x58], 0x100d9b98
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x68], edx
push str.Proxy_Connection
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10070900
add esp, 0xc
test eax, eax
jne 0x1009b507
mov dword [ebp - 0x5c], str.Proxy_Connection:_Keep_Alive_r_n
push str.User_Agent
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10070900
add esp, 0xc
test eax, eax
jne 0x1009b541
mov ecx, 4
imul edx, ecx, 0x26
mov eax, dword [ebp + 8]
cmp dword [eax + edx + 0x524], 0
je 0x1009b541
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xca0]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc9c], 0
je 0x1009b55b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc9c]
mov dword [ebp - 0x64], edx
jmp 0x1009b562
mov dword [ebp - 0x64], 0x100de757
cmp dword [ebp - 0x20], 0
je 0x1009b570
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
jmp 0x1009b577
mov dword [ebp - 0x48], 0x100de758
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x24]
push eax
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
lea ecx, [ebp - 0x94]
push ecx
call fcn.100569c0
add esp, 0x20
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1009b5c4
lea edx, [ebp - 0x94]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1006e520
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1009b5e1
push 0x100d9bfc
lea ecx, [ebp - 0x94]
push ecx
call fcn.10056a40
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1009b60c
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
add eax, 0xd20
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x94]
push edx
call fcn.1006f050
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009b623
push str.Failed_sending_CONNECT_to_proxy
mov eax, dword [ebp + 8]
push eax
call fcn.10058cd0
add esp, 8
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x100d05f8]
add esp, 4
mov edx, dword [ebp - 0x24]
push edx
call dword [0x100d05f8]
add esp, 4
lea eax, [ebp - 0x94]
push eax
call fcn.10056cd0
add esp, 4
cmp dword [ebp - 8], 0
je 0x1009b65a
mov eax, dword [ebp - 8]
jmp 0x1009bfa2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], 1
push 1
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.10054b30
add esp, 0xc
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x7c], 0
jg 0x1009b6a3
jl 0x1009b688
cmp dword [ebp - 0x80], 0
ja 0x1009b6a3
push str.Proxy_CONNECT_aborted_due_to_timeout
mov eax, dword [ebp + 8]
push eax
call fcn.10058cd0
add esp, 8
mov eax, 0x1c
jmp 0x1009bfa2
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.10051bb0
add esp, 8
movzx eax, al
test eax, eax
jne 0x1009b6c1
xor eax, eax
jmp 0x1009bfa2
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1009bd22
lea edx, [ebp - 0x44]
push edx
push 1
lea eax, [ebp - 0x11]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10058a90
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x51
jne 0x1009b6ff
xor eax, eax
jmp 0x1009bfa2
mov eax, dword [ebp + 8]
push eax
call fcn.10065190
add esp, 4
test eax, eax
je 0x1009b719
mov eax, 0x2a
jmp 0x1009bfa2
cmp dword [ebp - 8], 0
je 0x1009b730
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
jmp 0x1009bd22
cmp dword [ebp - 0x44], 0
jg 0x1009b792
mov edx, dword [ebp + 8]
cmp dword [edx + 0x178], 0
je 0x1009b76b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x9a0], 0
je 0x1009b76b
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x254], 1
push str.Proxy_CONNECT_connection_closed_n
mov edx, dword [ebp + 8]
push edx
call fcn.100588f0
add esp, 8
jmp 0x1009b783
mov dword [ebp - 0x3c], 1
push str.Proxy_CONNECT_aborted
mov eax, dword [ebp + 8]
push eax
call fcn.10058cd0
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
jmp 0x1009bd22
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 2
jne 0x1009b85d
mov eax, dword [ebp - 4]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx + 0x18]
or eax, dword [edx + 0x1c]
je 0x1009b800
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
sub edx, 1
mov eax, dword [ecx + 0x1c]
sbb eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x1c], 0
jg 0x1009b7fe
jl 0x1009b7e5
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x18], 0
ja 0x1009b7fe
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], 2
jmp 0x1009bd22
jmp 0x1009b858
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x74]
push edx
push 1
lea eax, [ebp - 0x11]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10099f70
add esp, 0x14
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xffffffff
jne 0x1009b858
push 0x100d9c84
mov edx, dword [ebp + 8]
push edx
call fcn.100588f0
add esp, 8
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], 2
jmp 0x1009b6c8
push 1
lea edx, [ebp - 0x11]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10056aa0
add esp, 0xc
test eax, eax
je 0x1009b88e
push str.CONNECT_response_too_large_
mov ecx, dword [ebp + 8]
push ecx
call fcn.10058cd0
add esp, 8
mov eax, 0x38
jmp 0x1009bfa2
movsx edx, byte [ebp - 0x11]
cmp edx, 0xa
je 0x1009b89c
jmp 0x1009b6c8
mov eax, dword [ebp - 4]
push eax
call fcn.10056c50
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10056cb0
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x1009b8cf
mov eax, dword [ebp - 8]
jmp 0x1009bfa2
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.10057b00
add esp, 0x10
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x716]
test eax, eax
jne 0x1009b93a
mov dword [ebp - 0x28], 2
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x6fd]
test edx, edx
je 0x1009b911
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10058b70
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009b93a
mov eax, dword [ebp - 8]
jmp 0x1009bfa2
mov eax, dword [ebp - 0x2c]
cdq
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0xd18]
adc edx, dword [ecx + 0xd1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd18], eax
mov dword [ecx + 0xd1c], edx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx + eax]
cmp edx, 0xd
je 0x1009b988
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx + ecx]
cmp eax, 0xa
jne 0x1009bac6
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x70], 0x197
jne 0x1009ba8c
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xcc9]
test eax, eax
jne 0x1009ba8c
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 2
mov edx, dword [ebp - 4]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x60]
mov edx, dword [eax + 0x18]
or edx, dword [ecx + 0x1c]
je 0x1009b9e9
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [eax + 0x18]
push edx
push str.Ignore__I64d_bytes_of_response_body_n
mov eax, dword [ebp + 8]
push eax
call fcn.100588f0
add esp, 0x10
jmp 0x1009ba8a
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x24]
test edx, edx
je 0x1009ba80
push str.Ignore_chunked_response_body_n
mov eax, dword [ebp + 8]
push eax
call fcn.100588f0
add esp, 8
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0xbf], 1
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax + edx]
cmp ecx, 0xa
jne 0x1009ba30
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 1
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10099f70
add esp, 0x14
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xffffffff
jne 0x1009ba7e
push str.chunk_reading_DONE_n
mov ecx, dword [ebp + 8]
push ecx
call fcn.100588f0
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], 2
jmp 0x1009ba8a
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
jmp 0x1009ba96
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x1009babd
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [edx + 0x18]
or ecx, dword [eax + 0x1c]
jne 0x1009babd
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], 2
xor eax, eax
jne 0x1009babd
jmp 0x1009b6c8
push 0x11
mov ecx, dword [ebp - 0x10]
push ecx
push str.WWW_Authenticate:
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1009bae9
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x70], 0x191
je 0x1009bb14
push 0x13
mov eax, dword [ebp - 0x10]
push eax
push str.Proxy_authenticate:
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1009bba3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x70], 0x197
jne 0x1009bba3
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x70], 0x197
jne 0x1009bb29
mov dword [ebp - 0x54], 1
jmp 0x1009bb30
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0
jne 0x1009bb3f
mov dword [ebp - 0x38], 0
jmp 0x1009bb46
mov dword [ebp - 0x38], 1
mov al, byte [ebp - 0x38]
mov byte [ebp - 0x19], al
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.100707d0
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1009bb6b
mov eax, 0x1b
jmp 0x1009bfa2
mov edx, dword [ebp - 0x30]
push edx
movzx eax, byte [ebp - 0x19]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1006f5f0
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x30]
push edx
call dword [0x100d05f8]
add esp, 4
cmp dword [ebp - 8], 0
je 0x1009bb9e
mov eax, dword [ebp - 8]
jmp 0x1009bfa2
jmp 0x1009bd11
push 0xf
mov eax, dword [ebp - 0x10]
push eax
push str.Content_Length:
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1009bc0b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x70]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x1009bbe7
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x70]
push eax
push str.Ignoring_Content_Length_in_CONNECT__03d_response_n
mov ecx, dword [ebp + 8]
push ecx
call fcn.100588f0
add esp, 0xc
jmp 0x1009bc06
mov edx, dword [ebp - 4]
add edx, 0x18
push edx
push 0xa
push 0
mov eax, 1
imul ecx, eax, 0xf
add ecx, dword [ebp - 0x10]
push ecx
call fcn.10091040
add esp, 0x10
jmp 0x1009bd11
push 0x100d9d7c
push str.Connection:
mov edx, dword [ebp - 0x10]
push edx
call fcn.1006ef10
add esp, 0xc
movzx eax, al
test eax, eax
je 0x1009bc34
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x25], 1
jmp 0x1009bd11
push 0x12
mov edx, dword [ebp - 0x10]
push edx
push 0x100d9d90
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1009bcbb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x70]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x1009bc78
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x70]
push eax
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response_n
mov ecx, dword [ebp + 8]
push ecx
call fcn.100588f0
add esp, 0xc
jmp 0x1009bcb9
push str.chunked
push str.Transfer_Encoding:
mov edx, dword [ebp - 0x10]
push edx
call fcn.1006ef10
add esp, 0xc
movzx eax, al
test eax, eax
je 0x1009bcb9
push str.CONNECT_responded_chunked_n
mov ecx, dword [ebp + 8]
push ecx
call fcn.100588f0
add esp, 8
mov edx, dword [ebp - 4]
mov byte [edx + 0x24], 1
mov eax, dword [ebp + 8]
push eax
call fcn.1009a5e0
add esp, 4
jmp 0x1009bd11
push str.close
push str.Proxy_Connection:
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1006ef10
add esp, 0xc
movzx edx, al
test edx, edx
je 0x1009bce1
mov eax, dword [ebp - 4]
mov byte [eax + 0x25], 1
jmp 0x1009bd11
mov ecx, dword [ebp - 0x18]
add ecx, 0x70
push ecx
lea edx, [ebp - 0x6c]
push edx
push str.HTTP_1._d__d
mov eax, dword [ebp - 0x10]
push eax
call fcn.1001f16d
add esp, 0x10
cmp eax, 2
jne 0x1009bd11
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x70]
mov dword [ecx + 0xd04], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10056ad0
add esp, 4
jmp 0x1009b6c8
mov edx, dword [ebp + 8]
push edx
call fcn.10065190
add esp, 4
test eax, eax
je 0x1009bd3c
mov eax, 0x2a
jmp 0x1009bfa2
cmp dword [ebp - 0x3c], 0
je 0x1009bd4c
mov eax, 0x38
jmp 0x1009bfa2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xd04]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x1009bd94
mov edx, dword [ebp + 8]
push edx
call fcn.1006fec0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009bd7f
mov eax, dword [ebp - 8]
jmp 0x1009bfa2
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x255]
test ecx, ecx
je 0x1009bd94
mov edx, dword [ebp - 4]
mov byte [edx + 0x25], 1
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x25]
test ecx, ecx
je 0x1009bddc
mov edx, dword [ebp + 8]
cmp dword [edx + 0x130], 0
je 0x1009bddc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax*4 + 0x158]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10054df0
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [eax + edx*4 + 0x158], 0xffffffff
jmp 0x1009be0f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x130], 0
je 0x1009bdff
mov edx, dword [ebp - 4]
cmp dword [edx + 0x20], 2
jne 0x1009bdff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1009c120
add esp, 8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x130], 0
jne 0x1009b3f4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd04]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x1009bf16
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x25]
test eax, eax
je 0x1009be69
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x130], 0
je 0x1009be69
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x254], 1
push str.Connect_me_again_please_n
mov eax, dword [ebp + 8]
push eax
call fcn.100588f0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.1009c0d0
add esp, 4
jmp 0x1009bec6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x130]
push eax
call dword [0x100d05f8]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x130], 0
push 2
mov edx, dword [ebp - 0xc]
push edx
call fcn.10054a90
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax*4 + 0x158]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10054df0
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [eax + edx*4 + 0x158], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x254]
test eax, eax
je 0x1009bee5
xor eax, eax
jmp 0x1009bfa2
mov ecx, dword [ebp - 4]
push ecx
call fcn.10056cd0
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xf8]
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
mov ecx, dword [ebp + 8]
push ecx
call fcn.10058cd0
add esp, 0xc
mov eax, 0x38
jmp 0x1009bfa2
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc9c]
push ecx
call dword [0x100d05f8]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0xc9c], 0
xor eax, eax
jne 0x1009bf20
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc9c], 0
mov edx, dword [ebp + 8]
mov byte [edx + 0x9a4], 1
mov eax, dword [ebp + 8]
mov byte [eax + 0x9a5], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd04]
push edx
push str.Proxy_replied__d_to_CONNECT_request_n
mov eax, dword [ebp + 8]
push eax
call fcn.100588f0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x147], 0
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x262], 0
mov eax, dword [ebp - 4]
push eax
call fcn.10056cd0
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret