Function at 0x1404c5600
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x88]
add rax, 0xf0
mov qword [rsp + 0x38], rax
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, [0x1407eb4b0]
mov rcx, qword [rsp + 0x98]
call fcn.1401dbe6e
test eax, eax
je 0x1404c5660
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x4c], 0x191
je 0x1404c5694
mov r8d, reloc.WS2_32.dll_send
lea rdx, [0x1407eb4c8]
mov rcx, qword [rsp + 0x98]
call fcn.1401dbe6e
test eax, eax
je 0x1404c5764
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x4c], 0x197
jne 0x1404c5764
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x4c], 0x197
jne 0x1404c56ac
mov dword [rsp + 0x50], 1
jmp 0x1404c56b4
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x50], 0
jne 0x1404c56c5
mov dword [rsp + 0x54], 0
jmp 0x1404c56cd
mov dword [rsp + 0x54], 1
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0x98]
call fcn.1401d5b9a
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1404c56fa
mov eax, 0x1b
jmp 0x1404c5b38
mov r9, qword [rsp + 0x98]
lea r8, str.CONNECT:_fwd_auth_header__s
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call fcn.1401dd0a7
mov r8, qword [rsp + 0x48]
movzx edx, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
call fcn.1401ddae3
mov dword [rsp + 0x30], eax
lea r8, [0x1407eb500]
mov edx, 0x136
mov rcx, qword [rsp + 0x48]
call fcn.1401d55f5
cmp dword [rsp + 0x30], 0
je 0x1404c575f
mov eax, dword [rsp + 0x30]
jmp 0x1404c5b38
jmp 0x1404c5b34
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x1407eb550]
mov rcx, qword [rsp + 0x98]
call fcn.1401dbe6e
test eax, eax
je 0x1404c5806
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x4c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x1404c57bb
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax + 0x4c]
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, qword [rsp + 0x88]
call fcn.1401dd854
nop
jmp 0x1404c5801
mov rax, qword [rsp + 0x90]
add rax, 0xb8
mov qword [rsp + 0x58], rax
lea rcx, [0x1407eb598]
call fcn.1401d91f0
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov r9, rcx
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.1401d9a8d
nop
jmp 0x1404c5b34
mov qword [rsp + 0x20], 5
lea r9, [0x1407eb5a8]
mov r8d, ntohl
lea rdx, [0x1407eb5b0]
mov rcx, qword [rsp + 0x98]
call fcn.1401d6941
movzx eax, al
test eax, eax
je 0x1404c584b
mov rax, qword [rsp + 0x90]
mov byte [rax + 0xc5], 1
jmp 0x1404c5b34
mov r8d, reloc.WS2_32.dll_select
lea rdx, [0x1407eb5c0]
mov rcx, qword [rsp + 0x98]
call fcn.1401dbe6e
test eax, eax
je 0x1404c591b
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x4c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x1404c58a2
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax + 0x4c]
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, qword [rsp + 0x88]
call fcn.1401dd854
nop
jmp 0x1404c5916
mov qword [rsp + 0x20], 7
lea r9, [0x1407eb610]
mov r8d, reloc.WS2_32.dll_select
lea rdx, [0x1407eb618]
mov rcx, qword [rsp + 0x98]
call fcn.1401d6941
movzx eax, al
test eax, eax
je 0x1404c5916
lea rdx, str.CONNECT_responded_chunked
mov rcx, qword [rsp + 0x88]
call fcn.1401dd854
mov rax, qword [rsp + 0x90]
mov byte [rax + 0xc4], 1
mov rax, qword [rsp + 0x90]
add rax, 0x60
mov r8b, 1
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.1401db4aa
nop
jmp 0x1404c5b34
mov qword [rsp + 0x20], 5
lea r9, [0x1407eb64c]
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, [0x1407eb658]
mov rcx, qword [rsp + 0x98]
call fcn.1401d6941
movzx eax, al
test eax, eax
je 0x1404c5960
mov rax, qword [rsp + 0x90]
mov byte [rax + 0xc5], 1
jmp 0x1404c5b34
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, qword [rsp + 0x98]
call fcn.1401dc9cc
test eax, eax
jne 0x1404c5b34
mov eax, 1
imul rax, rax, 7
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
je 0x1404c59ba
mov eax, 1
imul rax, rax, 7
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x31
jne 0x1404c5b34
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x20
jne 0x1404c5b34
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1404c5b34
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x1404c5b34
mov eax, 1
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1404c5b34
mov eax, 1
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x1404c5b34
mov eax, 1
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1404c5b34
mov eax, 1
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x1404c5b34
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1404c5ac0
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jle 0x1404c5b34
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
sub eax, 0x30
imul eax, eax, 0x64
mov ecx, 1
imul rcx, rcx, 0xa
mov rdx, qword [rsp + 0x98]
movsx ecx, byte [rdx + rcx]
sub ecx, 0x30
imul ecx, ecx, 0xa
add eax, ecx
mov ecx, 1
imul rcx, rcx, 0xb
mov rdx, qword [rsp + 0x98]
movsx ecx, byte [rdx + rcx]
sub ecx, 0x30
add eax, ecx
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x4c], ecx
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x12cc], ecx
mov eax, dword [rsp + 0x30]
add rsp, 0x70
pop rdi
ret