Function at 0x441ed0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x48]
push esi
push edi
mov edi, dword [ebp]
mov dword [esp + 0x48], 0
mov eax, dword [edi + 0x1d8]
test eax, eax
mov ecx, 0x36ee80
cmovne ecx, eax
mov eax, dword [ebp + ebx*4 + 0x134]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], eax
xor esi, esi
xor eax, eax
xor ecx, ecx
cmp dword [ebp + ebx*4 + 0x560], 2
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ecx
je 0x4428a9
mov dword [ebp + 0x27c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
jmp 0x441f50
cmp dword [ebp + ebx*4 + 0x560], 0
je 0x44267d
lea eax, [edi + 0x5a4]
mov dword [esp + 0x24], eax
mov esi, eax
mov eax, 1
mov dword [esp + 0x28], 0
xor ebx, ebx
mov dword [esp + 0x14], eax
lea ecx, [ecx]
test eax, eax
je 0x442334
test ecx, ecx
jne 0x442607
push dword [ebp + 0x128]
push dword [ebp + 0x124]
call fcn.00419e60
push edx
push eax
call fcn.00419dd0
mov ecx, dword [esp + 0x54]
sub ecx, eax
add esp, 0x10
test ecx, ecx
jle 0x442571
mov eax, 0x3e8
cmp ecx, eax
cmovl eax, ecx
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esp + 0x40]
call fcn.004221a0
add esp, 0x10
cmp eax, 0xffffffff
je 0x4424f4
test eax, eax
je 0x44230d
lea eax, [esp + 0x18]
push eax
mov eax, 0x4000
sub eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x40]
push ebp
call fcn.00422910
add esp, 0x14
cmp eax, 0x51
je 0x44231e
test eax, eax
je 0x44201d
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x44230d
mov ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x442065
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [edi + 0x150], eax
je 0x44204a
cmp dword [edi + 0x8e8c], eax
je 0x44204a
mov dword [ebp + 0x27c], 1
jmp 0x44230d
push str.Proxy_CONNECT_aborted
push edi
mov dword [esp + 0x38], 1
call fcn.00422760
add esp, 8
jmp 0x44230d
add dword [esp + 0x28], ecx
cmp dword [esp + 0x14], 1
jle 0x442120
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
lea edx, [edi + 0x5a4]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], edx
je 0x4420c4
mov eax, ecx
mov ecx, dword [esp + 0x1c]
cdq
sub ecx, eax
mov eax, dword [esp + 0x20]
sbb eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
test eax, eax
jg 0x44230d
jl 0x4420b9
test ecx, ecx
jne 0x44230d
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x44230d
lea eax, [esp + 0x38]
push eax
push ecx
push edx
push ebp
mov dword [esp + 0x48], 0
call fcn.00443680
add esp, 0x10
cmp eax, 0xffffffff
jne 0x442109
push str.chunk_reading_DONE_n
push edi
call fcn.00422830
add esp, 8
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov dword [ebp + eax*4 + 0x560], 2
jmp 0x44230d
push dword [esp + 0x38]
push str.Read__zd_bytes_of_chunk__continue_n
push edi
call fcn.00422830
add esp, 0xc
jmp 0x44230d
xor ebp, ebp
mov dword [esp + 0x38], ebp
test ecx, ecx
jle 0x442309
mov eax, dword [esp + 0x24]
inc ebx
cmp byte [eax], 0xa
jne 0x4422f7
cmp dword [edi + 0x31c], 0
je 0x442156
push dword [esp + 0x50]
push ebx
push esi
push 1
push edi
call fcn.00422670
add esp, 0x14
cmp dword [edi + 0x300], 0
push ebx
mov ecx, 3
mov eax, 2
cmovne eax, ecx
push esi
push eax
push dword [esp + 0x5c]
call fcn.00422510
add dword [edi + 0x8f48], ebx
add dword [edi + 0x80], ebx
add esp, 0x10
test eax, eax
jne 0x4428d7
mov al, byte [esi]
cmp al, 0xd
je 0x442377
cmp al, 0xa
je 0x442377
mov al, byte [ebx + esi]
lea ebp, [ebx + esi]
push 0x11
push esi
push str.WWW_Authenticate:
mov byte [esp + 0x1f], al
mov byte [ebp], 0
call fcn.0042dd60
add esp, 0xc
test eax, eax
je 0x4421ce
mov eax, dword [edi + 0xc8]
cmp eax, 0x191
je 0x4421ef
push 0x13
push esi
push str.Proxy_authenticate:
call fcn.0042dd60
add esp, 0xc
test eax, eax
je 0x44220a
mov eax, dword [edi + 0xc8]
cmp eax, 0x197
jne 0x44220a
push esi
push eax
push dword [esp + 0x58]
call fcn.00428560
add esp, 0xc
test eax, eax
jne 0x4428d7
jmp 0x4422df
push 0xf
push esi
push str.Content_Length:
call fcn.0042dd60
add esp, 0xc
test eax, eax
je 0x44223b
push 0xa
push 0
add esi, 0xf
push esi
call fcn.0044d4ca
add esp, 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
jmp 0x4422df
push str.close
push str.Connection:
push esi
call fcn.004282c0
add esp, 0xc
test eax, eax
je 0x44225f
mov dword [esp + 0x2c], 1
jmp 0x4422df
push str.chunked
push str.Transfer_Encoding:
push esi
call fcn.004282c0
add esp, 0xc
test eax, eax
je 0x442297
push str.CONNECT_responded_chunked_n
push edi
call fcn.00422830
push dword [esp + 0x58]
mov dword [esp + 0x4c], 1
call fcn.00443660
add esp, 0xc
jmp 0x4422df
push str.close
push str.Proxy_Connection:
push esi
call fcn.004282c0
add esp, 0xc
test eax, eax
je 0x4422b8
mov dword [esp + 0x2c], 1
jmp 0x4422df
lea ebx, [edi + 0xc8]
push ebx
lea eax, [esp + 0x4c]
push eax
push str.HTTP_1._d__d
push esi
call fcn.0044b40a
add esp, 0x10
cmp eax, 2
jne 0x4422df
mov eax, dword [ebx]
mov dword [edi + 0x8f38], eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x18]
mov byte [ebp], al
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x38]
xor ebx, ebx
lea esi, [eax + 1]
inc ebp
inc eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], ebp
cmp ebp, ecx
jl 0x442132
mov ebp, dword [esp + 0x50]
push ebp
call fcn.0042be50
add esp, 4
test eax, eax
jne 0x442564
cmp dword [esp + 0x28], 0x4000
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
jb 0x441f80
test ecx, ecx
jne 0x442607
cmp dword [edi + 0x8f38], 0xc8
je 0x44250f
push ebp
call fcn.00428390
add esp, 4
test eax, eax
jne 0x4428d7
cmp dword [ebp + 0x224], eax
je 0x44250f
mov esi, 1
mov dword [esp + 0x2c], esi
jmp 0x442517
cmp dword [edi + 0xc8], 0x197
lea eax, [edi + 0x5a4]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], eax
jne 0x4424b2
cmp dword [edi + 0x8e9c], 0
jne 0x4424b2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, ecx
or eax, edx
mov dword [esp + 0x14], 2
je 0x442406
push edx
push ecx
push str.Ignore__lld_bytes_of_response_body_n
push edi
call fcn.00422830
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub eax, ebp
cdq
add esp, 0x10
sub ecx, eax
mov eax, dword [esp + 0x20]
sbb eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
test eax, eax
jg 0x4424dc
jl 0x4423f9
test ecx, ecx
jne 0x4424dc
mov dword [esp + 0x14], 0
jmp 0x4424dc
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4423f9
mov eax, dword [esp + 0x18]
sub eax, ebp
push eax
push str._zd_bytes_of_chunk_left_n
push edi
mov dword [edi + 0x100], 1
call fcn.00422830
add esp, 0xc
cmp byte [esi + 1], 0xa
jne 0x442435
inc esi
inc ebp
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
sub eax, ebp
mov ebp, dword [esp + 0x54]
push eax
lea eax, [esi + 1]
push eax
push ebp
call fcn.00443680
add esp, 0x10
cmp eax, 0xffffffff
jne 0x44248c
push str.chunk_reading_DONE_n
push edi
call fcn.00422830
mov eax, dword [esp + 0x5c]
add esp, 8
mov dword [ebp + eax*4 + 0x560], 2
mov dword [esp + 0x14], 0
mov dword [ebp + eax*4 + 0x560], 2
jmp 0x44230d
push dword [esp + 0x18]
push str.Read__zd_bytes_of_chunk__continue_n
push edi
call fcn.00422830
mov eax, dword [esp + 0x60]
add esp, 0xc
mov dword [ebp + eax*4 + 0x560], 2
jmp 0x44230d
xor eax, eax
cmp dword [edi + 0x8f38], 0xc8
mov dword [esp + 0x14], eax
jne 0x4424dc
mov eax, dword [esp + 0x18]
sub eax, ebp
dec eax
je 0x4424dc
push eax
push str.Proxy_CONNECT_followed_by__zd_bytes_of_opaque_data._Data_ignored__known_bug_39_
push edi
call fcn.00422760
add esp, 0xc
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [ebp + eax*4 + 0x560], 2
jmp 0x44230d
push str.Proxy_CONNECT_aborted_due_to_select_poll_error
push edi
mov dword [esp + 0x38], 1
call fcn.00422760
add esp, 8
jmp 0x44230d
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x442520
cmp dword [edi + 0x10c], 0
jne 0x44258c
cmp dword [edi + 0x10c], 0
mov ebx, dword [esp + 0x54]
je 0x4425ab
cmp dword [ebp + ebx*4 + 0x560], 2
jne 0x442552
push 0
push str.TUNNEL_STATE_switched_to:__d_n
push edi
mov dword [ebp + ebx*4 + 0x560], 0
call fcn.00422830
add esp, 0xc
cmp dword [edi + 0x10c], 0
je 0x4425ab
mov ecx, dword [esp + 0x30]
jmp 0x441f50
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x3c
ret
push str.Proxy_CONNECT_aborted_due_to_timeout
push edi
call fcn.00422760
add esp, 8
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov ebx, dword [esp + 0x54]
push dword [ebp + ebx*4 + 0x134]
push ebp
call fcn.00422e90
add esp, 8
mov dword [ebp + ebx*4 + 0x134], 0xffffffff
mov eax, dword [edi + 0xc8]
cmp eax, 0xc8
je 0x442614
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push edi
call fcn.00422760
add esp, 0xc
test esi, esi
je 0x4425de
cmp dword [edi + 0x10c], 0
je 0x4425de
mov dword [ebp + 0x27c], 1
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x4425fc
push eax
call dword [0x481870]
add esp, 4
mov dword [edi + 0x10c], 0
mov dword [ebp + ebx*4 + 0x560], 0
pop edi
pop esi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x3c
ret
mov dword [ebp + ebx*4 + 0x560], 2
mov eax, dword [ebp + 0x2ac]
test eax, eax
je 0x44263d
push eax
call dword [0x481870]
add esp, 4
mov dword [ebp + 0x2ac], 0
push str.Proxy_replied_OK_to_CONNECT_request_n
mov dword [ebp + 0x2ac], 0
push edi
mov dword [edi + 0x8e90], 1
call fcn.00422830
add esp, 8
mov dword [edi + 0x100], 0
pop edi
pop esi
mov dword [ebp + 0x260], 0
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
movzx ebp, word [esp + 0x5c]
mov esi, dword [esp + 0x58]
push ebp
push esi
push str.Establish_HTTP_proxy_tunnel_to__s:_hu_n
push edi
call fcn.00422830
mov eax, dword [edi + 0x10c]
add esp, 0x10
test eax, eax
je 0x4426b4
push eax
call dword [0x481870]
add esp, 4
mov dword [edi + 0x10c], 0
call fcn.00427df0
mov ebx, eax
test ebx, ebx
je 0x4426de
push ebp
push esi
push str._s:_hu
call fcn.004243d0
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x4426eb
push ebx
call dword [0x481870]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x3c
ret
push 1
push ebp
push str.CONNECT
push dword [esp + 0x5c]
call fcn.004287c0
push ebp
mov esi, eax
call dword [0x481870]
add esp, 0x14
test esi, esi
jne 0x4428cb
mov ecx, dword [esp + 0x50]
mov edx, 0x46fa4c
cmp dword [ecx + 0x118], 1
mov ecx, dword [ecx + 0x23c]
mov eax, 0x46fa50
cmovne eax, edx
mov dword [esp + 0x38], eax
movzx eax, word [esp + 0x5c]
push eax
mov ebp, 0x46b630
mov edx, ebp
test ecx, ecx
mov eax, 0x46eed8
cmove eax, edx
push eax
push dword [esp + 0x60]
mov eax, 0x46eedc
cmove eax, edx
push eax
push str._s_s_s:_hu
mov dword [esp + 0x54], ebp
call fcn.004243d0
mov esi, eax
add esp, 0x14
mov dword [esp + 0x34], esi
test esi, esi
je 0x4426d4
push str.Host:
push edi
call fcn.00428270
add esp, 8
test eax, eax
jne 0x4427b8
push esi
push str.Host:__s_r_n
call fcn.004243d0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4427b8
push esi
call dword [0x481870]
push ebx
call dword [0x481870]
add esp, 8
lea eax, [ebp + 0x1b]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push str.Proxy_Connection:
push edi
call fcn.00428270
test eax, eax
mov eax, 0x46b630
mov ecx, str.Proxy_Connection:_Keep_Alive_r_n
cmovne ecx, eax
push str.User_Agent:
push edi
mov dword [esp + 0x54], ecx
call fcn.00428270
add esp, 0x10
test eax, eax
jne 0x4427fe
cmp dword [edi + 0x3dc], eax
je 0x4427fe
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x2b0]
mov dword [esp + 0x40], eax
push dword [esp + 0x44]
mov eax, dword [esp + 0x54]
push dword [esp + 0x44]
mov eax, dword [eax + 0x2ac]
test eax, eax
mov ecx, 0x46b630
cmovne ecx, eax
push ecx
push ebp
push dword [esp + 0x48]
push esi
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
push ebx
call fcn.00427fb0
add esp, 0x20
mov esi, eax
test ebp, ebp
je 0x442845
cmp byte [ebp], 0
je 0x442845
push ebp
call dword [0x481870]
add esp, 4
push dword [esp + 0x34]
call dword [0x481870]
add esp, 4
test esi, esi
jne 0x4428b3
mov ebp, dword [esp + 0x50]
push ebx
push ebp
call fcn.00428020
mov esi, eax
add esp, 8
test esi, esi
jne 0x4428b3
push 0x46b7dc
push ebx
call fcn.00427fb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4428b3
push dword [esp + 0x54]
push eax
lea eax, [edi + 0x8f4c]
push eax
push ebp
push ebx
call fcn.00427e00
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4428b3
mov eax, dword [esp + 0x54]
mov dword [ebp + eax*4 + 0x560], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
push str.Failed_sending_CONNECT_to_proxy
push edi
call fcn.00422760
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push ebx
call dword [0x481870]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret