Function at 0x10062e60
Capabilities:
Check http status code

Disassembly:
sub esp, 0x3c
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
xor bl, bl
push esi
push edi
mov edi, dword [esp + 0x50]
xorps xmm0, xmm0
lea eax, [ebp + 0x64]
mov dword [esp + 0x48], 0
lea ecx, [ebp + 0x1a4]
movlpd qword [esp + 0x40], 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 + 0x1c], ecx
je 0x100638c1
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov byte [edi + 0x37e], bl
mov dword [esp + 0x28], eax
cmp dword [ecx], 0
jne 0x10063127
push dword [esp + 0x5c]
mov ebp, dword [esp + 0x5c]
push ebp
push str.Establish_HTTP_proxy_tunnel_to__s:_hu_n
push esi
call fcn.10045a40
push dword [esi + 0x104]
call dword [0x1018b004]
add esp, 0x14
mov dword [esi + 0x104], 0
call fcn.10049fd0
mov ebx, eax
test ebx, ebx
je 0x100637a4
push dword [esp + 0x5c]
push ebp
push str._s:_hu
call fcn.1004d350
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x1006379b
push 1
push ebp
push str.CONNECT
push edi
call fcn.1004abe0
push ebp
mov edi, eax
call dword [0x1018b004]
add esp, 0x14
test edi, edi
jne 0x10063104
mov edx, dword [esp + 0x50]
xor ebp, ebp
mov edi, dword [esp + 0x58]
mov ecx, 0x1014c4e0
mov eax, 0x1014c4e4
mov dword [esp + 0x30], 0x1014b952
cmp dword [edx + 0xe8], 1
cmovne eax, ecx
mov cl, byte [edx + 0x36e]
mov dword [esp + 0x20], eax
cmp edi, dword [edx + 0x98]
je 0x10062fa1
push 0x3a
push edi
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
setne cl
push dword [esp + 0x5c]
test cl, cl
mov edx, 0x1014b952
mov eax, 0x1014bc40
cmove eax, edx
push eax
mov eax, 0x1014bc44
push edi
cmove eax, edx
push eax
push str._s_s_s:_hu
call fcn.1004d350
mov edi, eax
add esp, 0x14
mov dword [esp + 0x14], edi
test edi, edi
je 0x1006379b
push str.Host:
push dword [esp + 0x54]
call fcn.1004a560
add esp, 8
test eax, eax
jne 0x10063007
push edi
push str.Host:__s_r_n
call fcn.1004d350
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1006377e
push str.Proxy_Connection:
push dword [esp + 0x54]
call fcn.1004a560
test eax, eax
mov ecx, str.Proxy_Connection:_Keep_Alive_r_n
mov eax, 0x1014b952
push str.User_Agent:
push dword [esp + 0x5c]
cmovne ecx, eax
mov dword [esp + 0x34], ecx
call fcn.1004a560
add esp, 0x10
test eax, eax
jne 0x10063053
cmp dword [esi + 0x410], eax
je 0x10063053
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x3b8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov edx, 0x1014b952
push dword [esp + 0x24]
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 + 0x30]
push edi
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
push ebx
call fcn.1004a1b0
add esp, 0x20
mov edi, eax
test ebp, ebp
je 0x1006309d
push ebp
call dword [0x1018b004]
add esp, 4
push dword [esp + 0x14]
call dword [0x1018b004]
add esp, 4
test edi, edi
jne 0x100630f0
mov ebp, dword [esp + 0x50]
push ebx
push 1
push ebp
call fcn.1004a220
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100630f0
push 0x1014bbe4
push ebx
call fcn.1004a1b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x100630f0
push dword [esp + 0x54]
push eax
lea eax, [esi + 0x4830]
push eax
push ebp
push ebx
call fcn.10049fe0
add esp, 0x14
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x10063104
push str.Failed_sending_CONNECT_to_proxy
push esi
call fcn.10045960
add esp, 8
push ebx
call fcn.10049fb0
add esp, 4
test edi, edi
jne 0x100633e0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov dword [eax], 1
push 1
push 0
push esi
call fcn.10046cf0
add esp, 0xc
test edx, edx
jl 0x100638cb
jg 0x10063146
test eax, eax
je 0x100638cb
cmp byte [esp + 0x60], 0
jne 0x1006315f
push ebp
push edi
call fcn.10046330
add esp, 8
test al, al
je 0x100638c1
mov ebp, dword [esi + 0x63c]
xor eax, eax
mov ecx, 1
mov dword [esp + 0x20], ebp
mov ebx, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
nop
test ecx, ecx
je 0x10063538
push edi
call fcn.1004b8b0
add esp, 4
test eax, eax
jne 0x100637bb
mov eax, dword [esi + 0x63c]
add eax, 0x4000
cmp ebp, eax
jae 0x100637b1
push 1
push 0
push esi
call fcn.10046cf0
mov ebp, edx
add esp, 0xc
mov edi, eax
test ebp, ebp
jl 0x100636f1
jg 0x100631cf
test edi, edi
je 0x100636f1
lea eax, [esp + 0x38]
push eax
push 1
push dword [esp + 0x28]
push dword [esp + 0x40]
push dword [esp + 0x60]
call fcn.10045b20
add esp, 0x14
cmp eax, 0x51
jne 0x10063228
test ebp, ebp
jg 0x100631fd
jl 0x10063204
cmp edi, 0x3e8
jb 0x10063204
mov edi, 0x3e8
xor ebp, ebp
push ebp
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esp + 0x44]
call fcn.100452e0
add esp, 0x14
cmp eax, 0xffffffff
je 0x10063681
mov ebp, dword [esp + 0x20]
jmp 0x10063520
test eax, eax
jne 0x10063711
cmp dword [esp + 0x38], eax
jle 0x100636a1
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
inc edx
mov dword [esp + 0x24], edx
cmp ecx, 1
jle 0x100632dc
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esi + 0x63c]
mov dword [esp + 0x24], eax
mov eax, edx
or eax, edi
mov dword [esp + 0x20], ebp
je 0x10063293
add edx, 0xffffffff
mov dword [esp + 0x28], edx
adc edi, 0xffffffff
mov dword [esp + 0x2c], edi
js 0x10063711
jg 0x1006328a
test edx, edx
je 0x1006371a
mov edi, dword [esp + 0x50]
jmp 0x10063180
mov edi, dword [esp + 0x50]
lea eax, [esp + 0x40]
push eax
push 1
push ebp
push edi
mov dword [esp + 0x50], 0
call fcn.10063b50
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10063180
push str.chunk_reading_DONE_n
push esi
call fcn.10045a40
mov eax, dword [esp + 0x24]
add esp, 8
xor ecx, ecx
mov dword [eax], 2
jmp 0x1006317a
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
inc edi
mov dword [esp + 0x30], edi
cmp byte [ebp], 0xa
je 0x100632f9
inc ebp
mov dword [esp + 0x20], ebp
jmp 0x10063528
cmp byte [esi + 0x350], 0
mov ebp, dword [esp + 0x50]
je 0x10063314
push ebp
push edi
push ebx
push 1
push esi
call fcn.10045870
add esp, 0x14
cmp byte [esi + 0x4b8], 0
jne 0x1006333f
xor eax, eax
cmp byte [esi + 0x345], al
push edi
setne al
push ebx
add eax, 2
push eax
push ebp
call fcn.10045840
add esp, 0x10
test eax, eax
jne 0x100638de
add dword [esi + 0x482c], edi
add dword [esi + 0x80], edi
mov al, byte [ebx]
cmp al, 0xd
je 0x1006358d
cmp al, 0xa
je 0x1006358d
push 0x11
push ebx
push str.WWW_Authenticate:
mov byte [edi + ebx], 0
call fcn.1004c720
add esp, 0xc
test eax, eax
je 0x10063383
mov edi, dword [esi + 0xc8]
cmp edi, 0x191
je 0x100633a5
push 0x13
push ebx
push str.Proxy_authenticate:
call fcn.1004c720
add esp, 0xc
test eax, eax
je 0x100633ea
mov edi, dword [esi + 0xc8]
cmp edi, 0x197
jne 0x100633ea
push ebx
call fcn.1004a700
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100637a4
cmp edi, 0x197
push ebx
sete al
movzx eax, al
push eax
push ebp
call fcn.1004a990
push ebx
mov edi, eax
call dword [0x1018b004]
add esp, 0x10
test edi, edi
je 0x1006350e
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 0xf
push ebx
push str.Content_Length:
call fcn.1004c720
add esp, 0xc
test eax, eax
je 0x10063440
mov ecx, dword [esi + 0xc8]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x10063423
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response_n
push esi
call fcn.10045a40
add esp, 0xc
jmp 0x1006350e
push 0xa
lea eax, [ebx + 0xf]
push 0
push eax
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoll
add esp, 0xc
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x1006350e
push str.close
push str.Connection:
push ebx
call fcn.1004a630
add esp, 0xc
test al, al
je 0x10063461
mov byte [esp + 0x12], 1
jmp 0x1006350e
push 0x12
push ebx
push str.Transfer_Encoding:
call fcn.1004c720
add esp, 0xc
test eax, eax
je 0x100634c9
mov ecx, dword [esi + 0xc8]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x10063497
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response_n
push esi
call fcn.10045a40
add esp, 0xc
jmp 0x1006350e
push str.chunked
push str.Transfer_Encoding:
push ebx
call fcn.1004a630
add esp, 0xc
test al, al
je 0x1006350e
push str.CONNECT_responded_chunked_n
push esi
call fcn.10045a40
push ebp
mov byte [esp + 0x1f], 1
call fcn.10063b30
add esp, 0xc
jmp 0x1006350e
push str.close
push str.Proxy_Connection:
push ebx
call fcn.1004a630
add esp, 0xc
test al, al
je 0x100634e7
mov byte [esp + 0x12], 1
jmp 0x1006350e
lea edi, [esi + 0xc8]
push edi
lea eax, [esp + 0x4c]
push eax
push str.HTTP_1._d__d
push ebx
call fcn.1003a850
add esp, 0x10
cmp eax, 2
jne 0x1006350e
mov eax, dword [edi]
mov dword [esi + 0x481c], eax
mov ebp, dword [esi + 0x63c]
xor eax, eax
mov dword [esp + 0x30], eax
mov ebx, ebp
mov dword [esp + 0x20], ebp
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x50]
cmp edx, 0x4000
jb 0x10063180
mov ebp, dword [esp + 0x18]
push edi
call fcn.1004b8b0
add esp, 4
test eax, eax
jne 0x100637bb
test ebp, ebp
jne 0x10063871
cmp dword [esi + 0x481c], 0xc8
je 0x10063727
push edi
call fcn.1004a7d0
add esp, 4
test eax, eax
jne 0x100638de
cmp byte [edi + 0x365], al
je 0x10063727
mov bl, 1
mov byte [esp + 0x12], bl
jmp 0x1006372f
mov ebp, dword [esi + 0x63c]
xor eax, eax
cmp dword [esi + 0xc8], 0x197
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebp
jne 0x10063668
cmp byte [esi + 0x4754], al
jne 0x10063668
mov edx, dword [esp + 0x28]
mov eax, edx
mov ecx, dword [esp + 0x2c]
or eax, ecx
mov dword [esp + 0x14], 2
je 0x100635f6
push ecx
push edx
push str.Ignore__I64d_bytes_of_response_body_n
push esi
call fcn.10045a40
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x50]
mov dword [eax], 2
jmp 0x10063180
cmp byte [esp + 0x13], 0
je 0x10063668
push str.Ignore_chunked_response_body_n
push esi
call fcn.10045a40
mov edi, dword [esp + 0x58]
lea eax, [ebx + 1]
mov byte [esi + 0xfd], 1
cmp byte [eax], 0xa
cmovne eax, ebx
mov ebx, eax
lea eax, [esp + 0x40]
push eax
push 1
lea eax, [ebx + 1]
push eax
push edi
call fcn.10063b50
add esp, 0x18
cmp eax, 0xffffffff
jne 0x10063655
push str.chunk_reading_DONE_n
push esi
call fcn.10045a40
add esp, 8
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], 2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [eax], 2
jmp 0x10063180
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edi, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
mov dword [eax], 2
jmp 0x10063180
push str.Proxy_CONNECT_aborted_due_to_select_poll_error
mov ebp, 1
push esi
mov dword [esp + 0x20], ebp
call fcn.10045960
mov edi, dword [esp + 0x58]
add esp, 8
jmp 0x1006353c
cmp dword [esi + 0x140], 0
je 0x100636d1
cmp dword [esi + 0x474c], 0
je 0x100636d1
mov edi, dword [esp + 0x50]
push str.Proxy_CONNECT_connection_closed_n
push esi
mov byte [edi + 0x37e], 1
call fcn.10045a40
add esp, 8
jmp 0x10063538
push str.Proxy_CONNECT_aborted
mov ebp, 1
push esi
mov dword [esp + 0x20], ebp
call fcn.10045960
mov edi, dword [esp + 0x58]
add esp, 8
jmp 0x1006353c
push str.Proxy_CONNECT_aborted_due_to_timeout
push esi
call fcn.10045960
mov edi, dword [esp + 0x58]
mov ebp, 2
add esp, 8
mov dword [esp + 0x18], ebp
jmp 0x1006353c
mov edi, dword [esp + 0x50]
jmp 0x10063538
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x50]
jmp 0x1006353c
mov bl, byte [esp + 0x12]
test bl, bl
je 0x1006373c
cmp dword [esi + 0x104], 0
jne 0x100637c8
cmp dword [esi + 0x104], 0
mov ecx, dword [esp + 0x1c]
je 0x100637e1
cmp dword [ecx], 2
jne 0x1006376c
push 0
push str.TUNNEL_STATE_switched_to:__d_n
push esi
mov dword [ecx], 0
call fcn.10045a40
mov ecx, dword [esp + 0x28]
add esp, 0xc
cmp dword [esi + 0x104], 0
je 0x100637e1
mov ebp, dword [esp + 0x54]
jmp 0x10062ed6
push edi
call dword [0x1018b004]
push ebx
call fcn.10049fb0
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push ebx
call fcn.10049fb0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x3c
ret
push str.CONNECT_response_too_large_
jmp 0x100638d0
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x3c
ret
mov ebp, dword [esp + 0x3c]
push dword [ebp]
push edi
call fcn.100462d0
add esp, 8
mov dword [ebp], 0xffffffff
jmp 0x100637e5
mov ebp, dword [esp + 0x3c]
cmp dword [esi + 0xc8], 0xc8
je 0x1006387e
test bl, bl
je 0x10063819
cmp dword [esi + 0x104], 0
je 0x10063819
push str.Connect_me_again_please_n
push esi
mov byte [edi + 0x37e], 1
call fcn.10045a40
add esp, 8
jmp 0x1006384a
push dword [esi + 0x104]
call dword [0x1018b004]
push 2
push edi
mov dword [esi + 0x104], 0
call fcn.10046390
push dword [ebp]
push edi
call fcn.100462d0
add esp, 0x14
mov dword [ebp], 0xffffffff
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
cmp byte [edi + 0x37e], 0
jne 0x100638c1
push dword [esi + 0xc8]
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push esi
call fcn.10045960
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x1c]
mov dword [eax], 2
push dword [edi + 0x3b4]
call dword [0x1018b004]
push str.Proxy_replied_OK_to_CONNECT_request_n
mov dword [edi + 0x3b4], 0
push esi
mov byte [esi + 0x4750], 1
call fcn.10045a40
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, 0x3c
ret
push str.Proxy_CONNECT_aborted_due_to_timeout
push esi
call fcn.10045960
mov eax, 0x38
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret