Function at 0x443220
Capabilities:
Check http status code

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x50]
xor bl, bl
push esi
push edi
mov edi, dword [esp + 0x54]
xorps xmm0, xmm0
lea eax, [ebp + 0x64]
mov dword [esp + 0x4c], 0
lea ecx, [ebp + 0x1a4]
movlpd qword [esp + 0x44], xmm0
cmp dword [edi + ecx*4], 2
lea ecx, [edi + ecx*4]
mov esi, dword [edi]
lea eax, [edi + eax*4]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + ebp*4 + 0x190]
mov dword [esp + 0x34], eax
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], ecx
je 0x443cb5
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov byte [edi + 0x37e], bl
mov dword [esp + 0x28], eax
cmp dword [ecx], 0
jne 0x4434e7
push dword [esp + 0x60]
mov ebp, dword [esp + 0x60]
push ebp
push str.Establish_HTTP_proxy_tunnel_to__s:_hu_n
push esi
call fcn.00421980
push dword [esi + 0x104]
call dword [0x495048]
add esp, 0x14
mov dword [esi + 0x104], 0
call fcn.00427bf0
mov ebx, eax
test ebx, ebx
je 0x443b98
push dword [esp + 0x60]
push ebp
push str._s:_hu
call fcn.0042cb90
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x443b8f
push 1
push ebp
push str.CONNECT
push edi
call fcn.00428800
push ebp
mov edi, eax
call dword [0x495048]
add esp, 0x14
test edi, edi
jne 0x4434c4
mov edx, dword [esp + 0x54]
xor ebp, ebp
mov edi, dword [esp + 0x5c]
mov ecx, 0x47cef8
mov eax, 0x47cefc
mov dword [esp + 0x30], 0x47b37e
cmp dword [edx + 0xe8], 1
cmovne eax, ecx
mov cl, byte [edx + 0x36e]
mov dword [esp + 0x1c], eax
cmp edi, dword [edx + 0x98]
je 0x443361
push 0x3a
push edi
call fcn.0044f430
add esp, 8
test eax, eax
setne cl
push dword [esp + 0x60]
test cl, cl
mov edx, 0x47b37e
mov eax, 0x47becc
cmove eax, edx
push eax
mov eax, 0x47bed0
push edi
cmove eax, edx
push eax
push str._s_s_s:_hu
call fcn.0042cb90
mov edi, eax
add esp, 0x14
mov dword [esp + 0x14], edi
test edi, edi
je 0x443b8f
push str.Host:
push dword [esp + 0x58]
call fcn.00428190
add esp, 8
test eax, eax
jne 0x4433c7
push edi
push str.Host:__s_r_n
call fcn.0042cb90
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x443b68
push str.Proxy_Connection:
push dword [esp + 0x58]
call fcn.00428190
test eax, eax
mov ecx, str.Proxy_Connection:_Keep_Alive_r_n
mov eax, 0x47b37e
push str.User_Agent:
push dword [esp + 0x60]
cmovne ecx, eax
mov dword [esp + 0x30], ecx
call fcn.00428190
add esp, 0x10
test eax, eax
jne 0x443413
cmp dword [esi + 0x410], eax
je 0x443413
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x3b8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
mov edx, 0x47b37e
push dword [esp + 0x20]
mov ecx, edx
push dword [esp + 0x34]
mov eax, dword [eax + 0x3b4]
test eax, eax
cmovne ecx, eax
mov eax, edx
push ecx
test ebp, ebp
cmovne eax, ebp
push eax
push dword [esp + 0x2c]
push edi
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
push ebx
call fcn.00427dd0
add esp, 0x20
mov edi, eax
test ebp, ebp
je 0x44345d
push ebp
call dword [0x495048]
add esp, 4
push dword [esp + 0x14]
call dword [0x495048]
add esp, 4
test edi, edi
jne 0x4434b0
mov ebp, dword [esp + 0x54]
push ebx
push 1
push ebp
call fcn.00427e40
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4434b0
push 0x47bb00
push ebx
call fcn.00427dd0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4434b0
push dword [esp + 0x58]
push eax
lea eax, [esi + 0x4830]
push eax
push ebp
push ebx
call fcn.00427c00
add esp, 0x14
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4434c4
push str.Failed_sending_CONNECT_to_proxy
push esi
call fcn.004218a0
add esp, 8
push ebx
call fcn.00427bd0
add esp, 4
test edi, edi
jne 0x443b85
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov dword [eax], 1
push 1
push 0
push esi
call fcn.00422ce0
add esp, 0xc
test edx, edx
jl 0x443cbf
jg 0x443506
test eax, eax
je 0x443cbf
cmp byte [esp + 0x64], 0
jne 0x44351f
push ebp
push edi
call fcn.00422290
add esp, 8
test al, al
je 0x443cb5
mov ebx, dword [esi + 0x63c]
xor eax, eax
mov ecx, 1
mov dword [esp + 0x1c], ebx
mov ebp, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
nop
test ecx, ecx
je 0x443918
push edi
call fcn.0042ab70
add esp, 4
test eax, eax
jne 0x443baf
mov eax, dword [esi + 0x63c]
add eax, 0x4000
cmp ebx, eax
jae 0x443ba5
push 1
push 0
push esi
call fcn.00422ce0
mov ebx, edx
add esp, 0xc
mov edi, eax
test ebx, ebx
jl 0x443adb
jg 0x44358f
test edi, edi
je 0x443adb
lea eax, [esp + 0x38]
push eax
push 1
push dword [esp + 0x24]
push dword [esp + 0x40]
push dword [esp + 0x64]
call fcn.00421a60
add esp, 0x14
cmp eax, 0x51
jne 0x4435e8
test ebx, ebx
jg 0x4435bd
jl 0x4435c4
cmp edi, 0x3e8
jb 0x4435c4
mov edi, 0x3e8
xor ebx, ebx
push ebx
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esp + 0x44]
call fcn.004211f0
add esp, 0x14
cmp eax, 0xffffffff
je 0x443a6b
mov ebx, dword [esp + 0x1c]
jmp 0x443900
test eax, eax
jne 0x443afb
cmp dword [esp + 0x38], eax
jle 0x443a8b
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
inc edx
mov dword [esp + 0x20], edx
cmp ecx, 1
jle 0x4436a1
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esi + 0x63c]
mov dword [esp + 0x20], eax
mov eax, edx
or eax, edi
mov dword [esp + 0x1c], ebx
je 0x443653
add edx, 0xffffffff
mov dword [esp + 0x28], edx
adc edi, 0xffffffff
mov dword [esp + 0x2c], edi
js 0x443afb
jg 0x44364a
test edx, edx
je 0x443b04
mov edi, dword [esp + 0x54]
jmp 0x443540
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x40]
push eax
push 1
push ebx
push edi
mov dword [esp + 0x50], 0
call fcn.00444210
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp eax, 0xffffffff
jne 0x443540
push str.chunk_reading_DONE_n
push esi
call fcn.00421980
mov eax, dword [esp + 0x60]
add esp, 8
xor ecx, ecx
mov dword [edi + eax*4 + 0x690], 2
jmp 0x44353a
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
inc edi
mov dword [esp + 0x30], edi
cmp byte [ebx], 0xa
je 0x4436bd
inc ebx
mov dword [esp + 0x1c], ebx
jmp 0x443908
cmp byte [esi + 0x350], 0
mov ebx, dword [esp + 0x54]
je 0x4436d8
push ebx
push edi
push ebp
push 1
push esi
call fcn.004217b0
add esp, 0x14
cmp byte [esi + 0x4b8], 0
jne 0x443709
cmp byte [esi + 0x345], 0
mov ecx, 3
push edi
mov eax, 2
cmovne eax, ecx
push ebp
push eax
push ebx
call fcn.00421780
add esp, 0x10
test eax, eax
jne 0x443cd2
add dword [esi + 0x482c], edi
add dword [esi + 0x80], edi
mov al, byte [ebp]
cmp al, 0xd
je 0x44396d
cmp al, 0xa
je 0x44396d
push 0x11
push ebp
push str.WWW_Authenticate:
mov byte [edi + ebp], 0
call fcn.0042bf30
add esp, 0xc
test eax, eax
je 0x44374d
mov eax, dword [esi + 0xc8]
cmp eax, 0x191
je 0x44376e
push 0x13
push ebp
push str.Proxy_authenticate:
call fcn.0042bf30
add esp, 0xc
test eax, eax
je 0x4437b4
mov eax, dword [esi + 0xc8]
cmp eax, 0x197
jne 0x4437b4
cmp eax, 0x197
push ebp
sete byte [esp + 0x48]
call fcn.00428330
mov edi, eax
add esp, 4
test edi, edi
je 0x443b98
push edi
push dword [esp + 0x48]
push ebx
call fcn.004285c0
push edi
mov ebx, eax
call dword [0x495048]
add esp, 0x10
test ebx, ebx
je 0x4438ee
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x40
ret
push 0xf
push ebp
push str.Content_Length:
call fcn.0042bf30
add esp, 0xc
test eax, eax
je 0x443815
mov ecx, dword [esi + 0xc8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x4437f8
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response_n
push esi
call fcn.00421980
add esp, 0xc
jmp 0x4438ee
push 0xa
lea eax, [ebp + 0xf]
push 0
push eax
call fcn.0045e30a
add esp, 0xc
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x4438ee
push str.close
push str.Connection:
push ebp
call fcn.00428260
add esp, 0xc
test al, al
je 0x443836
mov byte [esp + 0x12], 1
jmp 0x4438ee
push 0x12
push ebp
push str.Transfer_Encoding:
call fcn.0042bf30
add esp, 0xc
test eax, eax
je 0x4438a9
mov ecx, dword [esi + 0xc8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x443877
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response_n
push esi
call fcn.00421980
add esp, 0xc
jmp 0x4438ee
push str.chunked
push str.Transfer_Encoding:
push ebp
call fcn.00428260
add esp, 0xc
test al, al
je 0x4438ee
push str.CONNECT_responded_chunked_n
push esi
call fcn.00421980
push ebx
mov byte [esp + 0x1f], 1
call fcn.004441f0
add esp, 0xc
jmp 0x4438ee
push str.close
push str.Proxy_Connection:
push ebp
call fcn.00428260
add esp, 0xc
test al, al
je 0x4438c7
mov byte [esp + 0x12], 1
jmp 0x4438ee
lea edi, [esi + 0xc8]
push edi
lea eax, [esp + 0x50]
push eax
push str.HTTP_1._d__d
push ebp
call fcn.00417320
add esp, 0x10
cmp eax, 2
jne 0x4438ee
mov eax, dword [edi]
mov dword [esi + 0x481c], eax
mov ebx, dword [esi + 0x63c]
xor eax, eax
mov dword [esp + 0x30], eax
mov ebp, ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x54]
cmp edx, 0x4000
jb 0x443540
mov ebp, dword [esp + 0x18]
push edi
call fcn.0042ab70
add esp, 4
test eax, eax
jne 0x443baf
test ebp, ebp
jne 0x443c65
cmp dword [esi + 0x481c], 0xc8
je 0x443b11
push edi
call fcn.00428400
add esp, 4
test eax, eax
jne 0x443cd2
cmp byte [edi + 0x365], al
je 0x443b11
mov bl, 1
mov byte [esp + 0x12], bl
jmp 0x443b19
mov ebx, dword [esi + 0x63c]
xor eax, eax
cmp dword [esi + 0xc8], 0x197
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
jne 0x443a4d
cmp byte [esi + 0x4754], al
jne 0x443a4d
mov edx, dword [esp + 0x28]
mov eax, edx
mov ecx, dword [esp + 0x2c]
or eax, ecx
mov dword [esp + 0x14], 2
je 0x4439db
push ecx
push edx
push str.Ignore__I64d_bytes_of_response_body_n
push esi
call fcn.00421980
mov edi, dword [esp + 0x64]
add esp, 0x10
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
mov dword [edi + eax*4 + 0x690], 2
jmp 0x443540
cmp byte [esp + 0x13], 0
je 0x443a4d
push str.Ignore_chunked_response_body_n
push esi
call fcn.00421980
mov edi, dword [esp + 0x5c]
lea eax, [ebp + 1]
mov byte [esi + 0xfd], 1
cmp byte [eax], 0xa
cmove ebp, eax
lea eax, [esp + 0x40]
push eax
push 1
lea eax, [ebp + 1]
push eax
push edi
call fcn.00444210
add esp, 0x18
cmp eax, 0xffffffff
jne 0x4439c3
push str.chunk_reading_DONE_n
push esi
call fcn.00421980
mov eax, dword [esp + 0x60]
add esp, 8
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [edi + eax*4 + 0x690], 2
mov dword [edi + eax*4 + 0x690], 2
jmp 0x443540
mov edi, dword [esp + 0x54]
xor ecx, ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], ecx
mov dword [edi + eax*4 + 0x690], 2
jmp 0x443540
push str.Proxy_CONNECT_aborted_due_to_select_poll_error
mov ebp, 1
push esi
mov dword [esp + 0x20], ebp
call fcn.004218a0
mov edi, dword [esp + 0x5c]
add esp, 8
jmp 0x44391c
cmp dword [esi + 0x140], 0
je 0x443abb
cmp dword [esi + 0x474c], 0
je 0x443abb
mov edi, dword [esp + 0x54]
push str.Proxy_CONNECT_connection_closed_n
push esi
mov byte [edi + 0x37e], 1
call fcn.00421980
add esp, 8
jmp 0x443918
push str.Proxy_CONNECT_aborted
mov ebp, 1
push esi
mov dword [esp + 0x20], ebp
call fcn.004218a0
mov edi, dword [esp + 0x5c]
add esp, 8
jmp 0x44391c
push str.Proxy_CONNECT_aborted_due_to_timeout
push esi
call fcn.004218a0
mov edi, dword [esp + 0x5c]
mov ebp, 2
add esp, 8
mov dword [esp + 0x18], ebp
jmp 0x44391c
mov edi, dword [esp + 0x54]
jmp 0x443918
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x54]
jmp 0x44391c
mov bl, byte [esp + 0x12]
test bl, bl
je 0x443b26
cmp dword [esi + 0x104], 0
jne 0x443bbc
cmp dword [esi + 0x104], 0
mov ecx, dword [esp + 0x24]
je 0x443bd5
cmp dword [ecx], 2
jne 0x443b56
push 0
push str.TUNNEL_STATE_switched_to:__d_n
push esi
mov dword [ecx], 0
call fcn.00421980
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp dword [esi + 0x104], 0
je 0x443bd5
mov ebp, dword [esp + 0x58]
jmp 0x443296
push edi
call dword [0x495048]
push ebx
call fcn.00427bd0
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push ebx
call fcn.00427bd0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x40
ret
push str.CONNECT_response_too_large_
jmp 0x443cc4
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x40
ret
mov ebp, dword [esp + 0x3c]
push dword [ebp]
push edi
call fcn.00422230
add esp, 8
mov dword [ebp], 0xffffffff
jmp 0x443bd9
mov ebp, dword [esp + 0x3c]
cmp dword [esi + 0xc8], 0xc8
je 0x443c72
test bl, bl
je 0x443c0d
cmp dword [esi + 0x104], 0
je 0x443c0d
push str.Connect_me_again_please_n
push esi
mov byte [edi + 0x37e], 1
call fcn.00421980
add esp, 8
jmp 0x443c3e
push dword [esi + 0x104]
call dword [0x495048]
push 2
push edi
mov dword [esi + 0x104], 0
call fcn.00422350
push dword [ebp]
push edi
call fcn.00422230
add esp, 0x14
mov dword [ebp], 0xffffffff
mov eax, dword [esp + 0x24]
mov dword [eax], 0
cmp byte [edi + 0x37e], 0
jne 0x443cb5
push dword [esi + 0xc8]
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push esi
call fcn.004218a0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x40
ret
mov eax, dword [esp + 0x24]
mov dword [eax], 2
push dword [edi + 0x3b4]
call dword [0x495048]
push str.Proxy_replied_OK_to_CONNECT_request_n
mov dword [edi + 0x3b4], 0
push esi
mov byte [esi + 0x4750], 1
call fcn.00421980
mov byte [esi + 0xfd], 0
add esp, 0xc
mov byte [edi + 0x377], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
push str.Proxy_CONNECT_aborted_due_to_timeout
push esi
call fcn.004218a0
mov eax, 0x38
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret