Function at 0x435f90
Capabilities:
Check http status code

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebx + eax*4 + 0x1a8]
push ebp
push esi
mov esi, dword [ebx + 0x650]
xor ebp, ebp
push edi
mov edi, dword [ebx]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], ebp
cmp esi, ebp
je 0x436a57
cmp dword [esi + 0x401c], 2
je 0x436a57
mov dword [ebx + 0x2f8], ebp
jmp 0x435fe0
cmp dword [esi + 0x401c], ebp
jne 0x43625f
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push edx
push eax
push str.Establish_HTTP_proxy_tunnel_to__s:_hu_n
push edi
call fcn.00414ea0
mov ecx, dword [edi + 0x148]
push ecx
call dword [0x46c004]
add esp, 0x14
mov dword [edi + 0x148], 0
call fcn.004313a0
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x436898
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push edx
push eax
push str._s:_hu
call fcn.0041c0e0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x43688f
mov ecx, dword [esp + 0x3c]
push 1
push ebx
push str.CONNECT
push ecx
call fcn.00430ef0
push ebx
mov ebp, eax
call dword [0x46c004]
add esp, 0x14
test ebp, ebp
jne 0x436236
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x3c]
cmp dword [ebp + 0xf0], 1
mov eax, 0x468e9c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x463b2c
je 0x4360a3
mov dword [esp + 0x24], 0x463b30
mov ebx, dword [esp + 0x44]
mov eax, dword [ebp + 0x2b8]
cmp ebx, dword [ebp + 0xa0]
je 0x4360c6
push 0x3a
push ebx
call fcn.00446420
add esp, 8
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x4360d6
mov ecx, 0x45ca28
mov eax, 0x45ca0c
jmp 0x4360dd
mov ecx, 0x468e9c
mov eax, ecx
mov edx, dword [esp + 0x48]
push edx
push ecx
push ebx
push eax
push str._s_s_s:_hu
call fcn.0041c0e0
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x4368a5
push str.Host:
push ebp
call fcn.00430910
add esp, 8
test eax, eax
jne 0x43612c
push ebx
push str.Host:__s_r_n
call fcn.0041c0e0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4368bf
push str.Proxy_Connection:
push ebp
call fcn.00430910
add esp, 8
test eax, eax
jne 0x436146
mov dword [esp + 0x1c], str.Proxy_Connection:_Keep_Alive_r_n
push str.User_Agent:
push ebp
call fcn.00430910
add esp, 8
test eax, eax
jne 0x43616a
cmp dword [edi + 0x658], eax
je 0x43616a
mov eax, dword [ebp + 0x358]
mov dword [esp + 0x20], eax
mov ebp, dword [ebp + 0x354]
mov ecx, ebp
test ebp, ebp
jne 0x43617b
mov ecx, 0x468e9c
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x436188
mov eax, 0x468e9c
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
push edx
push ecx
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
push ebx
call fcn.00431e90
add esp, 0x20
cmp dword [esp + 0x14], 0
mov ebp, eax
je 0x4361c7
mov edx, dword [esp + 0x14]
push edx
call dword [0x46c004]
add esp, 4
mov eax, dword [esp + 0x28]
push eax
call dword [0x46c004]
add esp, 4
test ebp, ebp
jne 0x436220
mov ecx, dword [esp + 0x3c]
push ebx
push 1
push ecx
call fcn.00432000
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x436220
push 0x4695e0
push ebx
call fcn.00431e90
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x436220
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
push eax
lea eax, [edi + 0x4cd0]
push eax
push ecx
push ebx
call fcn.004313e0
add esp, 0x14
mov ebp, eax
xor ebx, ebx
test ebp, ebp
je 0x43623a
push str.Failed_sending_CONNECT_to_proxy
push edi
call fcn.00414f30
add esp, 8
jmp 0x43623a
mov ebx, dword [esp + 0x18]
push ebx
call fcn.004313b0
add esp, 4
test ebp, ebp
jne 0x4368e0
mov ebx, dword [esp + 0x3c]
mov dword [esi + 0x401c], 1
mov dword [esi + 0x4000], ebp
push 1
push ebp
push edi
call fcn.00416fd0
add esp, 0xc
cmp edx, ebp
jl 0x4368ea
jg 0x43627d
cmp eax, ebp
jbe 0x4368ea
mov edx, dword [esp + 0x40]
push edx
push ebx
call fcn.00417ad0
add esp, 8
test eax, eax
je 0x436a57
mov dword [esp + 0x28], ebp
cmp dword [esi + 0x4004], ebp
je 0x43636c
lea ebx, [esi + 0x4000]
lea esp, [esp]
mov eax, dword [esi + 0x400c]
cmp eax, ebx
jae 0x436905
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
push ecx
push 1
push eax
mov eax, dword [esp + 0x48]
push edx
push eax
call fcn.00414be0
mov ebp, eax
add esp, 0x14
cmp ebp, 0x51
je 0x436a57
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0041f930
add esp, 4
test eax, eax
jne 0x436920
test ebp, ebp
jne 0x43635c
cmp dword [esp + 0x2c], ebp
jle 0x4367db
cmp dword [esi + 0x4004], 1
jle 0x436414
mov eax, dword [esi + 0x4010]
mov ecx, dword [esi + 0x4014]
mov edx, eax
or edx, ecx
mov dword [esi + 0x400c], esi
je 0x4363d1
sub eax, 1
sbb ecx, ebp
mov dword [esi + 0x4010], eax
mov dword [esi + 0x4014], ecx
test ecx, ecx
jl 0x436352
jg 0x4367c9
test eax, eax
ja 0x4367c9
mov dword [esi + 0x401c], 2
mov dword [esi + 0x4004], 0
mov ebx, dword [esp + 0x3c]
xor ebp, ebp
push ebx
call fcn.0041f930
add esp, 4
test eax, eax
jne 0x436920
cmp dword [esp + 0x28], ebp
jne 0x436913
mov ecx, dword [edi + 0x4cbc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
je 0x436829
push ebx
call fcn.00431cc0
add esp, 4
cmp eax, ebp
jne 0x436a59
cmp dword [ebx + 0x294], ebp
je 0x436829
mov dword [esp + 0x10], 1
jmp 0x43682f
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x24]
push eax
push 1
push esi
push ecx
mov dword [esp + 0x34], 0
call fcn.0043b100
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4367c9
push str.chunk_reading_DONE_n
push edi
call fcn.00414ea0
add esp, 8
mov dword [esi + 0x4004], 0
jmp 0x4367bf
inc dword [ebx]
mov eax, dword [esi + 0x400c]
cmp byte [eax], 0xa
mov ecx, dword [ebx]
je 0x43642f
inc eax
mov dword [esi + 0x400c], eax
jmp 0x4367c9
cmp dword [edi + 0x570], 0
je 0x436450
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x4008]
push edx
push ecx
push eax
push 1
push edi
call fcn.00414d60
add esp, 0x14
cmp dword [edi + 0x710], 0
jne 0x43648c
cmp dword [edi + 0x558], 0
mov eax, 2
je 0x43646c
mov eax, 3
mov ecx, dword [ebx]
mov edx, dword [esi + 0x4008]
push ecx
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.00415310
add esp, 0x10
test eax, eax
jne 0x436a59
mov ecx, dword [ebx]
add dword [edi + 0x4ccc], ecx
mov edx, dword [ebx]
add dword [edi + 0xa0], edx
mov eax, dword [esi + 0x4008]
mov cl, byte [eax]
cmp cl, 0xd
je 0x4366ea
cmp cl, 0xa
je 0x4366ea
mov ecx, dword [ebx]
mov byte [eax + ecx], 0
mov edx, dword [esi + 0x4008]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.0041a240
add esp, 0xc
test eax, eax
je 0x4364e3
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
je 0x43650a
mov eax, dword [esi + 0x4008]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.0041a240
add esp, 0xc
test eax, eax
je 0x436557
mov eax, dword [edi + 0xf8]
cmp eax, 0x197
jne 0x436557
mov ecx, dword [esi + 0x4008]
xor ebx, ebx
cmp eax, 0x197
push ecx
sete bl
call fcn.00430980
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x436898
mov edx, dword [esp + 0x3c]
push ebp
push ebx
push edx
call fcn.00431000
push ebp
mov ebx, eax
call dword [0x46c004]
add esp, 0x10
test ebx, ebx
je 0x4366cd
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x28
ret
mov eax, dword [esi + 0x4008]
push 0xf
push eax
push str.Content_Length:
call fcn.0041a240
add esp, 0xc
test eax, eax
je 0x4365c3
mov ecx, dword [edi + 0xf8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x4365a1
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response_n
push edi
call fcn.00414ea0
add esp, 0xc
jmp 0x4366cd
mov edx, dword [esi + 0x4008]
lea ecx, [esi + 0x4010]
push ecx
push 0xa
add edx, 0xf
push 0
push edx
call fcn.0043ae20
add esp, 0x10
jmp 0x4366cd
mov eax, dword [esi + 0x4008]
push str.close
push str.Connection:
push eax
call fcn.00431690
add esp, 0xc
test eax, eax
je 0x4365ed
mov dword [esp + 0x10], 1
jmp 0x4366cd
mov ecx, dword [esi + 0x4008]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.0041a240
add esp, 0xc
test eax, eax
je 0x436678
mov ecx, dword [edi + 0xf8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x436637
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response_n
push edi
call fcn.00414ea0
add esp, 0xc
jmp 0x4366cd
mov ecx, dword [esi + 0x4008]
push str.chunked
push str.Transfer_Encoding:
push ecx
call fcn.00431690
add esp, 0xc
test eax, eax
je 0x4366cd
push str.CONNECT_responded_chunked_n
push edi
call fcn.00414ea0
mov edx, dword [esp + 0x44]
push edx
mov dword [esi + 0x4018], 1
call fcn.0043b0f0
add esp, 0xc
jmp 0x4366cd
mov eax, dword [esi + 0x4008]
push str.close
push str.Proxy_Connection:
push eax
call fcn.00431690
add esp, 0xc
test eax, eax
je 0x43669f
mov dword [esp + 0x10], 1
jmp 0x4366cd
mov edx, dword [esi + 0x4008]
lea ebp, [edi + 0xf8]
push ebp
lea ecx, [esp + 0x38]
push ecx
push str.HTTP_1._d__d
push edx
call fcn.00446cbb
add esp, 0x10
cmp eax, 2
jne 0x4366cd
mov eax, dword [ebp]
mov dword [edi + 0x4cbc], eax
lea ebx, [esi + 0x4000]
mov dword [ebx], 0
mov dword [esi + 0x400c], esi
mov dword [esi + 0x4008], esi
jmp 0x4367c9
mov dword [esi + 0x400c], esi
cmp dword [edi + 0xf8], 0x197
jne 0x4367a7
cmp dword [edi + 0x4a3c], 0
jne 0x4367a7
mov eax, dword [esi + 0x4010]
mov ecx, dword [esi + 0x4014]
mov edx, eax
or edx, ecx
mov dword [esi + 0x4004], 2
je 0x43673b
push ecx
push eax
push str.Ignore__I64d_bytes_of_response_body_n
push edi
call fcn.00414ea0
add esp, 0x10
jmp 0x4367b1
cmp dword [esi + 0x4018], 0
je 0x4367a7
push str.Ignore_chunked_response_body_n
push edi
call fcn.00414ea0
mov dword [edi + 0x13c], 1
mov eax, dword [esi + 0x4008]
inc eax
add esp, 8
cmp byte [eax], 0xa
jne 0x43676e
mov dword [esi + 0x4008], eax
mov ecx, dword [esi + 0x4008]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x2c]
push eax
push 1
inc ecx
push ecx
push edx
call fcn.0043b100
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4367b1
push str.chunk_reading_DONE_n
push edi
call fcn.00414ea0
add esp, 8
mov dword [esi + 0x401c], 2
mov dword [esi + 0x4004], 0
mov eax, dword [esi + 0x4010]
or eax, dword [esi + 0x4014]
jne 0x4367c9
mov dword [esi + 0x401c], 2
cmp dword [esi + 0x4004], 0
jne 0x4362b0
jmp 0x436366
cmp dword [edi + 0x190], 0
je 0x43680e
cmp dword [edi + 0x4a2c], 0
je 0x43680e
mov ecx, dword [esp + 0x3c]
push str.Proxy_CONNECT_connection_closed_n
push edi
mov dword [ecx + 0x2f8], 1
call fcn.00414ea0
add esp, 8
jmp 0x43635c
push str.Proxy_CONNECT_aborted
push edi
mov dword [esp + 0x30], 1
call fcn.00414f30
add esp, 8
jmp 0x43635c
cmp dword [esp + 0x10], ebp
je 0x43683b
cmp dword [edi + 0x148], ebp
jne 0x43692d
cmp dword [edi + 0x148], ebp
je 0x436951
cmp dword [esi + 0x401c], 2
jne 0x43687e
mov eax, dword [ebx + 0x650]
mov dword [eax + 0x401c], ebp
mov dword [eax + 0x4004], 1
mov dword [eax + 0x4008], eax
mov dword [eax + 0x400c], eax
mov dword [eax + 0x4010], ebp
mov dword [eax + 0x4014], ebp
cmp dword [edi + 0x148], ebp
jne 0x435fe0
jmp 0x436951
push ebp
call fcn.004313b0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004313b0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x28
ret
push ebx
call dword [0x46c004]
mov edx, dword [esp + 0x1c]
push edx
call fcn.004313b0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x28
ret
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x28
ret
push str.Proxy_CONNECT_aborted_due_to_timeout
push edi
call fcn.00414f30
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1c
pop ebx
add esp, 0x28
ret
push str.CONNECT_response_too_large_
push edi
call fcn.00414f30
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + eax*4 + 0x1a8]
push ecx
push ebx
call fcn.00417940
mov edx, dword [esp + 0x48]
add esp, 8
mov dword [ebx + edx*4 + 0x1a8], 0xffffffff
mov ecx, dword [edi + 0x4cbc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
je 0x436a0f
cmp dword [esp + 0x10], ebp
je 0x4369a0
cmp dword [edi + 0x148], ebp
je 0x4369a0
push str.Connect_me_again_please_n
push edi
mov dword [ebx + 0x2f8], 1
call fcn.00414ea0
add esp, 8
mov eax, ebx
call fcn.00435f60
jmp 0x4369df
mov ecx, dword [edi + 0x148]
push ecx
call dword [0x46c004]
push 2
push ebx
mov dword [edi + 0x148], ebp
call fcn.00417a80
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx + edx*4 + 0x1a8]
push eax
push ebx
call fcn.00417940
mov ecx, dword [esp + 0x54]
add esp, 0x14
mov dword [ebx + ecx*4 + 0x1a8], 0xffffffff
mov dword [esi + 0x401c], ebp
cmp dword [ebx + 0x2f8], ebp
jne 0x436a57
mov edx, dword [edi + 0xf8]
push edx
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push edi
call fcn.00414f30
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x28
ret
mov dword [esi + 0x401c], 2
mov eax, dword [ebx + 0x354]
push eax
call dword [0x46c004]
mov dword [ebx + 0x354], ebp
mov ecx, dword [edi + 0x4cbc]
push ecx
push str.Proxy_replied__d_to_CONNECT_request_n
push edi
mov dword [edi + 0x4a30], 1
call fcn.00414ea0
mov dword [edi + 0x13c], ebp
add esp, 0x10
mov dword [ebx + 0x2dc], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret