Function at 0x100ddcb0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1014bb94]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, 0x36ee80
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x4c], eax
movzx eax, word [ebp + 0x14]
push edi
mov edi, dword [ecx]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x58], ebx
mov eax, dword [edi + 0x1d0]
test eax, eax
mov dword [ebp - 0x14], ecx
cmovne edx, eax
movlpd qword [ebp - 0x48], xmm0
lea eax, [ecx + ebx*4]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 0x134]
add ebx, 0x11f
mov dword [ebp - 0x3c], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x1c], esi
xor edx, edx
mov dword [ebp - 0x40], eax
cmp dword [ecx + ebx*4], 2
lea ebx, [ecx + ebx*4]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x20], ebx
je 0x100de62b
mov dword [ecx + 0x1fc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
cmp dword [ebx], 0
je 0x100de417
lea eax, [edi + 0x58c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], eax
mov esi, eax
mov eax, 1
xor ebx, ebx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100de240
test edx, edx
jne 0x100de398
push dword [ecx + 0x128]
push dword [ecx + 0x124]
call fcn.100b7100
push edx
push eax
call fcn.100b7070
mov ecx, dword [ebp - 0x50]
add esp, 0x10
sub ecx, eax
test ecx, ecx
jle 0x100de2f7
mov eax, 0x3e8
cmp ecx, eax
cmovl eax, ecx
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call fcn.100beca0
add esp, 0x10
cmp eax, 0xffffffff
je 0x100de201
test eax, eax
je 0x100de216
lea eax, [ebp - 0xc]
push eax
mov eax, 0x4000
sub eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
push dword [ebp - 0x14]
call fcn.100bf380
add esp, 0x14
cmp eax, 0x51
je 0x100de22a
test eax, eax
je 0x100dde00
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x100de216
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jg 0x100dde38
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [edi + 0x148], eax
je 0x100dde2e
cmp dword [edi + 0x862c], eax
je 0x100dde2e
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1fc], 1
jmp 0x100de219
push str.Proxy_CONNECT_aborted
jmp 0x100de206
add dword [ebp - 0x34], ecx
cmp dword [ebp - 0x18], 1
jle 0x100ddee0
mov eax, dword [ebp - 0x28]
lea edx, [edi + 0x58c]
or eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], edx
je 0x100dde8c
mov eax, ecx
mov ecx, dword [ebp - 0x28]
cdq
sub ecx, eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
sbb eax, edx
mov dword [ebp - 0x2c], eax
test eax, eax
jg 0x100de216
jl 0x100dde82
test ecx, ecx
jne 0x100de216
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x100de216
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push ecx
push edx
push dword [ebp - 0x14]
call fcn.100e0030
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100ddeca
push str.chunk_reading_DONE_n
push edi
call fcn.100bf300
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 2
jmp 0x100de216
push dword [ebp - 8]
push str.Read__zd_bytes_of_chunk__continue_n
push edi
call fcn.100bf300
add esp, 0xc
jmp 0x100de216
xor eax, eax
mov dword [ebp - 8], eax
test ecx, ecx
jle 0x100de216
mov edx, dword [ebp - 0x30]
inc ebx
cmp byte [edx], 0xa
jne 0x100de09d
cmp dword [edi + 0x30c], 0
je 0x100ddf13
push dword [ebp - 0x14]
push ebx
push esi
push 1
push edi
call fcn.100bf180
add esp, 0x14
xor eax, eax
cmp dword [edi + 0x2f0], eax
push ebx
setne al
push esi
add eax, 2
push eax
push dword [ebp - 0x14]
call fcn.100bf020
add dword [edi + 0x86e8], ebx
add esp, 0x10
add dword [edi + 0x80], ebx
test eax, eax
jne 0x100de68b
mov al, byte [esi]
cmp al, 0xd
je 0x100de0b2
cmp al, 0xa
je 0x100de0b2
mov cl, byte [ebx + esi]
lea eax, [ebx + esi]
push 0x11
push esi
push str.WWW_Authenticate:
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x21], cl
mov byte [eax], 0
call fcn.100cacb0
add esp, 0xc
test eax, eax
je 0x100ddf85
mov eax, dword [edi + 0xc8]
cmp eax, 0x191
je 0x100ddfa8
push 0x13
push esi
push str.Proxy_authenticate:
lea ebx, [edi + 0xc8]
call fcn.100cacb0
add esp, 0xc
test eax, eax
je 0x100ddfc2
mov eax, dword [ebx]
cmp eax, 0x197
jne 0x100ddfc2
push esi
push eax
push dword [ebp - 0x14]
call fcn.100c3a20
add esp, 0xc
test eax, eax
jne 0x100de68b
jmp 0x100de087
push 0xf
push esi
push str.Content_Length:
call fcn.100cacb0
add esp, 0xc
test eax, eax
je 0x100ddff1
push 0xa
push 0
add esi, 0xf
push esi
call fcn.100f3733
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jmp 0x100de087
push str.close
push str.Connection:
push esi
call fcn.100c3790
add esp, 0xc
test eax, eax
je 0x100de011
mov dword [ebp - 0x1c], 1
jmp 0x100de087
push str.chunked
push str.Transfer_Encoding:
push esi
call fcn.100c3790
add esp, 0xc
test eax, eax
je 0x100de047
push str.CONNECT_responded_chunked_n
push edi
call fcn.100bf300
push dword [ebp - 0x14]
mov dword [ebp - 0x40], 1
call fcn.100e0010
add esp, 0xc
jmp 0x100de087
push str.close
push str.Proxy_Connection:
push esi
call fcn.100c3790
add esp, 0xc
test eax, eax
je 0x100de067
mov dword [ebp - 0x1c], 1
jmp 0x100de087
push ebx
lea eax, [ebp - 0x10]
push eax
push str.HTTP_1._d__d
push esi
call fcn.100b6fa0
add esp, 0x10
cmp eax, 2
jne 0x100de087
mov eax, dword [ebx]
mov dword [edi + 0x86d8], eax
mov eax, dword [ebp - 0x44]
xor ebx, ebx
mov edx, dword [ebp - 0x30]
mov cl, byte [ebp - 0x21]
mov byte [eax], cl
mov ecx, dword [ebp - 0xc]
lea esi, [edx + 1]
mov eax, dword [ebp - 8]
inc eax
inc edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 8], eax
cmp eax, ecx
jl 0x100ddef0
jmp 0x100de216
cmp dword [edi + 0xc8], 0x197
lea eax, [edi + 0x58c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], eax
jne 0x100de1cb
cmp dword [edi + 0x863c], 0
jne 0x100de1cb
mov ecx, dword [ebp - 0x28]
mov eax, ecx
mov edx, dword [ebp - 0x2c]
or eax, edx
mov dword [ebp - 0x18], 2
je 0x100de13c
push edx
push ecx
push str.Ignore__lld_bytes_of_response_body_n
push edi
call fcn.100bf300
mov eax, dword [ebp - 0xc]
add esp, 0x10
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
cdq
sub ecx, eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
sbb eax, edx
mov dword [ebp - 0x2c], eax
test eax, eax
jg 0x100de1f6
jl 0x100de19d
test ecx, ecx
jne 0x100de1f6
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
mov dword [eax], 2
jmp 0x100de216
cmp dword [ebp - 0x40], 0
je 0x100de19d
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
push eax
push str._zd_bytes_of_chunk_left_n
push edi
mov dword [edi + 0xf8], 1
call fcn.100bf300
cmp byte [esi + 1], 0xa
lea eax, [esi + 1]
cmove esi, eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
lea ecx, [eax + 1]
cmovne ecx, eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
lea eax, [esi + 1]
push eax
push dword [ebp - 0x14]
call fcn.100e0030
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x100de1af
push str.chunk_reading_DONE_n
push edi
call fcn.100bf300
add esp, 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov dword [eax], 2
jmp 0x100de216
push dword [ebp - 0xc]
push str.Read__zd_bytes_of_chunk__continue_n
push edi
call fcn.100bf300
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov dword [eax], 2
jmp 0x100de216
xor eax, eax
cmp dword [edi + 0x86d8], 0xc8
mov dword [ebp - 0x18], eax
jne 0x100de1f6
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
add eax, 0xffffffff
je 0x100de1f6
push eax
push str.Proxy_CONNECT_followed_by__zd_bytes_of_opaque_data._Data_ignored__known_bug_39_
push edi
call fcn.100bf260
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [eax], 2
jmp 0x100de216
push str.Proxy_CONNECT_aborted_due_to_select_poll_error
push edi
mov dword [ebp - 0x38], 1
call fcn.100bf260
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
call fcn.100c7430
add esp, 4
test eax, eax
jne 0x100de2e1
cmp dword [ebp - 0x34], 0x4000
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x38]
jb 0x100ddd68
test edx, edx
jne 0x100de398
cmp dword [edi + 0x86d8], 0xc8
je 0x100de27d
push ecx
call fcn.100c3850
add esp, 4
test eax, eax
jne 0x100de68b
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x1a4], eax
je 0x100de27a
mov esi, 1
mov dword [ebp - 0x1c], esi
jmp 0x100de284
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100de2aa
cmp dword [edi + 0x104], 0
jne 0x100de31b
mov eax, dword [edi + 0x104]
mov ebx, dword [ebp - 0x20]
test eax, eax
je 0x100de33b
mov edx, dword [ebp - 0x38]
jmp 0x100ddd43
mov eax, dword [edi + 0x104]
test eax, eax
je 0x100de297
mov ebx, dword [ebp - 0x20]
cmp dword [ebx], 2
jne 0x100ddd43
push 0
push str.TUNNEL_STATE_switched_to:__d_n
push edi
mov dword [ebx], 0
call fcn.100bf300
mov eax, dword [edi + 0x104]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
jmp 0x100de29a
pop edi
pop esi
mov eax, 0x2a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
push str.Proxy_CONNECT_aborted_due_to_timeout
push edi
call fcn.100bf260
add esp, 8
mov eax, 0x38
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x58]
push dword [ecx + eax*4 + 0x134]
lea ebx, [ecx + eax*4]
push ecx
call fcn.100bf8c0
add esp, 8
mov dword [ebx + 0x134], 0xffffffff
mov eax, dword [edi + 0xc8]
cmp eax, 0xc8
je 0x100de3ae
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push edi
call fcn.100bf260
add esp, 0xc
test esi, esi
je 0x100de371
cmp dword [edi + 0x104], 0
je 0x100de371
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1fc], 1
mov eax, dword [edi + 0x104]
test eax, eax
je 0x100de38f
push eax
call dword [0x1014bb60]
add esp, 4
mov dword [edi + 0x104], 0
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
pop edi
pop esi
mov eax, 0x38
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
mov dword [eax], 2
mov eax, dword [ebx + 0x22c]
test eax, eax
je 0x100de3ce
push eax
call dword [0x1014bb60]
add esp, 4
push str.Proxy_replied_OK_to_CONNECT_request_n
mov dword [ebx + 0x22c], 0
push edi
mov dword [edi + 0x8630], 1
call fcn.100bf300
add esp, 8
mov dword [edi + 0xf8], 0
mov dword [ebx + 0x1e0], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x54]
movzx esi, ax
push esi
push dword [ebp - 0x4c]
push str.Establish_HTTP_proxy_tunnel_to__s:_hu_n
push edi
call fcn.100bf300
mov eax, dword [edi + 0x104]
add esp, 0x10
test eax, eax
je 0x100de44d
push eax
call dword [0x1014bb60]
add esp, 4
mov dword [edi + 0x104], 0
call fcn.100c3290
mov ebx, eax
test ebx, ebx
je 0x100de686
push esi
push dword [ebp - 0x4c]
push str._s:_hu
call sym.RvROLClient.dll_curl_maprintf
add esp, 0xc
mov dword [ebp - 0x44], eax
test eax, eax
je 0x100de67c
push 1
push eax
push str.CONNECT
push dword [ebp - 0x14]
call fcn.100c3bb0
push dword [ebp - 0x44]
mov esi, eax
call dword [0x1014bb60]
add esp, 0x14
test esi, esi
jne 0x100de65f
mov ecx, dword [ebp - 0x14]
mov edx, 0x1011c940
mov eax, 0x1011c944
mov esi, 0x10113470
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
cmp dword [ecx + 0x118], 1
mov ecx, dword [ecx + 0x1bc]
cmovne eax, edx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
test ecx, ecx
movzx eax, dx
mov edx, esi
push eax
mov eax, 0x1011be9c
cmove eax, edx
push eax
push dword [ebp - 0x4c]
mov eax, 0x1011bea0
cmove eax, edx
push eax
push str._s_s_s:_hu
call sym.RvROLClient.dll_curl_maprintf
add esp, 0x14
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100de67c
push str.Host:
push edi
call fcn.100c3740
add esp, 8
test eax, eax
jne 0x100de544
push dword [ebp - 0x1c]
push str.Host:__s_r_n
call sym.RvROLClient.dll_curl_maprintf
mov esi, eax
add esp, 8
mov dword [ebp - 0x3c], esi
test esi, esi
jne 0x100de544
push dword [ebp - 0x1c]
call dword [0x1014bb60]
push ebx
call dword [0x1014bb60]
add esp, 8
jmp 0x100de686
push str.Proxy_Connection:
push edi
call fcn.100c3740
test eax, eax
mov ecx, str.Proxy_Connection:_Keep_Alive_r_n
mov eax, 0x10113470
cmovne ecx, eax
push str.User_Agent:
push edi
mov dword [ebp - 0x44], ecx
call fcn.100c3740
add esp, 0x10
test eax, eax
jne 0x100de587
cmp dword [edi + 0x3cc], eax
je 0x100de587
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x230]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
mov ecx, 0x10113470
push dword [ebp - 0x40]
mov eax, dword [eax + 0x22c]
test eax, eax
cmovne ecx, eax
push ecx
push esi
push dword [ebp - 0x50]
push dword [ebp - 0x1c]
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
push ebx
call fcn.100c3480
mov esi, eax
add esp, 0x20
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x100de5ce
cmp byte [eax], 0
je 0x100de5ce
push eax
call dword [0x1014bb60]
add esp, 4
push dword [ebp - 0x1c]
call dword [0x1014bb60]
add esp, 4
test esi, esi
jne 0x100de63e
push ebx
push dword [ebp - 0x14]
call fcn.100c34f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100de63e
push 0x1011c9d4
push ebx
call fcn.100c3480
mov esi, eax
add esp, 8
test esi, esi
jne 0x100de63e
mov eax, dword [ebp - 0x58]
push eax
push esi
lea eax, [edi + 0x86ec]
push eax
push dword [ebp - 0x14]
push ebx
call fcn.100c32a0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100de63e
mov eax, dword [ebp - 0x20]
mov dword [eax], 1
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
push str.Failed_sending_CONNECT_to_proxy
push edi
call fcn.100bf260
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x1014bb60]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x1014bb60]
add esp, 4
mov eax, 0x1b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret