Function at 0x1400de810
Capabilities:
Connect socket
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1200]
mov eax, 0x1300
call fcn.14010afb0
sub rsp, rax
mov r12, r9
mov rbx, r8
mov r14, rcx
mov r15d, 1
mov dword [rsp + 0x54], r15d
lea rcx, [rbp + 0x1240]
call fcn.14006d470
mov rsi, qword [rbp + 0x1268]
imul rcx, rsi, 0xf4240
add rcx, qword [rax]
mov qword [rbp + 0x20], rcx
lea rcx, [r14 + 8]
cmp qword [r14 + 0x20], 0xf
jbe 0x1400de87e
mov rcx, qword [r14 + 8]
mov r8, qword [r14 + 0x18]
cmp r8, 4
jne 0x1400dfcad
lea rdx, str.http
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400dfcad
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movzx eax, byte [r14 + 1]
mov r13d, reloc.WS2_32.dll_socket
test al, al
jne 0x1400de8cd
lea eax, [r13 - 0x15]
jmp 0x1400de8d9
cmp al, r15b
jne 0x1400dfc63
mov eax, r13d
mov dword [rbp + 0x1b4], eax
mov dword [rbp + 0x1b8], r15d
lea rdx, [r14 + 0x68]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400de8f4
mov rdx, qword [rdx]
lea rcx, [r14 + 0x48]
cmp qword [r14 + 0x60], 0xf
jbe 0x1400de903
mov rcx, qword [r14 + 0x48]
lea r9, [rbp + 0x98]
lea r8, [rbp + 0x1b0]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1400dfcce
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x168], rax
mov rcx, qword [rbx + 0x10]
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, rcx
cmp rax, 1
jb 0x1400dfd1d
cmp qword [rbx + 0x18], 0xf
jbe 0x1400de967
mov rbx, qword [rbx]
mov qword [rsp + 0x30], r15
lea rax, [0x14012b294]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rbx
lea rcx, [rbp + 0x1e0]
call fcn.1400a5810
nop
lea rdx, [r14 + 0x88]
cmp qword [r14 + 0xa0], 0xf
jbe 0x1400de9a5
mov rdx, qword [r14 + 0x88]
mov r8, qword [r14 + 0x98]
lea rcx, [rbp + 0x1e0]
call fcn.1400a0230
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x108], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x108], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8d, [rbx + 0xb]
lea rdx, str._HTTP_1.1_r_n
lea rcx, [rbp + 0xf8]
call fcn.1400a0230
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov eax, 0x1c01
mov dword [rsp + 0x48], eax
lea rcx, [rbp + 0xf8]
call fcn.1400672b0
nop
lea rcx, [rbp + 0x1e0]
call fcn.1400672b0
mov rax, qword [rbp + 0x1260]
mov rbx, qword [rax]
mov r15, qword [rax + 8]
cmp rbx, r15
je 0x1400deaf7
lea rdx, [0x14011b150]
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 2
jb 0x1400dfd29
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400deaa1
mov r9, qword [rbx]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x50]
call fcn.1400a5810
or dword [rsp + 0x48], 4
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
lea rcx, [rbp + 0x28]
call fcn.1400a0230
nop
lea rcx, [rbp - 0x50]
call fcn.1400672b0
add rbx, 0x20
cmp rbx, r15
lea rdx, [0x14011b150]
jne 0x1400dea80
mov r8, qword [r12 + 8]
sub r8, qword [r12]
lea r9, [rbp - 0x3b]
movabs r10, 0xcccccccccccccccd
nop
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x1400deb10
lea r8, [rbp - 0x3b]
mov rdx, r9
lea rcx, [rbp + 0xd0]
call fcn.1400a8cf0
mov ebx, dword [rsp + 0x48]
or ebx, 0x18
lea rax, [r14 + 0x28]
mov rcx, qword [rax + 0x10]
sub rdi, rcx
cmp rdi, 6
jb 0x1400dfd23
cmp qword [rax + 0x18], 0xf
jbe 0x1400deb73
mov rax, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.Host:
lea rcx, [rbp + 0x138]
call fcn.1400a5810
or ebx, 0x20
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rbp + 0x138]
call fcn.1400a0230
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x190], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1a0], xmm1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r15b
or ebx, 0x40
lea r9, [rbp + 0xd0]
lea r8, [rbp + 0x190]
lea rcx, [rbp + 0x70]
call fcn.1400a5610
bts ebx, 7
lea r8d, [r15 + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x70]
call fcn.1400a0230
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x170], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x180], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r15b
or ebx, 2
mov dword [rsp + 0x48], ebx
lea rdx, [rbp + 0x170]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x28]
call fcn.1400a0230
nop
lea rcx, [rbp + 0x170]
call fcn.1400672b0
nop
lea rcx, [rbp + 0x70]
call fcn.1400672b0
nop
lea rcx, [rbp + 0x190]
call fcn.1400672b0
nop
lea rcx, [rbp + 0x138]
call fcn.1400672b0
nop
lea rcx, [rbp + 0xd0]
call fcn.1400672b0
lea rdi, [rbp + 0x28]
cmp qword [rbp + 0x40], 0xf
cmova rdi, qword [rbp + 0x28]
add rdi, qword [rbp + 0x38]
lea rbx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0xf
cmova rbx, qword [rbp + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r15
sub rdi, rbx
je 0x1400ded00
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.1400b4b30
mov r8, rdi
mov rdx, rbx
mov rbx, qword [rbp - 0x68]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rbx + rdi]
mov qword [rbp - 0x60], rdx
jmp 0x1400ded04
mov rdx, qword [rbp - 0x60]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
lea rcx, [rbp - 0x68]
call fcn.1400e1a40
movzx eax, byte [r14 + 1]
test al, al
jne 0x1400ded2a
mov r13d, 2
jmp 0x1400ded32
cmp al, 1
jne 0x1400dff14
mov ebx, 1
lea r8d, [rbx + 5]
mov edx, ebx
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
mov qword [rbp + 0x10], rax
cmp rax, 0xffffffffffffffff
je 0x1400dfd2f
mov dword [rbp + 0x1268], ebx
lea r8, [rbp + 0x1268]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x1400dfd68
movabs rbx, 0x431bde82d7b634db
test rsi, rsi
js 0x1400dedc9
lea rcx, [rbp + 0x1240]
call fcn.14006d470
mov r12, qword [rbp + 0x20]
mov rcx, r12
sub rcx, qword [rbp + 0x1240]
mov rax, rbx
imul rcx
mov rbx, rdx
sar rbx, 0x12
mov rax, rbx
shr rax, 0x3f
add rbx, rax
test rbx, rbx
mov r13d, 0
cmovle rbx, r13
jmp 0x1400dedd7
mov rbx, 0xffffffffffffffff
mov r12, qword [rbp + 0x20]
xor r13d, r13d
mov rax, qword [rbp + 0x18]
mov r14d, dword [rax + 0x10]
mov r15, qword [rax + 0x20]
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1400dee18
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400dee73
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400dedf7
mov ebx, 1
mov r14, qword [rbp - 0x60]
mov r15, qword [rbp - 0x68]
sub r14, r15
je 0x1400def56
nop
test rsi, rsi
js 0x1400deee0
lea rcx, [rbp + 0x1240]
call fcn.14006d470
mov rcx, r12
sub rcx, qword [rbp + 0x1240]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
cmovle rdx, r13
jmp 0x1400deee7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400dfddf
mov r8, rbx
mov ebx, 1
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.1400dddc0
mov dword [rbp + 0x1240], 4
lea rax, [rbp + 0x1240]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1400dfdab
mov edx, dword [rsp + 0x54]
test edx, edx
jne 0x1400dfc84
jmp 0x1400dee1d
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.1400dddc0
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400def41
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400def38
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400def10
jmp 0x1400def41
cmp ebx, 0xffffffff
je 0x1400dfe13
movsxd rax, ebx
add r15, rax
sub r14, rax
je 0x1400def56
mov ebx, 1
jmp 0x1400dee30
mov word [rsp + 0x44], 0xa0d
mov rax, qword [rbp + 0x1248]
mov dword [rax], r13d
lea rcx, [rax + 8]
mov qword [rbp + 0xb0], rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], 0
mov qword [rax + 0x28], r13
mov qword [rax + 0x30], r13
mov qword [rax + 0x38], r13
mov qword [rax + 0x40], r13
mov qword [rax + 0x48], r13
mov qword [rax + 0x50], r13
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x54], eax
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r13
mov dword [rsp + 0x4c], r13d
mov byte [rbp + 0x1240], 0
mov qword [rbp + 0x48], r13
mov byte [rbp + 0x1268], 0
mov r15, r13
mov qword [rbp - 0x30], r13
xor r13b, r13b
mov dword [rsp + 0x50], r13d
mov r14, qword [rbp - 0x20]
mov r12, qword [rbp - 0x28]
test rsi, rsi
js 0x1400df02a
lea rcx, [rbp + 0xa0]
call fcn.14006d470
mov rcx, qword [rbp + 0x20]
sub rcx, qword [rbp + 0xa0]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
mov eax, 0
cmovle rdx, rax
jmp 0x1400df031
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.1400dddc0
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x200]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400df098
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400df08f
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x200]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400df060
jmp 0x1400df098
cmp ebx, 0xffffffff
je 0x1400dfe47
movsxd r9, ebx
test ebx, ebx
je 0x1400dfbbd
lea r8, [rbp + 0x200]
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.1400e1a40
mov r12, qword [rbp - 0x28]
mov r14, qword [rbp - 0x20]
cmp dword [rsp + 0x4c], 2
je 0x1400df7c3
nop dword [rax]
mov rbx, r14
mov rcx, r14
sub rcx, r12
movzx eax, word [rsp + 0x44]
cmp rcx, 2
jl 0x1400df10c
lea r8, [r14 - 2]
cmp ax, word [r12]
sete cl
mov rdx, r12
test cl, cl
jne 0x1400df109
cmp rdx, r8
je 0x1400df10c
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x1400df0f7
mov rbx, rdx
cmp rbx, r14
je 0x1400df84f
mov r8, rbx
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.1400e1820
nop
lea rdx, [rbx + 2]
cmp r12, rdx
je 0x1400df144
sub r14, rdx
mov r8, r14
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r14, r12
mov qword [rbp - 0x20], r14
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1400df7a8
mov ebx, dword [rsp + 0x4c]
test ebx, ebx
jne 0x1400df32a
mov dword [rsp + 0x4c], 1
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
seta r9b
cmova rcx, qword [rsp + 0x78]
add rdx, rcx
lea rcx, [rsp + 0x78]
test r9b, r9b
cmovne rcx, qword [rsp + 0x78]
mov r8b, 0x20
call fcn.14010a500
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
seta r10b
mov r8, qword [rsp + 0x78]
cmova rcx, r8
mov r9, qword [rbp - 0x78]
add rcx, r9
cmp rax, rcx
je 0x1400df799
lea rbx, [rax + 1]
lea rdx, [rsp + 0x78]
test r10b, r10b
cmovne rdx, r8
add rdx, r9
mov r8b, 0x20
mov rcx, rbx
call fcn.14010a500
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xor eax, eax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
cmp rbx, r15
jne 0x1400df201
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x50], al
jmp 0x1400df214
mov r8, r15
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.1400a3d30
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r13, rax
lea rbx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rbx, qword [rbp + 0x50]
xor eax, eax
mov dword [r13], eax
lea r8d, [rax + 0xa]
lea rdx, [rbp + 0xa8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp + 0xa8]
je 0x1400dfabd
cmp dword [r13], 0x22
je 0x1400dfaaf
mov rcx, qword [rbp + 0x1248]
mov dword [rcx], eax
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
seta r10b
mov r8, qword [rsp + 0x78]
cmova rax, r8
mov r9, qword [rbp - 0x78]
add rax, r9
cmp r15, rax
je 0x1400df31c
lea rdx, [r15 + 1]
lea rax, [rsp + 0x78]
test r10b, r10b
cmovne rax, r8
lea r8, [rax + r9]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
cmp rdx, r8
jne 0x1400df2c4
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], al
jmp 0x1400df2d0
sub r8, rdx
lea rcx, [rbp - 0x50]
call fcn.1400a3d30
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp + 0xb0]
call fcn.14009ea30
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400df31c
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400df316
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dfaa8
call fcn.14010a7a8
nop
lea rcx, [rbp + 0x50]
call fcn.1400672b0
jmp 0x1400df799
cmp ebx, 1
jne 0x1400df799
mov rbx, qword [rbp + 0x1248]
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
je 0x1400df358
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.14009ec30
add qword [rbx + 0x30], 0x20
jmp 0x1400df369
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [rbx + 0x28]
call fcn.1400aa120
lea r15, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
seta byte [rsp + 0x40]
cmova r15, qword [rsp + 0x78]
mov r13, qword [rbp - 0x78]
test r13, r13
je 0x1400df3a4
mov r8, r13
mov edx, 0x3a
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400df3a4
sub rbx, r15
jmp 0x1400df3ab
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x1400dfebd
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov r8, rbx
cmp r13, rbx
cmovb r8, r13
lea rdx, [rsp + 0x78]
cmp byte [rsp + 0x40], al
cmovne rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x10]
call fcn.1400a3d30
mov r15d, dword [rsp + 0x48]
bts r15d, 8
mov dword [rsp + 0x54], r15d
lea r11, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
seta cl
mov r9, qword [rbp - 0x10]
cmova r11, r9
lea rdx, [rbp - 0x10]
mov r10, qword [rbp]
test cl, cl
je 0x1400df41c
add r10, r9
jmp 0x1400df423
add r10, rdx
lea r9, [rbp - 0x10]
cmp r9, r10
je 0x1400df452
sub r11, r9
nop dword [rax + rax]
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
mov byte [r9 + r11], cl
inc r9
cmp r9, r10
jne 0x1400df430
inc rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor r13d, r13d
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov rax, qword [rbp - 0x78]
cmp rax, rbx
jb 0x1400dfeb7
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdx, qword [rsp + 0x78]
add rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1400a3d30
bts r15d, 9
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x54], r15d
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
seta r9b
mov r8, qword [rsp + 0x58]
cmova rdx, r8
mov r15, qword [rsp + 0x68]
add rdx, r15
lea rax, [rsp + 0x58]
test r9b, r9b
cmovne rax, r8
cmp rax, rdx
je 0x1400df4fa
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x1400df4f2
cmp cl, 9
jne 0x1400df4fa
inc rax
cmp rax, rdx
jne 0x1400df4e5
lea rcx, [rsp + 0x58]
mov rdx, r13
test r9b, r9b
je 0x1400df519
sub rax, r8
mov rcx, r15
sub rcx, r13
cmp rcx, rax
cmovb rax, rcx
jmp 0x1400df528
sub rax, rcx
cmp r15, rax
cmovb rax, r15
lea r8, [rsp + 0x58]
lea rcx, [r8 + rdx]
sub r15, rax
mov r8, r15
sub r8, rdx
inc r8
lea rdx, [rcx + rax]
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x68], r15
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
seta r11b
mov r10, qword [rsp + 0x58]
cmova r9, r10
add r9, r15
lea rcx, [rsp + 0x58]
test r11b, r11b
je 0x1400df573
mov rcx, r10
mov rax, r10
jmp 0x1400df578
lea rax, [rsp + 0x58]
lea rdx, [r15 + rax]
cmp rdx, rcx
je 0x1400df59d
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x1400df595
cmp r8b, 9
jne 0x1400df59d
mov rdx, rax
cmp rax, rcx
jne 0x1400df581
lea rax, [rsp + 0x58]
sub r9, rdx
test r11b, r11b
je 0x1400df5af
sub rdx, r10
jmp 0x1400df5b7
sub rdx, rax
lea r10, [rsp + 0x58]
mov rax, r15
sub rax, rdx
cmp rax, r9
cmovb r9, rax
lea rcx, [r10 + rdx]
sub r15, r9
mov r8, r15
sub r8, rdx
inc r8
lea rdx, [rcx + r9]
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x68], r15
lea rcx, [rbp - 0x10]
mov rbx, qword [rbp + 8]
cmp rbx, 0xf
seta al
mov byte [rsp + 0x40], al
cmova rcx, qword [rbp - 0x10]
mov r13, qword [rbp]
cmp r13, 0xe
jne 0x1400df6ac
mov r8, r13
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400df6a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r15, rax
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rbx, qword [rsp + 0x58]
xor r13d, r13d
mov dword [rax], r13d
lea r8d, [r13 + 0xa]
lea rdx, [rbp + 0xb8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0xb8]
je 0x1400dfad9
cmp dword [r15], 0x22
je 0x1400dfacb
mov edx, eax
mov qword [rbp + 0x48], rdx
mov byte [rbp + 0x1240], 1
mov qword [rbp + 0xc0], rdx
mov rcx, qword [rbp + 0x1248]
add rcx, 0x40
mov rax, qword [rcx + 0x10]
sub rax, qword [rcx]
cmp rdx, rax
jbe 0x1400df6a1
lea rdx, [rbp + 0xc0]
call fcn.1400e1950
mov rbx, qword [rbp + 8]
jmp 0x1400df70c
movzx eax, byte [rsp + 0x40]
lea rcx, [rbp - 0x10]
test al, al
cmovne rcx, qword [rbp - 0x10]
cmp r13, 0x11
jne 0x1400df709
mov r8, r13
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400df709
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rcx, qword [rsp + 0x58]
cmp r15, 7
jne 0x1400dfe81
mov r8, r15
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400dfe81
mov byte [rbp + 0x1268], 1
xor r13d, r13d
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400df74d
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400df744
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dfae7
call fcn.14010a7a8
mov rbx, qword [rbp + 8]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
cmp rbx, 0xf
jbe 0x1400df799
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400df793
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dfaee
call fcn.14010a7a8
nop
lea rcx, [rsp + 0x78]
call fcn.1400672b0
jmp 0x1400df0d0
mov dword [rsp + 0x4c], 2
lea rcx, [rsp + 0x78]
call fcn.1400672b0
mov r15, qword [rbp - 0x30]
mov r13d, dword [rsp + 0x50]
movzx eax, word [rsp + 0x44]
cmp byte [rbp + 0x1268], 0
je 0x1400df9a4
test r15, r15
je 0x1400df868
mov rax, r14
sub rax, r12
mov rbx, r15
cmp rax, r15
cmovb rbx, rax
mov rcx, qword [rbp + 0x1248]
mov rdx, qword [rcx + 0x48]
mov r9, rbx
mov r8, r12
add rcx, 0x40
call fcn.1400e1a40
lea rdx, [r12 + rbx]
cmp r12, rdx
je 0x1400df826
sub r14, rdx
mov r8, r14
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r14, r12
mov qword [rbp - 0x20], r14
sub r15, rbx
mov qword [rbp - 0x30], r15
movzx r13d, r13b
mov eax, 1
cmove r13d, eax
mov dword [rsp + 0x50], r13d
cmp r12, r14
je 0x1400defe5
movzx eax, word [rsp + 0x44]
jmp 0x1400df7d5
cmp dword [rsp + 0x4c], 2
mov r15, qword [rbp - 0x30]
mov r13d, dword [rsp + 0x50]
jne 0x1400defe5
jmp 0x1400df7c8
test r13b, r13b
je 0x1400df8b9
mov rcx, r14
sub rcx, r12
cmp rcx, 2
jb 0x1400defe5
cmp ax, word [r12]
sete cl
test cl, cl
je 0x1400dfef3
xor r13b, r13b
mov dword [rsp + 0x50], r13d
lea rdx, [r12 + 2]
cmp r12, rdx
je 0x1400df8b9
sub r14, rdx
mov r8, r14
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r14, r12
mov qword [rbp - 0x20], r14
movzx eax, word [rsp + 0x44]
mov rbx, r14
mov rcx, r14
sub rcx, r12
cmp rcx, 2
jl 0x1400df8f5
lea r8, [r14 - 2]
cmp ax, word [r12]
sete cl
mov rdx, r12
test cl, cl
jne 0x1400df8f2
nop dword [rax + rax]
cmp rdx, r8
je 0x1400df8f5
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x1400df8e0
mov rbx, rdx
cmp rbx, r14
je 0x1400defe5
mov r8, rbx
mov rdx, r12
lea rcx, [rbp + 0x118]
call fcn.1400e1820
nop
lea rdx, [rbx + 2]
cmp r12, rdx
je 0x1400df92f
sub r14, rdx
mov r8, r14
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r14, r12
mov qword [rbp - 0x20], r14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r15, rax
lea rbx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0xf
cmova rbx, qword [rbp + 0x118]
xor eax, eax
mov dword [r15], eax
lea r8d, [rax + 0x10]
lea rdx, [rbp + 0xc8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0xc8]
je 0x1400dfbaf
cmp dword [r15], 0x22
je 0x1400dfba1
mov r15d, eax
mov qword [rbp - 0x30], r15
lea rcx, [rbp + 0x118]
test eax, eax
je 0x1400dfaf5
call fcn.1400672b0
movzx eax, word [rsp + 0x44]
jmp 0x1400df7d5
mov r9, r14
sub r9, r12
mov rbx, qword [rbp + 0x1248]
mov rdx, qword [rbx + 0x48]
mov r8, r12
lea rcx, [rbx + 0x40]
call fcn.1400e1a40
cmp r12, r14
cmovne r14, r12
mov qword [rbp - 0x20], r14
cmp byte [rbp + 0x1240], 0
je 0x1400defe5
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, qword [rbp + 0x48]
jb 0x1400defe5
test r12, r12
je 0x1400dfa26
mov rdx, qword [rbp - 0x18]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x1400dfa1d
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dfbeb
mov rcx, r12
call fcn.14010a7a8
nop
cmp rdi, 0xffffffffffffffff
je 0x1400dfa36
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400dfa71
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dfa6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dfc3c
call fcn.14010a7a8
nop
lea rcx, [rbp + 0x28]
call fcn.1400672b0
nop
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, qword [rbp + 0x1248]
mov rbx, qword [rsp + 0x1350]
add rsp, 0x1300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
lea rcx, str.stoul_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoul_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400672b0
nop
test r12, r12
je 0x1400dfb39
mov rdx, qword [rbp - 0x18]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x1400dfb30
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dfb30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14010a7a8
nop
cmp rdi, 0xffffffffffffffff
je 0x1400dfb49
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400dfb87
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dfb81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dfb81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a7a8
nop
lea rcx, [rbp + 0x28]
call fcn.1400672b0
nop
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x1400dfa86
lea rcx, str.stoul_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoul_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
test r12, r12
je 0x1400dfbfb
mov rdx, qword [rbp - 0x18]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x1400dfbf2
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dfbf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14010a7a8
nop
cmp rdi, 0xffffffffffffffff
je 0x1400dfc0b
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400dfc49
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dfc43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dfc43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a7a8
nop
lea rcx, [rbp + 0x28]
call fcn.1400672b0
nop
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x1400dfa86
lea rdx, str.Unsupported_protocol
lea rcx, [rbp - 0x68]
call fcn.1400ddc00
lea rdx, [0x14014daf8]
lea rcx, [rbp - 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400ddbf0
mov r8, rax
lea r9, str.Failed_to_connect
lea rcx, [rbp + 0x70]
call fcn.1400dd900
lea rdx, [0x14014da08]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Only_HTTP_scheme_is_supported
lea rcx, [rbp - 0x68]
call fcn.1400ddc00
lea rdx, [0x14014daf8]
lea rcx, [rbp - 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea r8, [r14 + 0x48]
lea rdx, str.Failed_to_get_address_info_of
lea rcx, [rbp + 0xd0]
call fcn.1400a0bd0
mov rdi, rax
call fcn.1400ddbf0
mov rbx, rax
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
mov r9, rdi
mov r8, rbx
lea rcx, [rbp + 0x138]
call fcn.1400dd8c0
lea rdx, [0x14014da08]
lea rcx, [rbp + 0x138]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400668e0
nop
call fcn.1400668e0
nop
call fcn.1400668e0
nop
call fcn.1400ddbf0
mov rbx, rax
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
lea r9, str.Failed_to_create_socket
mov r8, rbx
lea rcx, [rbp + 0xd0]
call fcn.1400dd900
lea rdx, [0x14014da08]
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp + 0x10]
call fcn.1400ddf10
call fcn.1400ddbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_get_socket_flags
mov r8, rbx
lea rcx, [rbp + 0x138]
call fcn.1400dd900
lea rdx, [0x14014da08]
lea rcx, [rbp + 0x138]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400ddbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_get_socket_option
mov r8, rbx
lea rcx, [rbp + 0x70]
call fcn.1400dd900
lea rdx, [0x14014da08]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400ddbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_connect
mov r8, rbx
lea rcx, [rbp + 0x70]
call fcn.1400dd900
lea rdx, [0x14014da08]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400ddbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_send_data
mov r8, rbx
lea rcx, [rbp + 0x70]
call fcn.1400dd900
lea rdx, [0x14014da08]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400ddbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_read_data
mov r8, rbx
lea rcx, [rbp + 0xd0]
call fcn.1400dd900
lea rdx, [0x14014da08]
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x58]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rbp + 0xd0]
call fcn.1400a0bd0
nop
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400ddca0
lea rdx, [0x14014db40]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400a0620
nop
lea r8, [rsp + 0x78]
lea rdx, str.Invalid_header:
lea rcx, [rbp + 0xd0]
call fcn.1400a0bd0
nop
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400ddca0
lea rdx, [0x14014db40]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_chunk
lea rcx, [rbp - 0x50]
call fcn.1400ddc50
lea rdx, [0x14014db40]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Unsupported_protocol
lea rcx, [rbp - 0x50]
call fcn.1400ddc00
lea rdx, [0x14014daf8]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3