Function at 0x443b60
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, dword [ebx]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
cmp dword [ebx + edi*4 + 0x5cc], 2
mov ecx, dword [ebx + edi*4 + 0x198]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
je 0x44458b
mov dword [ebx + 0x308], eax
nop
cmp dword [ebx + edi*4 + 0x5cc], eax
jne 0x443dfc
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push edi
push edx
push str.Establish_HTTP_proxy_tunnel_to__s:_hu_n
push esi
call fcn.0041a580
mov eax, dword [esi + 0x128]
push eax
call dword [0x5e2060]
add esp, 0x14
mov dword [esi + 0x128], 0
call fcn.0043ef00
mov dword [ebp - 4], eax
test eax, eax
je 0x4443fb
mov ecx, dword [ebp + 0xc]
push edi
push ecx
push str._s:_hu
call fcn.00428820
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4443ef
push 1
mov edx, eax
push edx
push str.CONNECT
push ebx
call fcn.0043eb20
mov edi, eax
mov eax, dword [ebp - 0x10]
push eax
call dword [0x5e2060]
add esp, 0x14
test edi, edi
jne 0x443dd8
cmp dword [ebx + 0xf0], 1
mov eax, 0x5d07c8
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0x593044
je 0x443c53
mov dword [ebp - 0x1c], 0x593048
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x2c8]
cmp edi, dword [ebx + 0xa0]
je 0x443c75
push 0x3a
push edi
call fcn.00554fb0
add esp, 8
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x443c85
mov ecx, 0x58b770
mov eax, 0x58b754
jmp 0x443c8c
mov ecx, 0x5d07c8
mov eax, ecx
mov edx, dword [ebp + 0x10]
push edx
push ecx
push edi
push eax
push str._s_s_s:_hu
call fcn.00428820
mov edi, eax
add esp, 0x14
mov dword [ebp - 0x20], edi
test edi, edi
je 0x444406
push str.Host:
push ebx
call fcn.0043e5a0
add esp, 8
test eax, eax
jne 0x443cd8
push edi
push str.Host:__s_r_n
call fcn.00428820
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
je 0x44441d
push str.Proxy_Connection:
push ebx
call fcn.0043e5a0
add esp, 8
test eax, eax
jne 0x443cf1
mov dword [ebp - 0xc], str.Proxy_Connection:_Keep_Alive_r_n
push str.User_Agent:
push ebx
call fcn.0043e5a0
add esp, 8
test eax, eax
jne 0x443d14
cmp dword [esi + 0x4c4], eax
je 0x443d14
mov eax, dword [ebx + 0x360]
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 0x35c]
test ecx, ecx
jne 0x443d23
mov ecx, 0x5d07c8
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x443d2f
mov eax, 0x5d07c8
mov edx, dword [ebp - 0xc]
push edx
mov edx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push ecx
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
push edx
call fcn.0043f9b0
add esp, 0x20
cmp dword [ebp - 0x10], 0
mov edi, eax
je 0x443d67
mov eax, dword [ebp - 0x10]
push eax
call dword [0x5e2060]
add esp, 4
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x5e2060]
add esp, 4
test edi, edi
jne 0x443dbf
mov edx, dword [ebp - 4]
push edx
push 1
push ebx
call fcn.0043fb20
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x443dbf
mov eax, dword [ebp - 4]
push 0x58bdf4
push eax
call fcn.0043f9b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x443dbf
mov ecx, dword [ebp + 8]
push ecx
push eax
mov eax, dword [ebp - 4]
lea edx, [esi + 0x49a8]
push edx
push ebx
push eax
call fcn.0043ef40
add esp, 0x14
mov edi, eax
mov dword [ebp - 4], 0
test edi, edi
je 0x443dd8
push str.Failed_sending_CONNECT_to_proxy
push esi
call fcn.0041a600
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043ef10
add esp, 4
test edi, edi
jne 0x44443b
mov edx, dword [ebp + 8]
mov dword [ebx + edx*4 + 0x5cc], 1
mov edi, edx
push 1
push 0
push esi
call fcn.0041cae0
add esp, 0xc
test edx, edx
jl 0x444443
jg 0x443e1b
test eax, eax
je 0x444443
push edi
push ebx
call fcn.0041d6d0
add esp, 8
test eax, eax
je 0x44458b
mov edi, dword [ebx + 0x5dc]
xor eax, eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x444348
push ebx
call fcn.0042da20
add esp, 4
test eax, eax
jne 0x44445c
mov eax, dword [ebx + 0x5dc]
add eax, 0x4000
cmp dword [ebp - 4], eax
jae 0x444467
push 1
push 0
push esi
call fcn.0041cae0
add esp, 0xc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
test edx, edx
jl 0x4442f1
jg 0x443e99
test eax, eax
jbe 0x4442f1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x2c]
push ecx
push 1
push edx
push eax
push ebx
call fcn.0041a300
add esp, 0x14
cmp eax, 0x51
jne 0x443f00
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jg 0x443ecc
jl 0x443ec7
cmp dword [ebp - 0x40], 0x3e8
jae 0x443ecc
mov eax, dword [ebp - 0x40]
jmp 0x443ed3
mov eax, 0x3e8
xor ecx, ecx
push ecx
mov ecx, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
call fcn.0040d7a0
add esp, 0x14
cmp eax, 0xffffffff
je 0x444305
cmp dword [ebp - 0x10], 0x4000
jb 0x443e45
jmp 0x444348
test eax, eax
jne 0x444348
xor ecx, ecx
cmp dword [ebp - 0x2c], ecx
jle 0x44430c
mov eax, 1
add dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], eax
jle 0x443f9b
mov eax, dword [ebp - 0x38]
or eax, dword [ebp - 0x34]
mov edx, dword [ebx + 0x5dc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
je 0x443f57
or eax, 0xffffffff
add dword [ebp - 0x38], eax
adc dword [ebp - 0x34], eax
js 0x444348
jg 0x443e45
cmp dword [ebp - 0x38], ecx
jbe 0x444348
jmp 0x443e45
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push ecx
push 1
push edx
push ebx
call fcn.004636c0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x443e45
push str.chunk_reading_DONE_n
push esi
call fcn.0041a580
mov eax, dword [ebp + 8]
add esp, 8
mov dword [ebp - 0xc], 0
mov dword [ebx + eax*4 + 0x5cc], 2
jmp 0x443e45
mov edx, dword [ebp - 4]
add dword [ebp - 8], eax
cmp byte [edx], 0xa
je 0x443fae
add dword [ebp - 4], eax
jmp 0x443eee
cmp dword [esi + 0x3dc], ecx
je 0x443fc9
mov eax, dword [ebp - 8]
push ebx
push eax
push edi
push 1
push esi
call fcn.0041a4a0
add esp, 0x14
xor ecx, ecx
cmp dword [esi + 0x570], ecx
jne 0x443ffc
mov eax, 2
cmp dword [esi + 0x3c4], ecx
je 0x443fe3
mov eax, 3
mov ecx, dword [ebp - 8]
push ecx
push edi
push eax
push ebx
call fcn.0041a9b0
add esp, 0x10
test eax, eax
jne 0x44458d
xor ecx, ecx
mov eax, dword [ebp - 8]
add dword [esi + 0x49a4], eax
add dword [esi + 0xa0], eax
mov al, byte [edi]
cmp al, 0xd
je 0x44420a
cmp al, 0xa
je 0x44420a
mov edx, dword [ebp - 8]
push 0x11
push edi
push str.WWW_Authenticate:
mov byte [edx + edi], 0
call fcn.004296f0
add esp, 0xc
test eax, eax
je 0x444045
mov eax, dword [esi + 0xe8]
cmp eax, 0x191
je 0x444066
push 0x13
push edi
push str.Proxy_authenticate:
call fcn.004296f0
add esp, 0xc
test eax, eax
je 0x4440b1
mov eax, dword [esi + 0xe8]
cmp eax, 0x197
jne 0x4440b1
xor ecx, ecx
cmp eax, 0x197
sete cl
push edi
mov dword [ebp - 0x20], ecx
call fcn.0043e610
mov edi, eax
add esp, 4
test edi, edi
je 0x4443fb
mov edx, dword [ebp - 0x20]
push edi
push edx
push ebx
call fcn.0043ec30
push edi
mov dword [ebp - 0x20], eax
call dword [0x5e2060]
add esp, 0x10
cmp dword [ebp - 0x20], 0
je 0x4441f5
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0xf
push edi
push str.Content_Length:
call fcn.004296f0
add esp, 0xc
test eax, eax
je 0x444110
mov ecx, dword [esi + 0xe8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x4440f5
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response_n
push esi
call fcn.0041a580
add esp, 0xc
jmp 0x4441f5
push 0xa
push 0
add edi, 0xf
push edi
call fcn.00556d6a
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
jmp 0x4441f5
push str.close
push str.Connection:
push edi
call fcn.0043f1c0
add esp, 0xc
test eax, eax
je 0x444133
mov dword [ebp - 0x14], 1
jmp 0x4441f5
push 0x12
push edi
push str.Transfer_Encoding:
call fcn.004296f0
add esp, 0xc
test eax, eax
je 0x4441ab
mov ecx, dword [esi + 0xe8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x444177
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response_n
push esi
call fcn.0041a580
add esp, 0xc
jmp 0x4441f5
push str.chunked
push str.Transfer_Encoding:
push edi
call fcn.0043f1c0
add esp, 0xc
test eax, eax
je 0x4441f5
push str.CONNECT_responded_chunked_n
push esi
call fcn.0041a580
push ebx
mov dword [ebp - 0x28], 1
call fcn.004636a0
add esp, 0xc
jmp 0x4441f5
push str.close
push str.Proxy_Connection:
push edi
call fcn.0043f1c0
add esp, 0xc
test eax, eax
je 0x4441cb
mov dword [ebp - 0x14], 1
jmp 0x4441f5
lea eax, [esi + 0xe8]
push eax
lea ecx, [ebp - 0x30]
push ecx
push str.HTTP_1._d__d
push edi
call fcn.00553205
add esp, 0x10
cmp eax, 2
jne 0x4441f5
mov edx, dword [esi + 0xe8]
mov dword [esi + 0x4994], edx
mov edi, dword [ebx + 0x5dc]
mov dword [ebp - 8], 0
mov dword [ebp - 4], edi
jmp 0x443eee
cmp dword [esi + 0xe8], 0x197
mov eax, dword [ebx + 0x5dc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
jne 0x4442db
cmp dword [esi + 0x47cc], ecx
jne 0x4442db
mov edx, dword [ebp - 0x38]
or edx, dword [ebp - 0x34]
mov dword [ebp - 0xc], 2
je 0x44426a
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push eax
push ecx
push str.Ignore__I64d_bytes_of_response_body_n
push esi
call fcn.0041a580
mov edx, dword [ebp + 8]
add esp, 0x10
mov dword [ebx + edx*4 + 0x5cc], 2
jmp 0x443e45
cmp dword [ebp - 0x28], ecx
je 0x4442db
push str.Ignore_chunked_response_body_n
push esi
call fcn.0041a580
add esp, 8
mov dword [esi + 0x11c], 1
cmp byte [edi + 1], 0xa
jne 0x44428e
inc edi
lea edx, [ebp - 0x2c]
push edx
push 1
lea eax, [edi + 1]
push eax
push ebx
call fcn.004636c0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4442de
push str.chunk_reading_DONE_n
push esi
call fcn.0041a580
mov ecx, dword [ebp + 8]
mov edx, ecx
mov dword [ebx + ecx*4 + 0x5cc], 2
add esp, 8
mov dword [ebp - 0xc], 0
mov dword [ebx + edx*4 + 0x5cc], 2
jmp 0x443e45
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov dword [ebx + edx*4 + 0x5cc], 2
jmp 0x443e45
push str.Proxy_CONNECT_aborted_due_to_timeout
push esi
call fcn.0041a600
mov dword [ebp - 0x18], 2
jmp 0x444345
push str.Proxy_CONNECT_aborted_due_to_select_poll_error
jmp 0x444338
cmp dword [esi + 0x170], ecx
je 0x444333
cmp dword [esi + 0x47bc], ecx
je 0x444333
push str.Proxy_CONNECT_connection_closed_n
push esi
mov dword [ebx + 0x308], 1
call fcn.0041a580
jmp 0x444345
push str.Proxy_CONNECT_aborted
push esi
mov dword [ebp - 0x18], 1
call fcn.0041a600
add esp, 8
push ebx
call fcn.0042da20
add esp, 4
test eax, eax
jne 0x44445c
cmp dword [ebp - 0x18], eax
jne 0x444451
cmp dword [esi + 0x4994], 0xc8
je 0x444390
push ebx
call fcn.0043f7d0
add esp, 4
test eax, eax
jne 0x44458d
cmp dword [ebx + 0x2a4], eax
je 0x444390
mov dword [ebp - 0x14], 1
jmp 0x444396
cmp dword [ebp - 0x14], 0
je 0x4443a3
cmp dword [esi + 0x128], 0
jne 0x444480
cmp dword [esi + 0x128], 0
mov edi, dword [ebp + 8]
je 0x44449f
cmp dword [ebx + edi*4 + 0x5cc], 2
jne 0x4443d8
push 0
push str.TUNNEL_STATE_switched_to:__d_n
push esi
mov dword [ebx + edi*4 + 0x5cc], 0
call fcn.0041a580
add esp, 0xc
cmp dword [esi + 0x128], 0
je 0x44449f
mov edi, dword [ebp + 8]
xor eax, eax
jmp 0x443ba0
mov eax, dword [ebp - 4]
push eax
call fcn.0043ef10
add esp, 4
pop edi
mov eax, 0x1b
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043ef10
add esp, 4
pop edi
mov eax, 0x1b
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [0x5e2060]
mov edx, dword [ebp - 4]
push edx
call fcn.0043ef10
add esp, 8
pop edi
mov eax, 0x1b
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Proxy_CONNECT_aborted_due_to_timeout
push esi
call fcn.0041a600
add esp, 8
pop edi
mov eax, 0x38
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0x2a
pop esi
mov esp, ebp
pop ebp
ret
push str.CONNECT_response_too_large_
push esi
call fcn.0041a600
add esp, 8
pop edi
mov eax, 0x38
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov eax, dword [ebx + edi*4 + 0x198]
push eax
push ebx
call fcn.0041d550
add esp, 8
mov dword [ebx + edi*4 + 0x198], 0xffffffff
cmp dword [esi + 0xe8], 0xc8
je 0x444547
cmp dword [ebp - 0x14], 0
je 0x4444d8
cmp dword [esi + 0x128], 0
je 0x4444d8
push str.Connect_me_again_please_n
push esi
mov dword [ebx + 0x308], 1
call fcn.0041a580
add esp, 8
jmp 0x444513
mov ecx, dword [esi + 0x128]
push ecx
call dword [0x5e2060]
push 2
push ebx
mov dword [esi + 0x128], 0
call fcn.0041d680
mov edx, dword [ebx + edi*4 + 0x198]
push edx
push ebx
call fcn.0041d550
add esp, 0x14
mov dword [ebx + edi*4 + 0x198], 0xffffffff
mov dword [ebx + edi*4 + 0x5cc], 0
cmp dword [ebx + 0x308], 0
jne 0x44458b
mov eax, dword [esi + 0xe8]
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push esi
call fcn.0041a600
add esp, 0xc
pop edi
mov eax, 0x38
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebx + edi*4 + 0x5cc], 2
mov ecx, dword [ebx + 0x35c]
push ecx
call dword [0x5e2060]
xor edi, edi
push str.Proxy_replied_OK_to_CONNECT_request_n
mov dword [ebx + 0x35c], edi
push esi
mov dword [esi + 0x47c0], 1
call fcn.0041a580
mov dword [esi + 0x11c], edi
add esp, 0xc
mov dword [ebx + 0x2ec], edi
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret