Function at 0x1400b05e0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x968
movdqa xmmword [rsp + 0x950], xmm6
mov r14, rcx
mov r15d, dword [rdx + 0x44]
mov rbp, qword [rdx + 0x20]
test r15, r15
je 0x1400b067a
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov r12, qword [rdx + 0x28]
cmp r12, r15
jbe 0x1400b062b
cmp byte [rbp + r15], 0xbf
jg 0x1400b0631
jmp 0x1400b2052
jne 0x1400b2052
cmp r15d, 4
jne 0x1400b065a
lea rdx, [0x1402158b4]
mov rcx, rbp
mov r8, r15
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400b0759
lea rdx, str.testunknown_scheme
jmp 0x1400b0667
cmp r15d, 5
jne 0x1400b067a
lea rdx, [0x1402158b8]
mov rcx, rbp
mov r8, r15
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400b0759
mov qword [rsp + 0x6f8], rbp
mov qword [rsp + 0x700], r15
lea rax, [rsp + 0x6f8]
mov qword [rsp + 0x260], rax
lea rax, [0x1400c33a0]
mov qword [rsp + 0x268], rax
lea rax, [0x1401ffd08]
mov qword [rsp + 0x350], rax
mov qword [rsp + 0x358], 2
mov qword [rsp + 0x370], 0
lea rax, [rsp + 0x260]
mov qword [rsp + 0x360], rax
mov qword [rsp + 0x368], 1
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x350]
call fcn.14000ba20
movabs rax, 0x8000000000000000
mov qword [r14], rax
movdqu xmm0, xmmword [rsp + 0xc0]
movdqu xmmword [r14 + 8], xmm0
mov rcx, qword [rsp + 0xd0]
mov qword [r14 + 0x18], rcx
mov qword [r14 + 0x20], rax
mov qword [r14 + 0x78], 0
mov byte [r14 + 0x88], 1
movaps xmm6, xmmword [rsp + 0x950]
add rsp, 0x968
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp r12, r15
jbe 0x1400b076b
cmp byte [rbp + r15], 0xbf
jg 0x1400b0771
jmp 0x1400b2052
jne 0x1400b2052
cmp r15d, 5
jne 0x1400b0791
lea rdx, [0x1402158b8]
mov rcx, rbp
mov r8, r15
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400b0820
mov rax, qword [rdi + 0x98]
cmp byte [rax + 0xcc], 0
je 0x1400b0820
movzx eax, byte [0x140259141]
mov edx, 0x33
xor ecx, ecx
call fcn.14008b700
test rax, rax
je 0x1400b2052
movups xmm0, xmmword [0x1401ff2f0]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1401ff2e0]
movups xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [str.cant_perform_non_https_request_with_https_only_set]
movdqu xmmword [rax], xmm0
mov dword [rax + 0x2f], 0x74657320
movabs rcx, 0x8000000000000000
mov qword [r14], rcx
mov qword [r14 + 8], 0x33
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], 0x33
mov qword [r14 + 0x20], rcx
mov qword [r14 + 0x78], 0
mov byte [r14 + 0x88], 3
jmp 0x1400b073d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
movabs r13, 0x8000000000000000
cmp byte [rsp + 0x9d0], 0
je 0x1400b1534
mov qword [rsp + 0x68], r14
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0xa0]
mov rsi, qword [rax + 0x98]
lea rcx, [rdx + 0x38]
mov qword [rsp + 0x90], rcx
movzx ecx, word [rax + 0x40]
mov word [rsp + 0x56], cx
movzx ecx, word [rax + 0x42]
mov word [rsp + 0x54], cx
movzx ecx, byte [rax + 0x58]
mov byte [rsp + 0x3e], cl
mov ecx, dword [rax + 0x4c]
mov eax, dword [rax + 0x50]
lea r8, [rbp + rcx]
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x1f8], rax
mov qword [rsp + 0x200], rcx
sub rax, rcx
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb8], rdx
lea rax, [rdx + 0x60]
mov qword [rsp + 0x220], rax
pcmpeqd xmm6, xmm6
mov qword [rsp + 0x218], r15
mov qword [rsp + 0x208], rsi
mov qword [rsp + 0x78], rbp
cmp qword [rsi + 0x28], r13
je 0x1400b0a44
mov rdi, qword [rsi + 0x30]
mov r14, qword [rsi + 0x38]
test r14, r14
je 0x1400b091d
js 0x1400b2052
movzx eax, byte [0x140259141]
xor ecx, ecx
mov rdx, r14
call fcn.14008b700
mov r12, rax
test rax, rax
jne 0x1400b0923
jmp 0x1400b2052
mov r12d, 1
mov rcx, r12
mov rdx, rdi
mov r8, r14
call sub.msvcrt.dll_memcpy
mov eax, dword [rsi + 0x70]
mov dword [rsp + 0x9c], eax
mov qword [rsp + 0xb0], r13
cmp qword [rsi + 0x40], r13
je 0x1400b09b2
mov rdi, qword [rsi + 0x48]
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1400b0987
js 0x1400b2052
movzx eax, byte [0x140259141]
xor ecx, ecx
mov rbx, qword [rsp + 0x88]
mov rdx, rbx
call fcn.14008b700
test rax, rax
jne 0x1400b0994
jmp 0x1400b2052
mov eax, 1
mov rbx, qword [rsp + 0x88]
mov qword [rsp + 0x230], rax
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], r13
cmp qword [rsi + 0x58], r13
je 0x1400b0a29
mov rdi, qword [rsi + 0x60]
mov rax, qword [rsi + 0x68]
mov qword [rsp + 0x80], rax
test rax, rax
je 0x1400b09fe
js 0x1400b2052
movzx eax, byte [0x140259141]
xor ecx, ecx
mov rbx, qword [rsp + 0x80]
mov rdx, rbx
call fcn.14008b700
test rax, rax
jne 0x1400b0a0b
jmp 0x1400b2052
mov eax, 1
mov rbx, qword [rsp + 0x80]
mov qword [rsp + 0x228], rax
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x238], r12
movzx eax, byte [rsi + 0x74]
mov byte [rsp + 0x3f], al
mov qword [rsp + 0x240], r14
mov r13, r14
mov r12w, 1
cmp word [rsp + 0x56], 0
je 0x1400b0a69
movzx esi, word [rsp + 0x54]
mov rdi, qword [rsp + 0x60]
cmp rdi, r15
jbe 0x1400b0b69
jmp 0x1400b0b3c
cmp qword [rsp + 0x60], r15
jbe 0x1400b0a7d
cmp byte [rbp + r15], 0xbf
jg 0x1400b0a83
jmp 0x1400b2052
jne 0x1400b2052
cmp r15d, 4
jne 0x1400b0aa5
mov rcx, rbp
lea rdx, [0x1402158b4]
mov r8, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400b0b28
jmp 0x1400b0ac1
cmp r15d, 2
jne 0x1400b0ad5
mov rcx, rbp
lea rdx, [0x1402158bd]
mov r8, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400b0b28
mov si, 0x50
mov rdi, qword [rsp + 0x60]
cmp rdi, r15
jbe 0x1400b0b69
jmp 0x1400b0b3c
cmp r15d, 5
jne 0x1400b0af3
mov rcx, rbp
lea rdx, [0x1402158b8]
mov r8, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400b0b28
jmp 0x1400b0b5b
cmp r15d, 3
jne 0x1400b0b28
mov rcx, rbp
lea rdx, [0x1402158bf]
mov r8, r15
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400b0b5b
mov rcx, rbp
lea rdx, [0x1402158c2]
mov r8, r15
call sub.msvcrt.dll_memcmp
test eax, eax
sete al
jmp 0x1400b0b2a
xor eax, eax
movzx r12d, al
mov si, 0x15
mov rdi, qword [rsp + 0x60]
cmp rdi, r15
jbe 0x1400b0b69
cmp byte [rbp + r15], 0xbf
jle 0x1400b2052
mov rdi, r15
test r15, r15
jne 0x1400b0b6f
mov r14d, 1
mov rdi, r15
jmp 0x1400b0b8c
mov si, 0x1bb
mov rdi, qword [rsp + 0x60]
cmp rdi, r15
ja 0x1400b0b3c
jne 0x1400b2052
movzx eax, byte [0x140259141]
xor ecx, ecx
mov rdx, rdi
call fcn.14008b700
mov r14, rax
test rax, rax
je 0x1400b2052
mov rcx, r14
mov rdx, rbp
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov ebp, 1
cmp byte [rsp + 0x3e], 0
je 0x1400b0bd9
mov rax, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1f8]
cmp eax, ecx
ja 0x1400b2052
test rax, rax
je 0x1400b0be8
cmp qword [rsp + 0x60], rax
jbe 0x1400b0be2
mov rax, qword [rsp + 0x70]
cmp byte [rax], 0xbf
jg 0x1400b0be8
jmp 0x1400b2052
lea rdx, [0x140216a78]
jmp 0x1400b0c4b
jne 0x1400b2052
test rcx, rcx
je 0x1400b0c0a
cmp qword [rsp + 0x60], rcx
jbe 0x1400b0c04
mov rax, qword [rsp + 0x78]
cmp byte [rax + rcx], 0xbf
jg 0x1400b0c0a
jmp 0x1400b2052
jne 0x1400b2052
cmp qword [rsp + 0xa0], 0
je 0x1400b0c46
js 0x1400b2052
movzx eax, byte [0x140259141]
xor ecx, ecx
mov rbx, qword [rsp + 0xa0]
mov rdx, rbx
call fcn.14008b700
mov rbp, rax
mov rdx, qword [rsp + 0x70]
test rax, rax
jne 0x1400b0c4d
jmp 0x1400b2052
mov rdx, qword [rsp + 0x70]
xor ebx, ebx
mov rcx, rbp
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x460], rdi
mov qword [rsp + 0x468], r14
mov qword [rsp + 0x470], rdi
mov qword [rsp + 0x478], rbx
mov qword [rsp + 0x480], rbp
mov qword [rsp + 0x488], rbx
mov word [rsp + 0x4e0], r12w
mov word [rsp + 0x4e2], si
mov qword [rsp + 0x490], r13
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x498], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x4a8], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x4b0], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x4b8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x4c0], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x4c8], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x4d0], rax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x4d8], eax
movzx eax, byte [rsp + 0x3f]
mov byte [rsp + 0x4dc], al
mov rcx, qword [rsp + 0x90]
call sub.KERNEL32.dll_AcquireSRWLockExclusive
lea rsi, [rsp + 0x260]
mov rcx, rsi
lea rdx, [rsp + 0x460]
call fcn.1400d4bf0
lea rbx, [rsp + 0x350]
mov rcx, rbx
mov rdx, qword [rsp + 0x220]
mov r8, rsi
call fcn.1400d1730
mov rsi, qword [rsp + 0x350]
mov r8d, 0x98
lea rdi, [rsp + 0x660]
mov rcx, rdi
lea rdx, [rsp + 0x358]
call sub.msvcrt.dll_memcpy
test rsi, rsi
jne 0x1400b14f2
mov qword [rsp + 0x658], 0
mov r8d, 0x98
lea rcx, [rsp + 0x7d0]
mov rdx, rdi
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x858]
mov r12, qword [rax - 8]
test r12, r12
movabs r13, 0x8000000000000000
je 0x1400b2052
dec r12
mov qword [rax - 8], r12
mov rcx, qword [rax - 0x10]
add rcx, r12
mov rdx, qword [rax - 0x20]
mov rax, qword [rax - 0x18]
cmp rcx, rdx
mov r8d, 0
cmovae r8, rdx
sub rcx, r8
imul rcx, rcx, 0xe8
mov r14, qword [rax + rcx]
mov r15, qword [rax + rcx + 8]
lea rdx, [rax + rcx]
add rdx, 0x10
mov r8d, 0xd8
lea rsi, [rsp + 0xc0]
mov rcx, rsi
call sub.msvcrt.dll_memcpy
lea rax, [r13 + 1]
cmp r15, rax
je 0x1400b2052
mov qword [rsp + 0x250], r15
mov qword [rsp + 0x258], r14
mov qword [rsp + 0x210], rax
mov r8d, 0xd8
mov rcx, rbx
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x248], r12
test r12, r12
jne 0x1400b0fe4
mov rdx, qword [rsp + 0x6e8]
mov rax, qword [rsp + 0x6f0]
mov rcx, qword [rax]
mov r8, rcx
sub r8, rdx
sar r8, 3
movabs r9, 0xcf3cf3cf3cf3cf3d
imul r8, r9
lea r9, [r8 - 0x10]
and r9, qword [rax + 8]
movdqu xmm0, xmmword [rcx + r9]
pcmpeqb xmm0, xmm6
psllw xmm0, 7
pmovmskb r10d, xmm0
test r10d, r10d
je 0x1400b0edd
bsr r10w, r10w
xor r10d, 0xf
jmp 0x1400b0ee2
mov r10w, 0x10
movdqu xmm0, xmmword [rcx + r8]
pcmpeqb xmm0, xmm6
pmovmskb r11d, xmm0
or r11d, 0x10000
tzcnt r11d, r11d
add r10d, r11d
mov r11b, pe_nt_image_headers64
cmp r10w, 0xf
ja 0x1400b0f11
inc qword [rax + 0x10]
mov r11b, 0xff
mov rsi, qword [rsp + 0x660]
mov byte [rcx + r8], r11b
mov byte [rcx + r9 + 0x10], r11b
dec qword [rax + 0x18]
add rdx, 0xffffffffffffff58
mov r8d, 0xa8
lea rcx, [rsp + 0x260]
call sub.msvcrt.dll_memcpy
cmp rsi, r13
je 0x1400b0f4d
mov rcx, rdi
call fcn.1400bb2a0
mov r12, qword [rsp + 0x2e8]
mov rdi, qword [rsp + 0x2f0]
mov r15, qword [rsp + 0x2f8]
mov r14, qword [rsp + 0x300]
lea rcx, [rsp + 0x260]
call fcn.1400bb2a0
test r14, r14
je 0x1400b0fa1
cmp r15, r12
mov eax, 0
cmovae rax, r12
sub r15, rax
mov rax, r12
sub rax, r15
mov rbx, r14
sub rbx, rax
jbe 0x1400b0fa9
mov r14, r12
jmp 0x1400b0fae
xor r15d, r15d
xor r14d, r14d
jmp 0x1400b0fac
add r14, r15
xor ebx, ebx
imul rcx, r15, 0xe8
add rcx, rdi
sub r14, r15
mov rdx, r14
call fcn.1400bb360
mov rcx, rdi
mov rdx, rbx
call fcn.1400bb360
test r12, r12
je 0x1400b0fe4
mov rcx, qword [0x1402590e0]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
mov r8, qword [rsp + 0xb8]
mov rdi, qword [r8 + 0x40]
mov r12, qword [r8 + 0x58]
test r12, r12
je 0x1400b101f
mov rax, qword [r8 + 0x50]
cmp rax, rdi
mov ecx, 0
cmovae rcx, rdi
sub rax, rcx
mov rdx, rdi
sub rdx, rax
mov rcx, r12
sub rcx, rdx
jbe 0x1400b1025
mov rdx, rdi
jmp 0x1400b102b
xor eax, eax
xor edx, edx
jmp 0x1400b1029
lea rdx, [rax + r12]
xor ecx, ecx
mov rbp, qword [r8 + 0x48]
mov r8, rax
shl r8, 7
lea r13, [r8 + rax*8]
mov rax, rdx
shl rax, 7
lea r15, [rax + rdx*8]
lea rax, [rbp + r15]
sub rax, rbp
sub rax, r13
movabs rdx, 0xf0f0f0f0f0f0f0f1
mul rdx
mov r14, rdx
shr r14, 7
add r14, rcx
mov rax, rcx
shl rax, 7
lea rax, [rax + rcx*8]
lea rbx, [rax + rbp]
add rbx, 0xffffffffffffff78
imul rsi, rcx, 0xffffffffffffff78
nop word cs:[rax + rax]
test rsi, rsi
je 0x1400b10bc
mov rcx, rbx
lea rdx, [rsp + 0x460]
call fcn.1400c33c0
dec r14
add rbx, 0xffffffffffffff78
add rsi, 0x88
test al, al
je 0x1400b1090
jmp 0x1400b1101
lea rbx, [r15 + rbp]
add rbx, 0xffffffffffffff78
sub r13, r15
xor r15d, r15d
nop dword [rax]
test r13, r13
je 0x1400b2052
mov rcx, rbx
lea rdx, [rsp + 0x460]
call fcn.1400c33c0
add rbx, 0xffffffffffffff78
add r13, 0x88
inc r15
test al, al
je 0x1400b10d0
sub r14, r15
cmp r12, r14
jbe 0x1400b2052
mov rsi, qword [rsp + 0xb8]
mov r8, qword [rsi + 0x50]
lea r9, [r8 + r14]
cmp r9, rdi
mov eax, 0
cmovae rax, rdi
sub r9, rax
mov rax, r9
shl rax, 7
lea rax, [rax + r9*8]
mov rbx, qword [rbp + rax]
movups xmm0, xmmword [rbp + rax + 0x78]
movaps xmmword [rsp + 0x640], xmm0
movups xmm0, xmmword [rbp + rax + 0x68]
movaps xmmword [rsp + 0x630], xmm0
movups xmm0, xmmword [rbp + rax + 0x58]
movaps xmmword [rsp + 0x620], xmm0
movups xmm0, xmmword [rbp + rax + 0x48]
movaps xmmword [rsp + 0x610], xmm0
movups xmm0, xmmword [rbp + rax + 0x38]
movaps xmmword [rsp + 0x600], xmm0
movups xmm0, xmmword [rbp + rax + 0x28]
movaps xmmword [rsp + 0x5f0], xmm0
movups xmm0, xmmword [rbp + rax + 0x18]
movaps xmmword [rsp + 0x5e0], xmm0
movups xmm0, xmmword [rbp + rax + 8]
movaps xmmword [rsp + 0x5d0], xmm0
mov rax, r14
not rax
add rax, r12
cmp rax, r14
jae 0x1400b11d0
lea rcx, [r9 + 1]
cmp rcx, rdi
mov ecx, 0
cmovae rcx, rdi
neg rcx
lea r8, [r9 + rcx]
inc r8
mov qword [rsp + 0x20], rax
jmp 0x1400b11f3
lea rax, [r8 + 1]
cmp rax, rdi
mov eax, 0
cmovae rax, rdi
neg rax
lea r9, [r8 + rax]
inc r9
mov qword [rsi + 0x50], r9
mov qword [rsp + 0x20], r14
mov rcx, rdi
mov rdx, rbp
call fcn.1400bae80
movabs rax, 0x8000000000000000
dec r12
mov qword [rsi + 0x58], r12
movaps xmm0, xmmword [rsp + 0x640]
movaps xmmword [rsp + 0x5c0], xmm0
movaps xmm0, xmmword [rsp + 0x630]
movaps xmmword [rsp + 0x5b0], xmm0
movaps xmm0, xmmword [rsp + 0x620]
movaps xmmword [rsp + 0x5a0], xmm0
movaps xmm0, xmmword [rsp + 0x610]
movaps xmmword [rsp + 0x590], xmm0
movaps xmm0, xmmword [rsp + 0x5d0]
movaps xmm1, xmmword [rsp + 0x5e0]
movaps xmm2, xmmword [rsp + 0x5f0]
movaps xmm3, xmmword [rsp + 0x600]
movaps xmmword [rsp + 0x580], xmm3
movaps xmmword [rsp + 0x570], xmm2
movaps xmmword [rsp + 0x560], xmm1
movaps xmmword [rsp + 0x550], xmm0
cmp rbx, rax
je 0x1400b2052
mov qword [rsp + 0x260], rbx
movaps xmm0, xmmword [rsp + 0x5c0]
lea rax, [rsp + 0x268]
movups xmmword [rax + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0x5b0]
movups xmmword [rax + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x5a0]
movups xmmword [rax + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x590]
movups xmmword [rax + 0x40], xmm0
movdqa xmm0, xmmword [rsp + 0x550]
movaps xmm1, xmmword [rsp + 0x560]
movaps xmm2, xmmword [rsp + 0x570]
movaps xmm3, xmmword [rsp + 0x580]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movdqu xmmword [rax], xmm0
lea rcx, [rsp + 0x260]
call fcn.1400bb2a0
mov r8d, 0xd8
lea rcx, [rsp + 0x6f8]
lea r12, [rsp + 0x350]
mov rdx, r12
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x248], 0
movabs r13, 0x8000000000000000
je 0x1400b1360
cmp qword [rsp + 0x7d0], r13
je 0x1400b1360
lea rcx, [rsp + 0x7d0]
call fcn.1400bb2a0
mov rcx, qword [rsp + 0x90]
call fcn.140114ea8
lea rcx, [rsp + 0x460]
call fcn.1400bb2a0
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x268], rax
mov r8d, 0xd8
lea rcx, [rsp + 0x270]
lea rdx, [rsp + 0x6f8]
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x338]
mov rax, qword [rsp + 0x340]
call qword [rax + 0xb8]
test rax, rax
mov r15, qword [rsp + 0x218]
je 0x1400b14bf
mov r14, rax
mov byte [rsp + 0xc0], 0
mov dword [rsp + 0x350], 1
mov rcx, qword [rax]
mov edx, 0x8004667e
mov r8, r12
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x1400b1705
mov rcx, qword [r14]
lea rdx, [rsp + 0xc0]
mov r8d, 1
mov r9d, 2
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x1400b1438
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x1400b149a
mov sil, 1
xor ebx, ebx
mov bpl, 1
mov dword [rsp + 0x350], 0
mov rcx, qword [r14]
mov edx, 0x8004667e
mov r8, r12
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x1400b170e
test bl, bl
jne 0x1400b177e
test sil, sil
mov rbp, qword [rsp + 0x78]
je 0x1400b14bf
lea rcx, [rsp + 0x260]
call fcn.1400b3550
mov rsi, qword [rsp + 0x208]
cmp qword [rsi + 0x28], r13
jne 0x1400b08ec
jmp 0x1400b0a44
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rdi
call fcn.1400b75a0
cmp al, 0xd
jne 0x1400b14b9
mov bpl, 1
xor esi, esi
xor ebx, ebx
jmp 0x1400b1440
mov bl, 1
xor ebp, ebp
jmp 0x1400b1440
mov rsi, qword [rsp + 0x68]
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x260]
mov r8d, 0xe8
call sub.msvcrt.dll_memcpy
mov byte [rsi + 0xf0], 1
mov rax, qword [rsp + 0x210]
mov qword [rsi], rax
jmp 0x1400b073d
mov qword [rsp + 0x658], 1
mov rcx, qword [rsp + 0x90]
call fcn.140114ea8
mov rcx, rdi
call fcn.1400bb2a0
lea rcx, [rsp + 0x460]
call fcn.1400bb2a0
mov r14, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x78]
movabs r13, 0x8000000000000000
cmp qword [rsp + 0x60], r15
jbe 0x1400b1548
cmp byte [rbp + r15], 0xbf
jg 0x1400b154e
jmp 0x1400b2052
jne 0x1400b2052
cmp r15d, 4
jne 0x1400b15b2
lea rdx, [0x1402158b4]
mov rcx, rbp
mov r8, r15
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400b168e
lea rdx, str.testunknown_scheme
mov rcx, rbp
mov r8, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400b15d2
mov rdx, qword [rsp + 0x48]
mov eax, dword [rdx + 0x44]
mov rcx, qword [rdx + 0x20]
test rax, rax
je 0x1400b1d4b
cmp qword [rdx + 0x28], rax
jbe 0x1400b1d45
cmp byte [rcx + rax], 0xbf
jg 0x1400b1d4b
jmp 0x1400b2052
cmp r15d, 5
jne 0x1400b15d2
lea rdx, [0x1402158b8]
mov rcx, rbp
mov r8, r15
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400b17ea
mov qword [rsp + 0x6f8], rbp
mov qword [rsp + 0x700], r15
lea rax, [rsp + 0x6f8]
mov qword [rsp + 0x260], rax
lea rax, [0x1400c33a0]
mov qword [rsp + 0x268], rax
lea rax, [0x1401ff2c0]
mov qword [rsp + 0x350], rax
mov qword [rsp + 0x358], 1
mov qword [rsp + 0x370], 0
lea rax, [rsp + 0x260]
mov qword [rsp + 0x360], rax
mov qword [rsp + 0x368], 1
lea rdi, [rsp + 0xc8]
lea rdx, [rsp + 0x350]
mov rcx, rdi
call fcn.14000ba20
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0x138], 0
mov byte [rsp + 0x148], 1
lea rcx, [rsp + 0x350]
mov r8d, 0xe8
mov rdx, rdi
jmp 0x1400b1e57
mov rax, qword [rsp + 0x48]
cmp word [rax + 0x40], 0
mov si, 0x50
je 0x1400b16a2
movzx esi, word [rax + 0x42]
movzx eax, byte [0x140259141]
mov edx, 4
xor ecx, ecx
call fcn.14008b700
mov rdi, rax
test rax, rax
mov rax, qword [rsp + 0x40]
je 0x1400b2052
mov dword [rdi], 0x70747468
test rax, rax
je 0x1400b194a
js 0x1400b2052
mov r13, r14
movzx eax, byte [0x140259141]
xor ecx, ecx
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.14008b700
mov r14, rax
test rax, rax
jne 0x1400b1958
jmp 0x1400b2052
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
jmp 0x1400b1773
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
test bpl, bpl
jne 0x1400b1773
mov eax, edi
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1400b1773
test rax, rax
je 0x1400b1773
lea r14, [rdi - 1]
mov r15, qword [rdi - 1]
mov rsi, qword [rdi + 7]
mov rcx, r15
call qword [rsi]
cmp qword [rsi + 8], 0
je 0x1400b1762
cmp qword [rsi + 0x10], 0x11
jb 0x1400b1751
mov r15, qword [r15 - 8]
mov rcx, qword [0x1402590e0]
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapFree
mov rcx, qword [0x1402590e0]
xor edx, edx
mov r8, r14
call sub.KERNEL32.dll_HeapFree
shl rbx, 0x20
or rbx, 2
mov rdi, rbx
mov qword [rsp + 0x358], r13
mov qword [rsp + 0x370], r13
mov qword [rsp + 0x3c8], 0
mov byte [rsp + 0x3d8], 8
mov qword [rsp + 0x350], r13
lea rbx, [rsp + 0xc0]
lea rdx, [rsp + 0x350]
mov rcx, rbx
mov r8, rdi
call fcn.1400ce690
mov r8d, 0x110
mov rcx, qword [rsp + 0x68]
mov rdx, rbx
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x260]
call fcn.1400b3550
jmp 0x1400b073d
mov r15, qword [rsp + 0x48]
cmp word [r15 + 0x40], 0
mov si, 0x1bb
je 0x1400b1800
movzx esi, word [r15 + 0x42]
mov word [rsp + 0x20], si
lea rcx, [rsp + 0x350]
mov rdx, r15
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x40]
call fcn.1400b8b60
mov rbx, qword [rsp + 0x350]
lea rdi, [r13 + 1]
cmp rbx, rdi
jne 0x1400b1cd5
mov r13, r14
mov r14, qword [rsp + 0x358]
movups xmm0, xmmword [rsp + 0x360]
movaps xmmword [rsp + 0x1d0], xmm0
movdqu xmm0, xmmword [rsp + 0x370]
movdqa xmmword [rsp + 0x1e0], xmm0
mov rax, qword [r15 + 0x98]
mov r15, qword [rax + 0xb8]
mov rbx, qword [rax + 0xc0]
mov r12, qword [rbx + 0x10]
movzx eax, byte [0x140259141]
mov edx, 8
xor ecx, ecx
call fcn.14008b700
test rax, rax
je 0x1400b2052
dec r12
and r12, 0xfffffffffffffff0
lea rdx, [r15 + r12]
add rdx, 0x10
mov qword [rax], r14
lea rcx, [0x1401ffbb8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x350]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x40]
call qword [rbx + 0x18]
mov rbx, qword [rsp + 0x350]
cmp rbx, rdi
jne 0x1400b1e10
movdqu xmm6, xmmword [rsp + 0x358]
movzx eax, byte [0x140259141]
mov edx, 5
xor ecx, ecx
call fcn.14008b700
test rax, rax
je 0x1400b2052
mov rdi, rax
mov byte [rax + 4], 0x73
mov dword [rax], 0x70747468
cmp qword [rsp + 0x40], 0
je 0x1400b1ef7
js 0x1400b2052
movzx eax, byte [0x140259141]
xor ecx, ecx
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.14008b700
mov r14, rax
test rax, rax
jne 0x1400b1f02
jmp 0x1400b2052
mov r13, r14
mov r14d, 1
mov rbx, qword [rsp + 0x40]
mov rcx, r14
mov rdx, qword [rsp + 0x58]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x48]
mov r12, qword [rax + 0xa0]
jmp 0x1400b1978
pause
mov rax, qword [r12 + 8]
nop dword [rax]
cmp rax, 0xffffffffffffffff
je 0x1400b1976
test rax, rax
js 0x1400b2052
lea rcx, [rax + 1]
lock cmpxchg qword [r12 + 8], rcx
jne 0x1400b1980
mov word [rsp + 0x20], si
lea rcx, [rsp + 0x350]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov r9, rbx
call fcn.1400b8b60
mov qword [rsp + 0x260], r12
mov qword [rsp + 0x268], 4
mov qword [rsp + 0x270], rdi
mov qword [rsp + 0x278], 4
mov qword [rsp + 0x280], rbx
mov qword [rsp + 0x288], r14
mov qword [rsp + 0x290], rbx
movabs rcx, 0x8000000000000000
mov qword [rsp + 0x298], rcx
movups xmm0, xmmword [rsp + 0x4e8]
movups xmm1, xmmword [rsp + 0x4f8]
movups xmm2, xmmword [rsp + 0x508]
movups xmm3, xmmword [rsp + 0x518]
movups xmmword [rsp + 0x2a0], xmm0
movups xmmword [rsp + 0x2b0], xmm1
movups xmmword [rsp + 0x2c0], xmm2
movups xmmword [rsp + 0x2d0], xmm3
mov rax, qword [rsp + 0x528]
mov qword [rsp + 0x2e0], rax
mov word [rsp + 0x2e8], 1
mov word [rsp + 0x2ea], si
lea r15, [rcx + 1]
cmp qword [rsp + 0x350], r15
jne 0x1400b1c2c
mov rbx, qword [rsp + 0x358]
movzx eax, byte [0x140259141]
mov edx, 8
xor ecx, ecx
call fcn.14008b700
test rax, rax
je 0x1400b2052
mov r15, rax
mov qword [rax], rbx
movzx eax, byte [0x140259141]
mov edx, 0x2000
xor ecx, ecx
call fcn.14008b700
test rax, rax
je 0x1400b2052
lea rcx, [rsp + 0x360]
lea rbx, [rsp + 0xc8]
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0xd0], 4
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], 4
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xf8], rdx
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x100], rdi
movups xmm0, xmmword [rsp + 0x4e8]
movups xmm1, xmmword [rsp + 0x4f8]
movups xmm2, xmmword [rsp + 0x508]
movups xmm3, xmmword [rsp + 0x518]
movups xmmword [rsp + 0x108], xmm0
movups xmmword [rsp + 0x118], xmm1
movups xmmword [rsp + 0x128], xmm2
movups xmmword [rsp + 0x138], xmm3
mov rdx, qword [rsp + 0x528]
mov qword [rsp + 0x148], rdx
mov word [rsp + 0x150], 1
mov word [rsp + 0x152], si
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x158], xmm0
movups xmmword [rsp + 0x168], xmm1
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], 0x2000
xorps xmm0, xmm0
movups xmmword [rsp + 0x188], xmm0
mov qword [rsp + 0x198], 0
mov qword [rsp + 0x1a0], r15
lea rax, [0x1401ffbb8]
mov qword [rsp + 0x1a8], rax
lea rcx, [rsp + 0x350]
mov r8d, 0xe8
mov rdx, rbx
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [rsp + 0x1b0]
movups xmm1, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0x260], xmm0
movaps xmmword [rsp + 0x270], xmm1
mov r14, r13
jmp 0x1400b1cb0
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x350]
mov r8d, 0x110
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x260]
call fcn.1400b78c0
mov rsi, qword [rsp + 0xc0]
lea rbx, [rsp + 0xc8]
lea rcx, [rsp + 0x350]
mov r8d, 0xe8
mov rdx, rbx
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [rsp + 0x1b0]
movups xmm1, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0x260], xmm0
movaps xmmword [rsp + 0x270], xmm1
cmp rsi, r15
mov r14, r13
movabs rdi, 0x8000000000000000
jne 0x1400b1e7f
lea rcx, [r14 + 8]
mov r8d, 0xe8
mov rdx, rbx
call sub.msvcrt.dll_memcpy
mov byte [r14 + 0xf0], 0
inc rdi
mov qword [r14], rdi
jmp 0x1400b073d
mov rsi, qword [rsp + 0x358]
movups xmm0, xmmword [rsp + 0x360]
movaps xmmword [rsp + 0x1d0], xmm0
movups xmm0, xmmword [rsp + 0x370]
movaps xmmword [rsp + 0x1e0], xmm0
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0xf0]
mov r8d, 0xe0
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xc8], rsi
movaps xmm0, xmmword [rsp + 0x1d0]
movaps xmm1, xmmword [rsp + 0x1e0]
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xe0], xmm1
jmp 0x1400b1e3e
jne 0x1400b2052
mov qword [rsp + 0x6f8], rcx
mov qword [rsp + 0x700], rax
lea rax, [rsp + 0x6f8]
mov qword [rsp + 0x658], rax
lea rax, [0x1400c33a0]
mov qword [rsp + 0x660], rax
lea rax, [0x1401ffd08]
mov qword [rsp + 0x350], rax
mov qword [rsp + 0x358], 2
mov qword [rsp + 0x370], 0
lea rax, [rsp + 0x658]
mov qword [rsp + 0x360], rax
mov qword [rsp + 0x368], 1
lea rcx, [rsp + 0x260]
lea rdx, [rsp + 0x350]
call fcn.14000ba20
movups xmm0, xmmword [rsp + 0x260]
movups xmmword [rsp + 0xc8], xmm0
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0x138], 0
mov byte [rsp + 0x148], 1
jmp 0x1400b1e41
lea rdx, [rsp + 0x368]
lea rcx, [rsp + 0xd8]
mov r8d, 0xf8
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [rsp + 0x358]
movups xmmword [rsp + 0xc8], xmm0
mov r14, r13
mov r13, rbx
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x350]
mov r8d, 0xe8
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [rsp + 0x1b0]
movups xmm1, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0x260], xmm0
movaps xmmword [rsp + 0x270], xmm1
mov rsi, r13
lea rdi, [rsp + 0x868]
lea rdx, [rsp + 0x350]
mov r8d, 0xe8
mov rcx, rdi
call sub.msvcrt.dll_memcpy
movaps xmm0, xmmword [rsp + 0x260]
movaps xmm1, xmmword [rsp + 0x270]
movaps xmmword [rsp + 0x530], xmm0
movaps xmmword [rsp + 0x540], xmm1
mov qword [r14], rsi
lea rcx, [r14 + 8]
mov r8d, 0xe8
mov rdx, rdi
call sub.msvcrt.dll_memcpy
movaps xmm0, xmmword [rsp + 0x530]
movaps xmm1, xmmword [rsp + 0x540]
movups xmmword [r14 + 0xf0], xmm0
movups xmmword [r14 + 0x100], xmm1
jmp 0x1400b073d
mov r14d, 1
mov rbx, qword [rsp + 0x40]
mov rcx, r14
mov rdx, qword [rsp + 0x58]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x48]
mov r12, qword [rax + 0xa0]
jmp 0x1400b1f22
pause
mov rax, qword [r12 + 8]
cmp rax, 0xffffffffffffffff
je 0x1400b1f20
test rax, rax
js 0x1400b2052
lea rcx, [rax + 1]
lock cmpxchg qword [r12 + 8], rcx
jne 0x1400b1f27
movzx eax, byte [0x140259141]
mov edx, 0x10
xor ecx, ecx
call fcn.14008b700
test rax, rax
je 0x1400b2052
mov r15, rax
movdqu xmmword [rax], xmm6
movzx eax, byte [0x140259141]
mov edx, 0x2000
xor ecx, ecx
call fcn.14008b700
test rax, rax
je 0x1400b2052
lea rbx, [rsp + 0xc8]
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0xd0], 5
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], 5
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xf8], rcx
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x100], rdi
mov word [rsp + 0x150], 1
mov word [rsp + 0x152], si
movaps xmm0, xmmword [rsp + 0x1d0]
movaps xmm1, xmmword [rsp + 0x1e0]
movups xmmword [rsp + 0x158], xmm0
movups xmmword [rsp + 0x168], xmm1
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], 0x2000
xorps xmm0, xmm0
movups xmmword [rsp + 0x188], xmm0
mov qword [rsp + 0x198], 0
mov qword [rsp + 0x1a0], r15
lea rax, [0x1401ffa70]
jmp 0x1400b1be6
ud2