Function at 0x429f00
Capabilities:
Check for time delay via gettickcount
Check http status code

Disassembly:
sub esp, 0x38
push ebx
push ebp
push edi
mov edi, dword [esp + 0x48]
mov ebp, dword [edi]
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov eax, dword [ebp + 0x19c]
cmp eax, ebx
mov dword [esp + 0x28], eax
jne 0x429f28
mov dword [esp + 0x28], 0x36ee80
mov eax, dword [esp + 0x4c]
cmp dword [edi + eax*4 + 0x484], 2
mov ecx, dword [edi + eax*4 + 0x130]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebx
jne 0x429f5e
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret
mov dword [edi + 0x1f8], ebx
push esi
jmp 0x429f70
cmp dword [edi + eax*4 + 0x484], ebx
jne 0x42a18f
movzx esi, word [esp + 0x58]
mov edx, dword [esp + 0x54]
push esi
push edx
push str.Establish_HTTP_proxy_tunnel_to__s:_hu_n
push ebp
call fcn.00419e40
mov eax, dword [ebp + 0xd4]
add esp, 0x10
cmp eax, ebx
je 0x429faf
push eax
call fcn.0044beb6
add esp, 4
mov dword [ebp + 0xd4], ebx
call fcn.00424f50
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x1c], ebx
je 0x42a869
mov eax, dword [esp + 0x54]
push esi
push eax
push str._s:_hu
call sym.V1.0.exe_curl_maprintf
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42a826
mov ecx, dword [esp + 0x4c]
push 1
push edi
push str.CONNECT
push ecx
call fcn.00424b80
push edi
mov esi, eax
call fcn.0044beb6
add esp, 0x14
test esi, esi
jne 0x42a7f8
mov esi, dword [esp + 0x4c]
cmp dword [esi + 0x114], 1
mov ebx, 0x4729cc
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 0x46b8a4
je 0x42a02e
mov dword [esp + 0x10], 0x46b8a8
mov eax, dword [esi + 0x1b8]
test eax, eax
mov edx, 0x4733a0
jne 0x42a2a9
mov edx, ebx
mov eax, ebx
movzx ecx, word [esp + 0x58]
push ecx
push edx
mov edx, dword [esp + 0x5c]
push edx
push eax
push str._s_s_s:_hu
call sym.V1.0.exe_curl_maprintf
mov edi, eax
add esp, 0x14
test edi, edi
je 0x42a83c
push str.Host:
push ebp
call fcn.00424640
add esp, 8
test eax, eax
jne 0x42a093
push edi
push str.Host:__s_r_n
call sym.V1.0.exe_curl_maprintf
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42a856
push str.Proxy_Connection:
push ebp
call fcn.00424640
add esp, 8
test eax, eax
jne 0x42a0ad
mov dword [esp + 0x24], str.Proxy_Connection:_Keep_Alive_r_n
push str.User_Agent:
push ebp
call fcn.00424640
add esp, 8
test eax, eax
jne 0x42a0d1
cmp dword [ebp + 0x3a4], eax
je 0x42a0d1
mov eax, dword [esi + 0x22c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x228]
test eax, eax
jne 0x42a0e0
mov eax, 0x4729cc
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x1c]
push ebx
push eax
push edi
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
push ecx
call fcn.00425850
add esp, 0x20
test ebx, ebx
mov esi, eax
je 0x42a118
cmp byte [ebx], 0
je 0x42a118
push ebx
call fcn.0044beb6
add esp, 4
push edi
call fcn.0044beb6
add esp, 4
test esi, esi
jne 0x42a7e0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x4c]
push ebx
push edi
call fcn.00425930
mov esi, eax
add esp, 8
test esi, esi
jne 0x42a7e0
push 0x469e58
push ebx
call fcn.00425850
mov esi, eax
add esp, 8
test esi, esi
jne 0x42a7e0
mov ebx, dword [esp + 0x50]
push ebx
push eax
mov eax, dword [esp + 0x24]
lea edx, [ebp + 0x86c4]
push edx
push edi
push eax
call fcn.00424f60
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x42a7e0
mov dword [edi + ebx*4 + 0x484], 1
xor ebx, ebx
mov ecx, dword [edi + 0x124]
mov edx, dword [edi + 0x120]
push ecx
push edx
call fcn.00420170
push edx
push eax
call fcn.004201a0
mov ecx, dword [esp + 0x3c]
sub ecx, eax
add esp, 0x10
test ecx, ecx
jle 0x42a876
cmp dword [ebp + 0x540], 2
jne 0x42a1dd
mov edx, dword [esp + 0x30]
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
call fcn.004283a0
add esp, 0x10
test eax, eax
je 0x42a94e
lea eax, [ebp + 0x55c]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov esi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 1
jmp 0x42a200
cmp dword [esp + 0x10], 0
je 0x42a749
cmp dword [esp + 0x28], 0
jne 0x42a8f9
mov eax, dword [edi + 0x124]
mov ecx, dword [edi + 0x120]
push eax
push ecx
call fcn.00420170
push edx
push eax
call fcn.004201a0
mov ecx, dword [esp + 0x3c]
sub ecx, eax
add esp, 0x10
test ecx, ecx
jle 0x42a80b
cmp ecx, 0x3e8
jl 0x42a24e
mov ecx, 0x3e8
mov edx, dword [esp + 0x30]
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
call fcn.004283a0
add esp, 0x10
cmp eax, 0xffffffff
je 0x42a712
test eax, eax
je 0x42a728
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x34]
mov ecx, 0x4000
sub ecx, ebx
push ecx
push edx
push eax
push edi
call fcn.00419bb0
add esp, 0x14
cmp eax, 0x51
je 0x42a73d
xor ecx, ecx
cmp eax, ecx
je 0x42a2b3
mov dword [esp + 0x10], ecx
jmp 0x42a728
mov eax, str.___:
jmp 0x42a045
mov eax, dword [esp + 0x14]
cmp eax, ecx
jg 0x42a2e8
cmp dword [ebp + 0x118], ecx
mov dword [esp + 0x10], ecx
je 0x42a2de
cmp dword [ebp + 0x85fc], ecx
je 0x42a2de
mov dword [edi + 0x1f8], 1
jmp 0x42a728
push str.Proxy_CONNECT_aborted
jmp 0x42a717
add ebx, eax
cmp dword [esp + 0x10], 1
mov dword [esp + 0x24], ebx
jle 0x42a398
mov edx, dword [esp + 0x40]
or edx, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
lea ecx, [ebp + 0x55c]
mov dword [esp + 0x1c], ecx
je 0x42a342
cdq
sub dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
sbb eax, edx
test eax, eax
mov dword [esp + 0x44], eax
jg 0x42a728
jl 0x42a335
cmp dword [esp + 0x40], 0
ja 0x42a728
mov dword [esp + 0x10], 0
jmp 0x42a728
lea edx, [esp + 0x34]
push edx
push eax
push ecx
xor ebx, ebx
push edi
mov dword [esp + 0x44], ebx
call fcn.0042bbe0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42a380
push str.chunk_reading_DONE_n
push ebp
call fcn.00419e40
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], ebx
mov dword [edi + eax*4 + 0x484], 2
jmp 0x42a725
mov ecx, dword [esp + 0x34]
push ecx
push str.Read__zd_bytes_of_chunk__continue_n
push ebp
call fcn.00419e40
add esp, 0xc
jmp 0x42a728
xor ebx, ebx
test eax, eax
mov dword [esp + 0x34], ebx
jle 0x42a728
mov ecx, 1
jmp 0x42a3b0
mov edx, dword [esp + 0x1c]
add dword [esp + 0x18], ecx
cmp byte [edx], 0xa
jne 0x42a574
cmp dword [ebp + 0x2e4], 0
je 0x42a3dc
mov eax, dword [esp + 0x18]
push edi
push eax
push esi
push 1
push ebp
call fcn.00419d50
add esp, 0x14
cmp dword [ebp + 0x2c8], 0
mov eax, 2
je 0x42a3ef
mov eax, 3
mov ecx, dword [esp + 0x18]
push ecx
push esi
push eax
push edi
call fcn.0041a1b0
add esp, 0x10
test eax, eax
jne 0x42a950
mov al, byte [esi]
cmp al, 0xd
je 0x42a58b
cmp al, 0xa
je 0x42a58b
mov eax, dword [esp + 0x18]
mov bl, byte [eax + esi]
push 0x11
push esi
push str.WWW_Authenticate:
mov byte [eax + esi], 0
call fcn.0042ab10
add esp, 0xc
test eax, eax
je 0x42a445
mov eax, dword [ebp + 0x90]
cmp eax, 0x191
je 0x42a466
push 0x13
push esi
push str.Proxy_authenticate:
call fcn.0042ab10
add esp, 0xc
test eax, eax
je 0x42a47e
mov eax, dword [ebp + 0x90]
cmp eax, 0x197
jne 0x42a47e
push esi
push eax
push edi
call fcn.00424c90
add esp, 0xc
test eax, eax
jne 0x42a950
jmp 0x42a54d
push 0xf
push esi
push str.Content_Length:
call fcn.0042ab10
add esp, 0xc
test eax, eax
je 0x42a4af
push 0xa
lea edx, [esi + 0xf]
push 0
push edx
call fcn.0044fa64
add esp, 0xc
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jmp 0x42a54d
push str.close
push str.Connection:
push esi
call fcn.00425200
add esp, 0xc
test eax, eax
je 0x42a4d0
mov dword [esp + 0x20], 1
jmp 0x42a54d
push str.chunked
push str.Transfer_Encoding:
push esi
call fcn.00425200
add esp, 0xc
test eax, eax
je 0x42a505
push str.CONNECT_responded_chunked_n
push ebp
call fcn.00419e40
push edi
mov dword [esp + 0x44], 1
call fcn.0042bbc0
add esp, 0xc
jmp 0x42a54d
push str.close
push str.Proxy_Connection:
push esi
call fcn.00425200
add esp, 0xc
test eax, eax
je 0x42a526
mov dword [esp + 0x20], 1
jmp 0x42a54d
lea edi, [ebp + 0x90]
push edi
lea eax, [esp + 0x40]
push eax
push str.HTTP_1._d__d
push esi
call fcn.0044be13
add esp, 0x10
cmp eax, 2
jne 0x42a54d
mov ecx, dword [edi]
mov dword [ebp + 0x86b0], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x4c]
mov byte [edx + esi], bl
mov ebx, dword [esp + 0x34]
lea esi, [eax + 1]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov ecx, 1
add dword [esp + 0x1c], ecx
add ebx, ecx
cmp ebx, eax
mov dword [esp + 0x34], ebx
jl 0x42a3b0
jmp 0x42a728
xor ecx, ecx
cmp dword [ebp + 0x90], 0x197
lea eax, [ebp + 0x55c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
jne 0x42a6d5
cmp dword [ebp + 0x860c], ecx
jne 0x42a6d5
mov edx, dword [esp + 0x40]
or edx, dword [esp + 0x44]
mov dword [esp + 0x10], 2
je 0x42a627
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push str.Ignore__lld_bytes_of_response_body_n
push ebp
call fcn.00419e40
mov eax, dword [esp + 0x24]
sub eax, ebx
cdq
add esp, 0x10
sub dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
sbb eax, edx
test eax, eax
mov dword [esp + 0x44], eax
jg 0x42a701
jl 0x42a60b
cmp dword [esp + 0x40], 0
ja 0x42a701
mov edx, dword [esp + 0x50]
mov dword [esp + 0x10], 0
mov dword [edi + edx*4 + 0x484], 2
jmp 0x42a728
cmp dword [esp + 0x38], ecx
je 0x42a6c0
mov edx, dword [esp + 0x14]
sub edx, ebx
push edx
push str._zd_bytes_of_chunk_left_n
push ebp
mov dword [ebp + 0xc8], 1
call fcn.00419e40
add esp, 0xc
cmp byte [esi + 1], 0xa
jne 0x42a65c
add esi, 1
add ebx, 1
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
sub ecx, ebx
push ecx
lea edx, [esi + 1]
push edx
push edi
call fcn.0042bbe0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42a6ae
push str.chunk_reading_DONE_n
push ebp
call fcn.00419e40
mov eax, dword [esp + 0x58]
mov edx, eax
mov dword [edi + eax*4 + 0x484], 2
add esp, 8
mov dword [esp + 0x10], 0
mov dword [edi + edx*4 + 0x484], 2
jmp 0x42a728
mov ecx, dword [esp + 0x14]
push ecx
push str.Read__zd_bytes_of_chunk__continue_n
push ebp
call fcn.00419e40
jmp 0x42a6fe
mov edx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [edi + edx*4 + 0x484], 2
jmp 0x42a728
cmp dword [ebp + 0x86b0], 0xc8
mov dword [esp + 0x10], ecx
jne 0x42a701
mov eax, dword [esp + 0x14]
sub eax, ebx
add eax, 0xffffffff
cmp eax, ecx
je 0x42a701
push eax
push str.Proxy_CONNECT_followed_by__zd_bytes_of_opaque_data._Data_ignored__known_bug_39_
push ebp
call fcn.00419ed0
add esp, 0xc
mov edx, dword [esp + 0x50]
mov dword [edi + edx*4 + 0x484], 2
jmp 0x42a728
push str.Proxy_CONNECT_aborted_due_to_select_poll_error
push ebp
mov dword [esp + 0x30], 1
call fcn.00419ed0
add esp, 8
push edi
call fcn.00429780
add esp, 4
test eax, eax
jne 0x42a891
mov ebx, dword [esp + 0x24]
cmp ebx, 0x4000
jb 0x42a200
cmp dword [esp + 0x28], 0
jne 0x42a8f9
cmp dword [ebp + 0x86b0], 0xc8
je 0x42a785
push edi
call fcn.00425680
xor ebx, ebx
add esp, 4
cmp eax, ebx
jne 0x42a950
cmp dword [edi + 0x1a0], ebx
je 0x42a787
mov dword [esp + 0x20], 1
jmp 0x42a78d
xor ebx, ebx
cmp dword [esp + 0x20], ebx
je 0x42a799
cmp dword [ebp + 0xd4], ebx
jne 0x42a89e
cmp dword [ebp + 0xd4], ebx
mov esi, dword [esp + 0x50]
je 0x42a8be
cmp dword [edi + esi*4 + 0x484], 2
jne 0x42a7c9
push ebx
push str.TUNNEL_STATE_switched_to:__d_n
push ebp
mov dword [edi + esi*4 + 0x484], ebx
call fcn.00419e40
add esp, 0xc
cmp dword [ebp + 0xd4], ebx
je 0x42a8be
mov eax, dword [esp + 0x50]
xor ebx, ebx
jmp 0x429f70
push str.Failed_sending_CONNECT_to_proxy
push ebp
call fcn.00419ed0
add esp, 8
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x38
ret
push ebx
call fcn.0044beb6
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x38
ret
push str.Proxy_CONNECT_aborted_due_to_timeout
push ebp
call fcn.00419ed0
add esp, 8
pop esi
pop edi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x38
ret
push ebx
call fcn.0044beb6
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x38
ret
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044beb6
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x38
ret
push edi
call fcn.0044beb6
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0044beb6
add esp, 8
pop esi
pop edi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x38
ret
push str.Proxy_CONNECT_aborted_due_to_timeout
push ebp
call fcn.00419ed0
add esp, 8
pop esi
pop edi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x38
ret
pop esi
pop edi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x38
ret
mov esi, dword [esp + 0x50]
mov edx, dword [edi + esi*4 + 0x130]
push edx
push edi
call fcn.0041abf0
add esp, 8
mov dword [edi + esi*4 + 0x130], 0xffffffff
mov eax, dword [ebp + 0x90]
cmp eax, 0xc8
je 0x42a906
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push ebp
call fcn.00419ed0
add esp, 0xc
cmp dword [esp + 0x20], ebx
je 0x42a8f2
cmp dword [ebp + 0xd4], ebx
je 0x42a8f2
mov dword [edi + 0x1f8], 1
mov dword [edi + esi*4 + 0x484], ebx
pop esi
pop edi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x38
ret
mov dword [edi + esi*4 + 0x484], 2
mov eax, dword [edi + 0x228]
cmp eax, ebx
je 0x42a92a
push eax
call fcn.0044beb6
add esp, 4
mov dword [edi + 0x228], ebx
push 0x46c5c8
mov dword [edi + 0x228], ebx
push ebp
mov dword [ebp + 0x8600], 1
call fcn.00419e40
add esp, 8
mov dword [ebp + 0xc8], ebx
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x38
ret