Function at 0x1800040fc
Capabilities:
Connect socket
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11a8]
mov eax, 0x12a8
call fcn.180015a30
sub rsp, rax
movaps xmmword [rsp + 0x1290], xmm6
movaps xmmword [rsp + 0x1280], xmm7
movaps xmmword [rsp + 0x1270], xmm8
movaps xmmword [rsp + 0x1260], xmm9
mov rax, qword [0x18001c010]
xor rax, rsp
mov qword [rbp + 0x1150], rax
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x38], rdx
mov rsi, rcx
mov qword [rbp - 0x40], rdx
mov r12, qword [rbp + 0x1210]
mov edi, 1
mov dword [rbp - 0x18], edi
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x180004194
imul rax, rax, 0x64
jmp 0x1800041af
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov r14, qword [rbp + 0x1218]
imul rcx, r14, 0xf4240
add rax, rcx
mov qword [rsp + 0x68], rax
lea r15, [rsi + 8]
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1800041d6
mov rcx, qword [r15]
mov r8, qword [r15 + 0x10]
cmp r8, 4
jne 0x180005094
lea rdx, str.http
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180005094
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
mov al, byte [rsi + 1]
mov r13d, reloc.WS2_32.dll_socket
test al, al
jne 0x180004223
lea eax, [r13 - 0x15]
jmp 0x18000422f
cmp al, dil
jne 0x180005060
mov eax, r13d
mov dword [rbp + 0x124], eax
mov dword [rbp + 0x128], edi
cmp qword [rsi + 0x98], 0
jne 0x18000424e
lea rdx, [0x180017750]
jmp 0x18000425f
lea rdx, [rsi + 0x88]
cmp qword [rdx + 0x18], 0x10
jb 0x18000425f
mov rdx, qword [rdx]
lea rdi, [rsi + 0x68]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180004270
mov rcx, qword [rdi]
lea r9, [rbp - 0x38]
lea r8, [rbp + 0x120]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1800050ae
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp + 0x110], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x40], rax
mov qword [rbp + 0x118], rax
xor eax, eax
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rax
movdqu xmmword [rbp - 0x10], xmm0
and qword [rbp], rax
mov rdi, qword [r12 + 8]
sub rdi, qword [r12]
sar rdi, 6
test rdi, rdi
je 0x1800043b4
movabs rax, 0x3ffffffffffffff
cmp rdi, rax
ja 0x1800050e9
shl rdi, 6
cmp rdi, 0x1000
jb 0x180004326
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1800050ef
call fcn.180014958
test rax, rax
je 0x18000431f
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18000433a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rdi, rdi
je 0x180004338
mov rcx, rdi
call fcn.180014958
mov rbx, rax
jmp 0x18000433a
xor ebx, ebx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
lea rax, [rdi + rbx]
mov qword [rbp], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [r12 + 8]
mov qword [rsp + 0x58], rax
mov rdi, qword [r12]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rbx
lea rcx, [rbp - 0x10]
mov qword [rbp + 0x60], rcx
cmp rdi, rax
je 0x1800043b0
mov r12, rax
mov qword [rsp + 0x58], rbx
mov rdx, rdi
mov rcx, rbx
call fcn.18000fda0
nop
lea rdx, [rdi + 0x20]
lea rcx, [rbx + 0x20]
call fcn.18000fda0
nop
add rbx, 0x40
mov qword [rbp + 0x58], rbx
add rdi, 0x40
cmp rdi, r12
jne 0x180004380
mov qword [rbp - 8], rbx
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
mov rdx, r15
lea rcx, [rbp + 0x18]
call fcn.1800036e8
nop
mov al, byte [rsi + 1]
mov edi, 1
test al, al
jne 0x1800043e6
lea r13d, [rdi + 1]
jmp 0x1800043ef
cmp al, dil
jne 0x18000525d
mov r8d, 6
mov edx, edi
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
mov qword [rsp + 0x60], rax
or r13, 0xffffffffffffffff
cmp rax, r13
je 0x1800050f5
mov dword [rbp - 0x2c], edi
lea r8, [rbp - 0x2c]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x180005117
mov r12, qword [rsp + 0x68]
test r14, r14
js 0x180004449
mov rdx, r12
call fcn.180005278
mov rdi, rax
jmp 0x18000444c
mov rdi, r13
mov rax, qword [rsp + 0x40]
mov esi, dword [rax + 0x10]
mov r15, qword [rax + 0x20]
jmp 0x180004467
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1800044a0
mov r8d, esi
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, r13d
je 0x18000445a
mov esi, 1
mov rdi, qword [rbp + 0x20]
mov r15, qword [rbp + 0x18]
sub rdi, r15
je 0x180004575
test r14, r14
js 0x180004506
mov rdx, r12
call fcn.180005278
jmp 0x180004509
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x18000516b
mov r8, rdi
mov esi, 1
mov edx, esi
lea rcx, [rsp + 0x60]
call fcn.1800031d4
mov dword [rbp - 0x20], 4
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x18]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, r13d
je 0x180005149
mov edx, dword [rbp - 0x18]
test edx, edx
jne 0x18000507a
jmp 0x180004480
mov rax, r13
mov r8, rax
mov edx, esi
lea rcx, [rsp + 0x60]
call fcn.1800031d4
xor r9d, r9d
mov r8d, edi
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp eax, r13d
jne 0x180004560
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x180004557
xor r9d, r9d
mov r8d, edi
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp eax, r13d
je 0x180004531
cmp esi, r13d
je 0x18000518d
movsxd rax, esi
add r15, rax
sub rdi, rax
je 0x180004575
mov esi, 1
jmp 0x180004491
mov word [rbp - 0x30], 0xa0d
mov dword [rbp - 0x28], 0xa0d0a0d
mov rax, qword [rsp + 0x38]
xorps xmm0, xmm0
movups xmmword [rax + 8], xmm0
and qword [rax + 0x18], 0
mov qword [rax + 0x20], recv
mov byte [rax + 8], 0
lea rcx, [rax + 0x28]
mov qword [rsp + 0x70], rcx
and qword [rcx], 0
and qword [rcx + 8], 0
and qword [rcx + 0x10], 0
lea rdi, [rax + 0x40]
mov qword [rsp + 0x48], rdi
and qword [rdi], 0
and qword [rdi + 8], 0
and qword [rdi + 0x10], 0
mov edi, 1
mov dword [rbp - 0x18], edi
xor eax, eax
mov qword [rbp], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
and qword [rbp], rax
xor sil, sil
mov byte [rsp + 0x31], sil
and qword [rsp + 0x50], rax
mov byte [rsp + 0x30], sil
xor r13d, r13d
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x2c], eax
mov r12, qword [rbp - 8]
mov r15, qword [rbp - 0x10]
test r14, r14
js 0x18000461c
mov rdx, qword [rsp + 0x68]
call fcn.180005278
jmp 0x180004620
or rax, 0xffffffffffffffff
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1800031d4
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x150]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp eax, 0xffffffff
jne 0x180004685
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x18000467c
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x150]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp eax, 0xffffffff
je 0x18000464f
cmp edi, 0xffffffff
je 0x1800051af
movsxd r9, edi
test edi, edi
je 0x180004f83
lea r8, [rbp + 0x150]
mov rdx, r12
lea rcx, [rbp - 0x10]
call fcn.180013600
mov r15, qword [rbp - 0x10]
mov r12, qword [rbp - 8]
test sil, sil
jne 0x180004bbf
mov rax, r12
sub rax, r15
cmp rax, 4
jl 0x180004ee7
lea rdx, [r12 - 4]
mov eax, dword [rbp - 0x28]
cmp eax, dword [r15]
mov rsi, r15
jmp 0x1800046e2
cmp rsi, rdx
je 0x180004ee7
inc rsi
cmp eax, dword [rsi]
sete cl
test cl, cl
je 0x1800046d4
cmp rsi, r12
je 0x180004ee7
add rsi, 2
mov r8, rsi
mov rdx, r15
lea rcx, [rbp + 0x90]
call fcn.180011b5c
nop
mov rdi, qword [rbp + 0x90]
mov eax, dword [rbp + 0x98]
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
movzx eax, word [rbp + 0x9c]
mov word [rcx + 4], ax
lea rdx, [rbp + 0xa0]
add rcx, 8
call fcn.18000fce4
xor r13d, r13d
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp + 0xc0]
call fcn.180011d9c
nop
mov rdi, qword [rbp + 0xc0]
movups xmm9, xmmword [rbp + 0xc8]
movups xmmword [rbp + 0x30], xmm9
movups xmm8, xmmword [rbp + 0xd8]
movups xmmword [rbp + 0x40], xmm8
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], recv
mov byte [rbp + 0xc8], r13b
lea r9, [rbp + 0x30]
movdqa xmm0, xmm8
psrldq xmm0, 8
movq rdx, xmm0
cmp rdx, 0x10
setae al
movq r13, xmm9
cmovae r9, r13
lea r10, [rbp + 0x30]
test al, al
je 0x1800047bb
mov r10, r13
mov rcx, r13
jmp 0x1800047bf
lea rcx, [rbp + 0x30]
movq rax, xmm8
mov qword [rsp + 0x58], rax
lea r11, [rcx + rax]
cmp r9, r11
je 0x180004812
sub r10, r9
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
mov byte [r9 + r10], cl
inc r9
cmp r9, r11
jne 0x1800047d5
mov rdx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x58], rax
movups xmm8, xmmword [rbp + 0x40]
mov r13, qword [rbp + 0x30]
movups xmm9, xmmword [rbp + 0x30]
movups xmm7, xmmword [rbp + 0xe8]
movups xmmword [rbp + 0x70], xmm7
movups xmm6, xmmword [rbp + 0xf8]
movups xmmword [rbp + 0x80], xmm6
and qword [rbp + 0xf8], 0
mov qword [rbp + 0x100], recv
mov byte [rbp + 0xe8], 0
lea rcx, [rbp + 0x30]
cmp rdx, 0x10
setae r8b
mov byte [rsp + 0x32], r8b
cmovae rcx, r13
cmp rax, 0x11
jne 0x1800048cf
mov r8, rax
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800048c5
lea rcx, [rbp + 0x70]
movq rdx, xmm7
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rcx, rdx
movq rax, xmm6
cmp rax, 7
jne 0x1800051d7
mov r8, rax
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
xor r13d, r13d
test eax, eax
jne 0x1800051d7
mov byte [rsp + 0x30], 1
jmp 0x1800049b3
mov rax, qword [rsp + 0x58]
mov r8b, byte [rsp + 0x32]
lea rcx, [rbp + 0x30]
test r8b, r8b
cmovne rcx, r13
cmp rax, 0xe
jne 0x1800049b0
mov r8, rax
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
xor r13d, r13d
test eax, eax
jne 0x1800049b3
lea r9, [rbp + 0x70]
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
setae dl
movq rcx, xmm7
cmovae r9, rcx
movq rax, xmm6
add r9, rax
lea rax, [rbp + 0x70]
test dl, dl
cmovne rax, rcx
mov r8d, r13d
mov qword [rsp + 0x50], r13
jmp 0x180004963
mov cl, byte [rax]
sub cl, 0x30
cmp cl, 9
ja 0x180005209
movsx ecx, byte [rax]
sub ecx, 0x30
movsxd rdx, ecx
lea rcx, [r8 + r8*4]
lea r8, [rdx + rcx*2]
mov qword [rsp + 0x50], r8
inc rax
cmp rax, r9
jne 0x18000493c
mov byte [rsp + 0x31], 1
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx + 0x10]
sub rax, qword [rcx]
cmp r8, rax
jbe 0x1800049b3
movabs rax, 0x7fffffffffffffff
cmp r8, rax
ja 0x180005223
mov rdx, r8
call fcn.1800103f4
movups xmm8, xmmword [rbp + 0x40]
movups xmm9, xmmword [rbp + 0x30]
movups xmm6, xmmword [rbp + 0x80]
movups xmm7, xmmword [rbp + 0x70]
jmp 0x1800049b3
xor r13d, r13d
movaps xmmword [rbp - 0x80], xmm9
movaps xmmword [rbp - 0x70], xmm8
mov qword [rbp + 0x40], r13
mov eax, recv
mov qword [rbp + 0x48], rax
mov byte [rbp + 0x30], r13b
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm6
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], rax
mov byte [rbp + 0x70], r13b
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x70]
call fcn.18000f8a0
nop
lea rcx, [rbp - 0x80]
call fcn.180004058
nop
mov rdx, qword [rbp + 0x88]
cmp rdi, rsi
je 0x180004aba
cmp rdx, 0x10
jb 0x180004a48
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004a43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004ed2
call fcn.180014950
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], recv
mov byte [rbp + 0x70], r13b
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x180004a99
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004a94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004ed9
call fcn.180014950
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], recv
mov byte [rbp + 0x30], r13b
lea rcx, [rbp + 0xc8]
call fcn.180004058
jmp 0x18000473b
mov edi, 0x1000
cmp rdx, 0x10
jb 0x180004af2
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, rdi
jb 0x180004aed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004ed2
call fcn.180014950
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], recv
mov byte [rbp + 0x70], r13b
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x180004b3f
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, rdi
jb 0x180004b3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004ed9
call fcn.180014950
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], recv
mov byte [rbp + 0x30], r13b
lea rcx, [rbp + 0xc8]
call fcn.180004058
lea rdx, [rsi + 2]
cmp r15, rdx
je 0x180004b79
sub r12, rdx
mov r8, r12
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
add r12, r15
mov qword [rbp - 8], r12
mov esi, 1
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x180004bbb
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, rdi
jb 0x180004bb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004ee0
call fcn.180014950
mov r13, qword [rbp - 0x20]
cmp byte [rsp + 0x30], 0
je 0x180004df4
mov edi, 1
mov r8d, dword [rbp - 0x2c]
test r13, r13
je 0x180004c46
mov rax, r12
sub rax, r15
mov rdi, r13
cmp rax, r13
cmovb rdi, rax
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x48]
mov r9, rdi
mov r8, r15
mov rcx, qword [rsp + 0x48]
call fcn.180013600
lea rdx, [r15 + rdi]
cmp r15, rdx
je 0x180004c1f
sub r12, rdx
mov r8, r12
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
add r12, r15
mov qword [rbp - 8], r12
sub r13, rdi
mov qword [rbp - 0x20], r13
mov r8d, dword [rbp - 0x2c]
movzx r8d, r8b
mov edi, 1
cmove r8d, edi
mov dword [rbp - 0x2c], r8d
cmp r15, r12
je 0x18000460b
jmp 0x180004bd3
test r8b, r8b
je 0x180004c91
mov rax, r12
sub rax, r15
cmp rax, 2
jb 0x18000460b
movzx eax, word [rbp - 0x30]
cmp ax, word [r15]
sete al
test al, al
je 0x180005229
xor al, al
mov dword [rbp - 0x2c], eax
lea rdx, [r15 + 2]
cmp r15, rdx
je 0x180004c91
sub r12, rdx
mov r8, r12
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
add r12, r15
mov qword [rbp - 8], r12
mov rax, r12
mov rcx, r12
sub rcx, r15
cmp rcx, 2
jl 0x180004ccb
lea r8, [r12 - 2]
movzx ecx, word [rbp - 0x30]
cmp cx, word [r15]
mov rdx, r15
jmp 0x180004cc1
cmp rdx, r8
je 0x180004ccb
add rdx, rdi
movzx ecx, word [rbp - 0x30]
cmp cx, word [rdx]
sete cl
test cl, cl
je 0x180004cb2
mov rax, rdx
cmp rax, r12
je 0x18000460b
xor r13d, r13d
mov qword [rbp - 0x20], r13
cmp r15, rax
je 0x180004d31
mov rcx, r15
mov dl, byte [rcx]
sub dl, 0x30
cmp dl, 9
ja 0x180004cf6
movzx edx, byte [rcx]
sub rdx, 0x30
jmp 0x180004d1e
mov dl, byte [rcx]
sub dl, 0x41
cmp dl, 5
ja 0x180004d09
movzx edx, byte [rcx]
sub rdx, 0x37
jmp 0x180004d1e
mov dl, byte [rcx]
sub dl, 0x61
cmp dl, 5
ja 0x180005243
movzx edx, byte [rcx]
sub rdx, 0x57
shl r13, 4
add r13, rdx
mov qword [rbp - 0x20], r13
add rcx, rdi
cmp rcx, rax
jne 0x180004ce3
lea rdx, [rax + 2]
cmp r15, rdx
je 0x180004d4f
sub r12, rdx
mov r8, r12
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
add r12, r15
mov qword [rbp - 8], r12
test r13, r13
jne 0x180004bcf
test r15, r15
je 0x180004d92
mov rdx, qword [rbp]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x180004d89
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004fb0
mov rcx, r15
call fcn.180014950
nop
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x180004de3
mov rdx, qword [rbp + 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004dd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004ffb
call fcn.180014950
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
and qword [rbp + 0x28], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x180005020
mov r9, r12
sub r9, r15
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rdi + 8]
mov r8, r15
mov rcx, rdi
call fcn.180013600
cmp r15, r12
cmovne r12, r15
mov qword [rbp - 8], r12
cmp byte [rsp + 0x31], 0
je 0x18000460b
mov rax, qword [rdi + 8]
sub rax, qword [rdi]
cmp rax, qword [rsp + 0x50]
jb 0x18000460b
test r15, r15
je 0x180004e70
mov rdx, qword [rbp]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x180004e67
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004fb0
mov rcx, r15
call fcn.180014950
nop
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x180004ec1
mov rdx, qword [rbp + 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004eaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004ffb
call fcn.180014950
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
and qword [rbp + 0x28], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x180005020
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test r15, r15
je 0x180004f21
mov rdx, qword [rbp]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x180004f18
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004fb0
mov rcx, r15
call fcn.180014950
nop
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x180004f72
mov rdx, qword [rbp + 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004f60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004ffb
call fcn.180014950
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
and qword [rbp + 0x28], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x180005020
test r15, r15
je 0x180004fc0
mov rdx, qword [rbp]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x180004fb7
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004fb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.180014950
nop
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x180005014
mov rdx, qword [rbp + 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005002
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005002
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180014950
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
and qword [rbp + 0x28], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, qword [rsp + 0x38]
mov rcx, qword [rbp + 0x1150]
xor rcx, rsp
call fcn.180014930
lea r11, [rsp + 0x12a8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rbp + 0x50]
call fcn.1800030d4
lea rdx, [0x18001a5e8]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp - 0x10]
call fcn.180002d0c
lea rdx, [0x18001a498]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp + 0x50]
call fcn.1800030d4
lea rdx, [0x18001a5e8]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov r8, rdi
lea rdx, [0x1800176fb]
lea rcx, [rbp + 0x50]
call fcn.180010e88
nop
mov r9, rax
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.180002cc8
lea rdx, [0x18001a498]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1800103e0
int3
call fcn.180002864
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.180002d0c
lea rdx, [0x18001a498]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x60]
call fcn.1800032f4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp + 0x90]
call fcn.180002d0c
lea rdx, [0x18001a498]
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.180002d0c
lea rdx, [0x18001a498]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.180002d0c
lea rdx, [0x18001a498]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.180002d0c
lea rdx, [0x18001a498]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp + 0x90]
call fcn.180002d0c
lea rdx, [0x18001a498]
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rbp + 0x70]
lea rdx, [0x1800176fb]
lea rcx, [rbp - 0x80]
call fcn.180010e88
nop
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.180005698
lea rdx, [0x18001a658]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp + 0x50]
call fcn.180003300
lea rdx, [0x18001a658]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1800103e0
nop
lea rcx, [rbp + 0x50]
call fcn.180003300
lea rdx, [0x18001a658]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp + 0x50]
call fcn.180003300
lea rdx, [0x18001a658]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp + 0x50]
call fcn.1800030d4
lea rdx, [0x18001a5e8]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3