Function at 0x45adc0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov edx, dword [esi + 0x134]
push ebx
push ebp
xor ebp, ebp
push edi
mov edi, dword [esi + 0xc]
mov dword [esp + 0x2c], ebp
mov ebx, dword [edi + 0x440]
mov ecx, dword [edi + eax*4 + 0x130]
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], edx
cmp ebx, ebp
je 0x45b8c4
cmp dword [ebx + 0x1f0], 2
jge 0x45b8c4
mov dword [edi + 0x274], ebp
lea ecx, [ecx]
cmp dword [ebx + 0x1f0], ebp
jne 0x45aff3
mov edi, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
push edi
push eax
push str.Establish_HTTP_proxy_tunnel_to__s:_d
push esi
lea ebp, [ebx + 0x1cc]
call fcn.0042cb10
mov ecx, dword [esi + 0x128]
push ecx
call dword [0x7d0024]
push 0x100000
push ebp
mov dword [esi + 0x128], 0
call fcn.0042dd10
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x38]
push esi
call fcn.0045ad10
add esp, 0x2c
test eax, eax
jne 0x45b8c6
mov ecx, dword [esp + 0x14]
push 1
push ecx
push eax
push str.CONNECT
mov edx, edi
push edx
push esi
call fcn.00444dd0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x45afc2
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xb0], 1
mov edx, 0x734010
je 0x45aec1
mov edx, 0x734014
mov ecx, dword [esi + 0xe2c]
test ecx, ecx
jne 0x45aed0
mov ecx, 0x7c0611
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x45aedd
mov eax, 0x7c0611
push ecx
mov ecx, dword [esp + 0x18]
push eax
push edx
push ecx
push str.CONNECT__s_HTTP__s_r_n_s_s
push ebp
call fcn.0042dee0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x45afb4
mov edx, dword [esp + 0x10]
push 0xa
push str.User_Agent
push edx
push esi
call fcn.00444770
add esp, 0x10
test eax, eax
jne 0x45af35
mov eax, dword [esi + 0x5f8]
test eax, eax
je 0x45af35
push eax
push str.User_Agent:__s_r_n
push ebp
call fcn.0042dee0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x45afb4
mov eax, dword [esp + 0x10]
push 0x10
push str.Proxy_Connection
push eax
push esi
call fcn.00444770
add esp, 0x10
test eax, eax
jne 0x45af64
push 0x1e
push str.Proxy_Connection:_Keep_Alive_r_n
push ebp
call fcn.0042de70
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x45afb4
push ebp
push 1
push esi
call fcn.00445a40
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x45afb4
push 2
push 0x7c5ab4
push ebp
call fcn.0042de70
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x45afb4
mov ecx, dword [esp + 0x3c]
push ecx
push eax
push eax
lea edx, [esi + 0xf00]
push edx
push esi
push ebp
call fcn.004452f0
mov edi, eax
add esp, 0x18
mov dword [ebx + 0x1e0], 0
test edi, edi
je 0x45afc2
push str.Failed_sending_CONNECT_to_proxy
push esi
call fcn.0042cb90
add esp, 8
mov eax, dword [esp + 0x18]
push eax
call dword [0x7d0024]
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x7d0024]
add esp, 8
test edi, edi
jne 0x45b762
mov edi, dword [esp + 0x10]
mov dword [ebx + 0x1f0], 1
xor ebp, ebp
push 1
push ebp
push esi
call fcn.0042e250
add esp, 0xc
cmp edx, ebp
jl 0x45b6f8
jg 0x45b011
cmp eax, ebp
jbe 0x45b6f8
mov edx, dword [esp + 0x3c]
push edx
push edi
call fcn.0042f350
add esp, 8
test eax, eax
jne 0x45b033
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x1a0], ebp
je 0x45b8c4
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x1a0], 1
jne 0x45b091
cmp dword [ebx + 0x1dc], ebp
jne 0x45b712
mov edx, dword [esi + 0x9e0]
lea eax, [esp + 0x24]
mov dword [esi + 0x130], edx
mov ecx, dword [esi + 0x528]
push eax
push ecx
push esi
call fcn.004507e0
add esp, 0xc
cmp eax, ebp
jne 0x45b8c6
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x1dc], edx
cmp edx, ebp
jne 0x45b712
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x1a0], ebp
mov dword [esp + 0x18], ebp
cmp dword [ebx + 0x1e4], ebp
je 0x45b141
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push ecx
push 1
lea edx, [esp + 0x17]
push edx
push eax
push esi
call fcn.0042ca00
mov edi, eax
add esp, 0x14
cmp edi, 0x51
je 0x45b8c4
push esi
call fcn.0044fda0
add esp, 4
test eax, eax
jne 0x45b76b
xor ebp, ebp
cmp edi, ebp
jne 0x45b137
cmp dword [esp + 0x20], ebp
jle 0x45b658
mov edx, 2
cmp dword [ebx + 0x1e4], edx
jne 0x45b23c
mov eax, dword [ebx + 0x1e8]
mov ecx, dword [ebx + 0x1ec]
mov edi, eax
or edi, ecx
je 0x45b1f2
sub eax, 1
sbb ecx, ebp
mov dword [ebx + 0x1e8], eax
mov dword [ebx + 0x1ec], ecx
cmp ecx, ebp
jl 0x45b131
jg 0x45b5ba
cmp eax, ebp
ja 0x45b5ba
mov dword [ebx + 0x1f0], edx
mov dword [ebx + 0x1e4], ebp
mov edi, dword [esp + 0x10]
push esi
call fcn.0044fda0
add esp, 4
test eax, eax
jne 0x45b76b
cmp dword [esp + 0x18], ebp
jne 0x45b785
mov eax, 0x51eb851f
imul dword [esi + 0xee4]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 2
je 0x45b199
push esi
call fcn.00448710
add esp, 4
cmp eax, ebp
jne 0x45b8c6
cmp dword [edi + 0x27c], ebp
je 0x45b199
mov dword [ebx + 0x1f8], 1
cmp dword [ebx + 0x1f8], ebp
je 0x45b1ad
cmp dword [esi + 0x128], ebp
jne 0x45b79d
cmp dword [esi + 0x128], ebp
je 0x45b7c2
cmp dword [ebx + 0x1f0], 2
jne 0x45b6e7
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x308]
test dword [ecx + 0x4c], 0x4000
je 0x45b6ac
mov edx, dword [ecx]
push edx
push str._s_cannot_be_done_over_CONNECT
push esi
call fcn.0042cb90
add esp, 0xc
jmp 0x45b6e7
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x18]
push edx
push 1
lea eax, [esp + 0x1b]
push eax
push esi
mov dword [esp + 0x28], ebp
call fcn.0045a0f0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x45b5ba
push str.chunk_reading_DONE
push esi
call fcn.0042cb10
add esp, 8
mov dword [ebx + 0x1e4], ebp
mov dword [ebx + 0x1f0], 2
jmp 0x45b5ba
push 1
lea ecx, [esp + 0x13]
lea eax, [ebx + 0x1bc]
push ecx
push eax
call fcn.0042de70
add esp, 0xc
test eax, eax
jne 0x45b777
cmp byte [esp + 0xf], 0xa
jne 0x45b5ba
inc dword [ebx + 0x1e0]
lea edi, [ebx + 0x1bc]
push edi
call fcn.0042df00
push edi
mov ebp, eax
call fcn.0042df20
mov edi, eax
push edi
push ebp
push 1
push esi
call fcn.0042ca70
add esp, 0x18
cmp dword [esi + 0x7e0], 0
jne 0x45b2cc
mov edx, dword [ebx + 0x1e0]
xor eax, eax
cmp dword [esi + 0x78c], eax
push edi
setne al
dec edx
neg edx
sbb edx, edx
and edx, 0xfffffffc
add edx, 4
push ebp
or eax, edx
or eax, 0xa
push eax
push esi
call fcn.0042d000
add esp, 0x10
test eax, eax
jne 0x45b8c6
mov eax, edi
cdq
add dword [esi + 0xef8], eax
adc dword [esi + 0xefc], edx
mov al, byte [ebp]
cmp al, 0xd
je 0x45b54f
cmp al, 0xa
je 0x45b54f
push 0x11
push str.WWW_Authenticate:
push ebp
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x45b30f
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
je 0x45b330
push 0x13
push str.Proxy_authenticate:
push ebp
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x45b37f
mov eax, dword [esi + 0xf0]
cmp eax, 0x197
jne 0x45b37f
xor ecx, ecx
cmp eax, 0x197
sete cl
push ebp
mov edi, ecx
call fcn.004447e0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x45b791
push ebp
push edi
push esi
call fcn.00444f50
push ebp
mov edi, eax
call dword [0x7d0024]
add esp, 0x10
test edi, edi
jne 0x45b762
lea eax, [ebx + 0x1bc]
push eax
call fcn.0042ddf0
add esp, 4
jmp 0x45b5ba
push 0xf
push str.Content_Length:
push ebp
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x45b3fd
mov ecx, dword [esi + 0xf0]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x45b3d2
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response
push esi
call fcn.0042cb10
lea eax, [ebx + 0x1bc]
add esp, 0xc
push eax
call fcn.0042ddf0
add esp, 4
jmp 0x45b5ba
lea ecx, [ebx + 0x1e8]
push ecx
push 0xa
push 0
add ebp, 0xf
push ebp
call fcn.00453690
lea eax, [ebx + 0x1bc]
add esp, 0x10
push eax
call fcn.0042ddf0
add esp, 4
jmp 0x45b5ba
push 5
push str.close
push 0xb
push str.Connection:
push ebp
call fcn.004455b0
add esp, 0x14
test eax, eax
je 0x45b436
lea eax, [ebx + 0x1bc]
push eax
mov dword [ebx + 0x1f8], 1
call fcn.0042ddf0
add esp, 4
jmp 0x45b5ba
push 0x12
push str.Transfer_Encoding:
push ebp
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x45b4de
mov ecx, dword [esi + 0xf0]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x45b48d
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
push esi
call fcn.0042cb10
lea eax, [ebx + 0x1bc]
add esp, 0xc
push eax
call fcn.0042ddf0
add esp, 4
jmp 0x45b5ba
push 7
push str.chunked
push 0x12
push str.Transfer_Encoding:
push ebp
call fcn.004455b0
add esp, 0x14
test eax, eax
je 0x45b53e
push str.CONNECT_responded_chunked
push esi
call fcn.0042cb10
push esi
mov dword [ebx + 0x1f4], 1
call fcn.0045a0c0
lea eax, [ebx + 0x1bc]
add esp, 0xc
push eax
call fcn.0042ddf0
add esp, 4
jmp 0x45b5ba
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push ebp
call fcn.004455b0
add esp, 0x14
test eax, eax
je 0x45b517
lea eax, [ebx + 0x1bc]
push eax
mov dword [ebx + 0x1f8], 1
call fcn.0042ddf0
add esp, 4
jmp 0x45b5ba
lea edi, [esi + 0xf0]
push edi
lea ecx, [esp + 0x30]
push ecx
push str.HTTP_1._d__d
push ebp
call fcn.004d5985
add esp, 0x10
cmp eax, 2
jne 0x45b53e
mov edx, dword [edi]
mov dword [esi + 0xee4], edx
lea eax, [ebx + 0x1bc]
push eax
call fcn.0042ddf0
add esp, 4
jmp 0x45b5ba
cmp dword [esi + 0xf0], 0x197
jne 0x45b644
cmp dword [esi + 0xe78], 0
jne 0x45b644
mov eax, dword [ebx + 0x1e8]
mov ecx, dword [ebx + 0x1ec]
mov edx, eax
or edx, ecx
mov edi, 2
mov dword [ebx + 0x1e4], edi
je 0x45b5ce
push ecx
push eax
push str.Ignore__I64d_bytes_of_response_body
push esi
call fcn.0042cb10
add esp, 0x10
cmp dword [ebx + 0x1e4], 0
jne 0x45b0a1
mov edx, dword [ebx + 0x1e8]
or edx, dword [ebx + 0x1ec]
jne 0x45b5ba
mov dword [ebx + 0x1f0], edi
cmp dword [ebx + 0x1e4], 0
jne 0x45b0a1
xor ebp, ebp
jmp 0x45b13d
cmp dword [ebx + 0x1f4], 0
je 0x45b635
push str.Ignore_chunked_response_body
push esi
call fcn.0042cb10
add esp, 8
mov dword [esi + 0x14c], 1
cmp byte [ebp + 1], 0xa
jne 0x45b5f6
inc ebp
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
push 1
inc ebp
push ebp
push esi
call fcn.0045a0f0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x45b599
push str.chunk_reading_DONE
push esi
call fcn.0042cb10
add esp, 8
mov dword [ebx + 0x1e4], 0
mov dword [ebx + 0x1f0], edi
jmp 0x45b5a6
mov dword [ebx + 0x1e4], 0
jmp 0x45b5a6
mov dword [ebx + 0x1e4], 0
mov edi, 2
jmp 0x45b5a6
cmp dword [esi + 0x18c], ebp
je 0x45b691
cmp dword [esi + 0xacc], ebp
je 0x45b691
cmp dword [esi + 0xe2c], ebp
je 0x45b691
mov eax, dword [esp + 0x10]
push str.Proxy_CONNECT_connection_closed
push esi
mov dword [eax + 0x274], 1
call fcn.0042cb10
add esp, 8
jmp 0x45b137
push str.Proxy_CONNECT_aborted
push esi
mov dword [esp + 0x20], 1
call fcn.0042cb90
add esp, 8
jmp 0x45b137
mov edi, dword [eax + 0x440]
lea eax, [edi + 0x1bc]
push eax
call fcn.0042ddf0
mov dword [edi + 0x1f0], ebp
mov dword [edi + 0x1e4], 1
mov dword [edi + 0x1e8], ebp
mov dword [edi + 0x1ec], ebp
mov dword [edi + 0x1f8], ebp
mov edi, dword [esp + 0x14]
add esp, 4
cmp dword [esi + 0x128], ebp
jne 0x45ae10
jmp 0x45b7c2
push str.Proxy_CONNECT_aborted_due_to_timeout
push esi
call fcn.0042cb90
add esp, 8
pop edi
pop ebp
mov eax, 0x1c
pop ebx
add esp, 0x2c
ret
mov edx, dword [ebx + 0x1dc]
mov eax, dword [esi + 0x130]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [edi + 0x324]
push edx
push eax
push ecx
push esi
call fcn.0042c8a0
mov edi, eax
add esp, 0x14
cmp edi, ebp
jne 0x45b752
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x130]
push edx
push eax
push 2
push esi
call fcn.0042ca70
add esp, 0x10
mov eax, dword [esp + 0x3c]
sub dword [ebx + 0x1dc], eax
add dword [esi + 0x130], eax
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x2c
ret
pop edi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x2c
ret
push str.CONNECT_response_too_large
push esi
call fcn.0042cb90
add esp, 8
pop edi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x2c
ret
pop edi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi + ecx*4 + 0x130]
push edx
push edi
push esi
call fcn.0042f140
mov eax, dword [esp + 0x48]
add esp, 0xc
mov dword [edi + eax*4 + 0x130], 0xffffffff
mov eax, 0x51eb851f
imul dword [esi + 0xee4]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 2
je 0x45b86a
cmp dword [ebx + 0x1f8], ebp
je 0x45b80d
cmp dword [esi + 0x128], ebp
je 0x45b80d
push str.Connect_me_again_please
push esi
mov dword [edi + 0x274], 1
call fcn.0042cb10
push esi
call fcn.0045aca0
jmp 0x45b828
mov edx, dword [esi + 0x128]
push edx
call dword [0x7d0024]
push 2
push edi
mov dword [esi + 0x128], ebp
call fcn.0042f300
add esp, 0xc
mov dword [ebx + 0x1f0], ebp
cmp dword [edi + 0x274], ebp
jne 0x45b8c4
add ebx, 0x1bc
push ebx
call fcn.0042dd30
mov eax, dword [esi + 0xf0]
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push esi
call fcn.0042cb90
add esp, 0x10
pop edi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x2c
ret
mov dword [ebx + 0x1f0], 2
mov ecx, dword [esi + 0xe2c]
push ecx
call dword [0x7d0024]
mov edx, dword [esi + 0xee4]
push edx
push str.Proxy_replied__d_to_CONNECT_request
push esi
mov dword [esi + 0xe2c], ebp
mov dword [esi + 0xad0], 1
mov dword [esi + 0xad4], ebp
call fcn.0042cb10
add ebx, 0x1bc
mov dword [esi + 0x14c], ebp
push ebx
mov dword [edi + 0x2a8], ebp
call fcn.0042dd30
add esp, 0x14
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0x2c
ret