Function at 0x1800b64d0
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
movdqa xmmword [rsp + 0x1c0], xmm7
movaps xmmword [rsp + 0x1b0], xmm6
mov rbx, r8
mov rdi, rdx
mov r14, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x1800b6572
cmp eax, 3
jne 0x1800b76e3
lea rax, [rdi + 0x30]
mov qword [rsp + 0xc8], rax
lea rsi, [rdi + 0x70]
movzx eax, byte [rdi + 0x70]
test eax, eax
je 0x1800b6649
cmp eax, 3
jne 0x1800b76e3
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rbx]
lea rbx, [rsp + 0xe0]
mov rcx, rbx
mov r9b, 1
call fcn.1800e3c70
movzx eax, byte [rsp + 0xe9]
cmp al, 3
jne 0x1800b6c9f
mov byte [rsi], 3
mov qword [r14], 3
mov al, 3
jmp 0x1800b6f9a
mov rcx, qword [rdi + 0x20]
mov qword [rdi + 0x28], rcx
cmp word [rdi], 0
movzx eax, word [rdi + 0x12]
mov word [rsp + 0x90], ax
movdqu xmm0, xmmword [rdi + 2]
movdqa xmmword [rsp + 0x80], xmm0
je 0x1800b6656
mov edx, dword [rdi + 0x14]
mov r8d, dword [rdi + 0x18]
movzx eax, word [rdi + 0x1c]
mov r9, qword [rsp + 0x82]
mov r10d, dword [rsp + 0x8a]
movzx r11d, word [rsp + 0x8e]
rol ax, 8
movzx esi, word [rsp + 0x90]
pxor xmm0, xmm0
movdqu xmmword [rsp + 0xfc], xmm0
movdqu xmmword [rsp + 0x10c], xmm0
movdqu xmmword [rsp + 0x11c], xmm0
movdqu xmmword [rsp + 0x12c], xmm0
movdqu xmmword [rsp + 0x13c], xmm0
movdqu xmmword [rsp + 0x14c], xmm0
mov dword [rsp + 0x15c], 0
mov qword [rsp + 0xe8], r9
mov dword [rsp + 0xf0], r10d
mov word [rsp + 0xf4], r11w
mov word [rsp + 0xf6], si
mov dword [rsp + 0xf8], r8d
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x1800b66b1
mov qword [rsp + 0xb0], rbx
jmp 0x1800b6726
lea r8, [rsp + 0xe8]
movzx eax, word [rsp + 0x84]
rol ax, 8
mov edx, dword [rsp + 0x80]
pxor xmm0, xmm0
movdqu xmmword [r8 + 0x60], xmm0
movdqu xmmword [r8 + 0x50], xmm0
movdqu xmmword [r8 + 0x40], xmm0
movdqu xmmword [r8 + 0x30], xmm0
movdqu xmmword [r8 + 0x20], xmm0
movdqu xmmword [r8 + 0x10], xmm0
movdqu xmmword [r8], xmm0
mov qword [r8 + 0x70], 0
mov r8d, 0x10
mov r9w, 2
mov word [rsp + 0xe0], r9w
mov word [rsp + 0xe2], ax
mov dword [rsp + 0xe4], edx
mov dword [rsp + 0x160], r8d
lea rdx, [rsp + 0xe0]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1800b66fa
call sub.kernel32.dll_GetLastError
mov r12d, eax
mov ecx, eax
call fcn.1800d1990
cmp al, 0xd
jne 0x1800b6b75
mov qword [rsp + 0xb0], rbx
mov rax, qword [rdi + 0x28]
lea rcx, [rdi + 0x30]
mov qword [rsp + 0xc8], rcx
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], 0
lea rsi, [rdi + 0x70]
mov byte [rdi + 0x70], 0
mov rax, qword [rdi + 0x30]
mov qword [rsp + 0xc0], rax
mov rbx, qword [rdi + 0x38]
mov eax, dword [0x18016cbc4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0xc0], 0
je 0x1800b675c
lea rax, [rax + 0xc8]
jmp 0x1800b676a
call fcn.1800e0e20
test rax, rax
je 0x1800b76e3
movabs rdx, 0x7fffffffffffffff
mov rcx, qword [rax + 0x38]
dec rdx
cmp rcx, rdx
ja 0x1800b76e3
lea rdx, [rcx + 1]
mov qword [rax + 0x38], rdx
mov r8, qword [rax + 0x40]
cmp r8, 2
je 0x1800b76df
mov rdx, qword [rax + 0x48]
mov r9d, 1
mov ecx, 1
lock xadd qword [rdx], rcx
test r8, r8
mov qword [rsp + 0x48], rbx
je 0x1800b67c2
test rcx, rcx
jns 0x1800b67ce
jmp 0x1800b76e3
test rcx, rcx
js 0x1800b76e3
xor r9d, r9d
mov qword [rsp + 0x168], r9
dec qword [rax + 0x38]
lea rbx, [rdx + 0x158]
lea rax, [rdx + 0xe0]
mov qword [rsp + 0xb8], r8
test r8, r8
mov ecx, 0xe0
mov r8d, 0x158
cmove r8, rcx
cmove rbx, rax
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], r8
cmp qword [rdx + r8], 0
je 0x1800b76e3
lea rcx, [rbx + 0x18]
mov qword [rsp + 0xa8], rcx
call qword [sym.imp.kernel32.dll_AcquireSRWLockShared]
movzx eax, byte [rbx + 0x20]
test al, al
jne 0x1800b76e3
cmp byte [rbx + 0xc0], 0
je 0x1800b6863
movzx eax, byte [0x18016cbc0]
mov rcx, qword [0x18016cb80]
test rcx, rcx
je 0x1800b6bc1
mov rbx, qword [rsp + 0x48]
jmp 0x1800b6bdf
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rdi
mov r14d, 5
xorps xmm6, xmm6
pcmpeqd xmm7, xmm7
jmp 0x1800b68af
mov rcx, r12
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
test bpl, bpl
je 0x1800b6cb0
inc r14
cmp r14, 0x18
je 0x1800b6b91
mov rsi, qword [rbx + r14*8]
mov rax, qword [rsi + 0x48]
cmp rax, qword [rsi + 0x50]
je 0x1800b68a2
lea r12, [rsi + 0x10]
mov rcx, r12
call qword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18016cbb8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800b69d8
xor r13d, r13d
movzx eax, byte [rsi + 0x18]
mov rdi, qword [rsi + 0x30]
mov rax, qword [rsi + 0x38]
cmp rax, rdi
jae 0x1800b6970
imul rcx, rax, 0x58
mov rdx, qword [rsi + 0x20]
mov r8, qword [rsi + 0x40]
mov r9d, dword [rdx + rcx + 0x50]
mov qword [rsi + 0x38], r9
inc r8
mov qword [rsi + 0x40], r8
mov qword [rsi + 0x48], r8
mov r8, qword [rdx + rcx + 0x40]
add r8d, 0x1000000
and r8d, 0x7f000000
mov qword [rdx + rcx + 0x40], r8
cmp qword [rsi + 0x30], rax
jbe 0x1800b76e3
mov rdx, qword [rsi + 0x20]
add rax, qword [rsi + 0x58]
lock inc qword [rsi]
jle 0x1800b76e3
add rdx, rcx
mov qword [rsp + 0xd0], rdx
xor ebp, ebp
mov qword [rsp + 0xd8], rax
jmp 0x1800b6b3c
mov r15, qword [rsi + 0x50]
mov bpl, 1
cmp r15, rdi
je 0x1800b6b3c
lea rbp, [rsi + 0x20]
test rdi, rdi
jne 0x1800b6a37
mov rax, qword [rsi + 0x28]
cmp rax, r15
jae 0x1800b6a37
xor edx, edx
movabs rcx, 0x1745d1745d1745e
cmp r15, rcx
setb dl
imul r8, r15, 0x58
shl rdx, 3
test rax, rax
je 0x1800b69e9
mov rcx, qword [rbp]
imul rax, rax, 0x58
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xf0], rax
mov eax, 8
jmp 0x1800b69eb
call fcn.18010ce00
mov r13d, eax
xor r13b, 1
jmp 0x1800b68e7
xor eax, eax
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x80]
lea r9, [rsp + 0xe0]
call fcn.18001c280
cmp qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x88]
je 0x1800b6a2f
movabs rax, 0x8000000000000001
cmp rcx, rax
je 0x1800b6a37
jmp 0x1800b7709
mov qword [rsi + 0x20], rcx
mov qword [rsi + 0x28], r15
movups xmmword [rsp + 0xe7], xmm6
mov qword [rsp + 0xf7], 0
movups xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0xef]
mov qword [rsp + 0x8f], rax
mov rax, qword [rsp + 0xf7]
mov qword [rsp + 0x97], rax
mov rdx, qword [rsi + 0x30]
cmp rdx, qword [rsi + 0x28]
jne 0x1800b6a91
mov rcx, rbp
call fcn.1800bbaf0
mov rdx, qword [rsi + 0x30]
mov rax, qword [rsi + 0x20]
imul rcx, rdx, 0x58
mov qword [rax + rcx], 0
mov byte [rax + rcx + 8], 0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rax + rcx + 9], xmm0
movups xmm0, xmmword [rsp + 0x8f]
movups xmmword [rax + rcx + 0x18], xmm0
mov qword [rax + rcx + 0x30], 0
mov qword [rax + rcx + 0x40], 0
mov qword [rax + rcx + 0x48], r12
mov dword [rax + rcx + 0x50], 0
movdqu xmm0, xmmword [rsi + 0x30]
psubq xmm0, xmm7
movdqu xmmword [rsi + 0x30], xmm0
mov rax, qword [rsi + 0x40]
inc rax
mov qword [rsi + 0x40], rax
mov qword [rsi + 0x48], rax
mov byte [rsi + 0x60], 1
movq rax, xmm0
cmp rax, rdi
jbe 0x1800b76e3
mov rax, qword [rsi + 0x58]
add rax, rdi
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsi + 0x20]
lock inc qword [rsi]
jle 0x1800b76e3
imul rax, rdi, 0x58
add rcx, rax
mov qword [rsp + 0xd0], rcx
xor ebp, ebp
test r13b, r13b
jne 0x1800b6890
mov rax, qword [0x18016cbb8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
je 0x1800b6890
call fcn.18010ce00
test al, al
jne 0x1800b6890
mov byte [rsi + 0x18], 1
jmp 0x1800b6890
shl r12, 0x20
or r12, 2
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.ws2_32.dll_closesocket]
mov esi, 2
jmp 0x1800b6f76
movzx eax, byte [0x18016cbc0]
mov rcx, qword [0x18016cb80]
test rcx, rcx
je 0x1800b6d95
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
jmp 0x1800b6dc2
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
mov rbx, qword [rsp + 0x48]
je 0x1800b76e7
mov rcx, rax
mov qword [0x18016cb80], rax
mov r8d, 0x38
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800b76e7
mov r12, rax
movups xmm0, xmmword [0x18013a9b0]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x18013a9a0]
movups xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [str.A_Tokio_1.x_context_was_found__but_it_is_being_shutdown.reactor_at_max_registered_I_O_resources_]
movdqu xmmword [rax], xmm0
movabs rax, 0x2e6e776f64747568
mov qword [r12 + 0x30], rax
movzx eax, byte [0x18016cbc0]
mov rcx, qword [0x18016cb80]
test rcx, rcx
jne 0x1800b6c56
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800b76ce
mov rcx, rax
mov qword [0x18016cb80], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800b76ce
mov r13, rax
mov qword [rax], r12
mov qword [rax + 8], 0x38
mov qword [rax + 0x10], 0x38
movzx eax, byte [0x18016cbc0]
mov rcx, qword [0x18016cb80]
test rcx, rcx
jne 0x1800b6e87
jmp 0x1800b6e6e
cmp al, 2
jne 0x1800b6d04
mov r12, qword [rsp + 0xe0]
jmp 0x1800b7155
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.kernel32.dll_ReleaseSRWLockShared]
mov r15, qword [rsp + 0xd0]
mov r12, qword [r15 + 0x40]
mov rbp, qword [rsp + 0xd8]
cmp rbp, 0x1000000
jae 0x1800b76e3
cmp qword [rsp + 0x48], 0
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x78]
je 0x1800b6fc1
movabs r12, 0xc00000003
jmp 0x1800b706f
mov rcx, qword [rdi + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x1800b76e3
mov dword [rsp + 0x80], 0
mov dword [rsp + 0xe0], 4
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x80]
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1800b7144
mov r12d, dword [rsp + 0x80]
test r12, r12
jne 0x1800b714d
mov rsi, qword [rdi + 0x40]
mov r12, qword [rdi + 0x48]
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x180], rax
movdqu xmm0, xmmword [rdi + 0x50]
movdqa xmmword [rsp + 0x170], xmm0
mov byte [rdi + 0x70], 1
cmp rsi, 3
je 0x1800b6564
jmp 0x1800b6f47
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
je 0x1800b76f8
mov rcx, rax
mov qword [0x18016cb80], rax
mov r8d, 0x27
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800b76f8
mov r12, rax
movups xmm0, xmmword [0x18013a9d8]
movups xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [0x18013a9c8]
movdqu xmmword [rax], xmm0
movabs rax, 0x73656372756f7365
mov qword [r12 + 0x1f], rax
movzx eax, byte [0x18016cbc0]
mov rcx, qword [0x18016cb80]
test rcx, rcx
jne 0x1800b6e2e
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800b76ce
mov rcx, rax
mov qword [0x18016cb80], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800b76ce
mov r13, rax
mov qword [rax], r12
mov qword [rax + 8], 0x27
mov qword [rax + 0x10], 0x27
movzx eax, byte [0x18016cbc0]
mov rcx, qword [0x18016cb80]
test rcx, rcx
jne 0x1800b6e87
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800b76ce
mov rcx, rax
mov qword [0x18016cb80], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800b76ce
mov r12, rax
mov qword [rax], r13
lea rax, fcn.180013380
mov qword [r12 + 8], rax
mov byte [r12 + 0x10], 0x27
inc r12
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.kernel32.dll_ReleaseSRWLockShared]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xb8]
lock dec qword [rcx]
sete al
test rdx, rdx
je 0x1800b6eeb
test al, al
je 0x1800b6ef4
call fcn.1800e1110
jmp 0x1800b6ef4
test al, al
je 0x1800b6ef4
call fcn.1800e1070
test rbx, rbx
je 0x1800b6f31
mov rcx, qword [rbx + 8]
call fcn.18004c1c0
mov rcx, qword [rbx]
lock dec qword [rcx]
jne 0x1800b6f10
call fcn.1800373e0
mov rcx, qword [rbx + 8]
lock dec qword [rcx]
jne 0x1800b6f1f
call fcn.18005c420
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ws2_32.dll_closesocket]
mov byte [rsi], 1
mov esi, 2
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x1a0], rax
movdqa xmm0, xmmword [rsp + 0x170]
movdqa xmmword [rsp + 0x190], xmm0
mov rcx, qword [rsp + 0xc8]
call fcn.1800b63c0
mov qword [r14], rsi
mov qword [r14 + 8], r12
movdqa xmm0, xmmword [rsp + 0x190]
movdqu xmmword [r14 + 0x10], xmm0
mov rax, qword [rsp + 0x1a0]
mov qword [r14 + 0x20], rax
mov al, 1
mov byte [rdi + 0x78], al
movaps xmm6, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rax + rcx]
lea rbx, [rdi + 0x20]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18016cbb8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800b7590
xor r14d, r14d
movzx eax, byte [rdi + 0x28]
test al, al
jne 0x1800b76e3
mov qword [rsp + 0xa8], r12
lea r13, [rdi + 0x30]
mov rax, qword [rdi + 0x40]
test rax, rax
je 0x1800b702b
mov rcx, qword [r13]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x21
jb 0x1800b7163
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x10]
mov rdx, r13
call fcn.18004c2c0
mov r12, rax
test rax, rax
je 0x1800b7163
test r14b, r14b
jne 0x1800b7066
mov rax, qword [0x18016cbb8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800b76b8
mov rcx, rbx
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov rbx, qword [rsp + 0x48]
mov r14, qword [r15 + 0x48]
mov rcx, r14
call qword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18016cbb8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800b7458
xor ecx, ecx
movzx eax, byte [r14 + 8]
cmp qword [r14 + 0x18], 0
je 0x1800b76e3
mov r8, qword [r14 + 0x10]
cmp r8, r15
ja 0x1800b76e3
sub r15, r8
movabs rdx, 0x2e8ba2e8ba2e8ba3
mov rax, r15
mul rdx
shr rdx, 4
cmp rdx, qword [r14 + 0x20]
jae 0x1800b76e3
mov eax, dword [r14 + 0x28]
imul r9, rdx, 0x58
mov dword [r8 + r9 + 0x50], eax
mov qword [r14 + 0x28], rdx
mov rax, qword [r14 + 0x30]
dec rax
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], rax
test cl, cl
jne 0x1800b7119
mov rax, qword [0x18016cbb8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800b7617
mov rcx, r14
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
lock dec qword [r14 - 0x10]
jne 0x1800b7135
add r14, 0xfffffffffffffff0
mov rcx, r14
call fcn.1800375d0
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
jmp 0x1800b6ec7
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
shl r12, 0x20
or r12, 2
lea rcx, [rdi + 0x40]
call fcn.1800a9340
jmp 0x1800b6f3f
mov qword [rsp + 0x70], rdi
mov rax, qword [rdi + 0x40]
test rax, rax
je 0x1800b76e3
mov rcx, qword [r13]
mov rdx, qword [rcx + rax*8 - 8]
lock inc qword [rdx]
lea rdi, [rsp + 0xe0]
jle 0x1800b76e3
mov r13, qword [rcx + rax*8 - 8]
test r14b, r14b
jne 0x1800b71b4
mov rax, qword [0x18016cbb8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800b769d
mov rcx, rbx
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0x54], 0
xorps xmm6, xmm6
movups xmmword [rsp + 0x38], xmm6
lea rsi, [rsp + 0x54]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 8
mov r14, qword [rsp + 0xc0]
mov rcx, r14
mov edx, 0x48000022
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800b7239
mov rdi, qword [rsp + 0xe0]
mov r12, r13
movzx eax, byte [0x18016cbc0]
mov rcx, qword [0x18016cb80]
test rcx, rcx
je 0x1800b729c
mov rsi, qword [rsp + 0x58]
jmp 0x1800b72ba
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0x54], 0
movups xmmword [rsp + 0x38], xmm6
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 8
mov rcx, r14
mov edx, 0x4800001c
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800b7526
mov rdi, qword [rsp + 0xe0]
cmp rdi, r14
jne 0x1800b7219
jmp 0x1800b752c
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
mov rsi, qword [rsp + 0x58]
je 0x1800b771d
mov rcx, rax
mov qword [0x18016cb80], rax
mov r8d, 0x80
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800b771d
mov r13, rax
mov rax, qword [rsp + 0xa8]
and eax, 0x7f000000
and rbp, 0xffffffff80ffffff
or rbp, rax
mov qword [r13], 1
mov qword [r13 + 8], 1
mov r14, r13
add r14, 0x10
mov qword [r13 + 0x10], 0
mov byte [r13 + 0x18], 0
mov dword [r13 + 0x20], 0
mov qword [r13 + 0x28], r12
pxor xmm0, xmm0
movdqu xmmword [r13 + 0x30], xmm0
movdqu xmmword [r13 + 0x40], xmm0
movdqu xmmword [r13 + 0x50], xmm0
mov qword [r13 + 0x60], rdi
movdqu xmmword [r13 + 0x68], xmm0
mov word [r13 + 0x78], 0
mov rcx, r14
call qword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18016cbb8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800b7655
movzx eax, byte [r13 + 0x18]
test al, al
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x70]
jne 0x1800b76e3
mov dword [r13 + 0x70], 0x19d
mov qword [r13 + 0x68], rbp
mov rax, qword [0x18016cbb8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800b7686
mov rcx, r14
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
lock inc qword [rdi]
jle 0x1800b76e3
lock inc qword [r13]
jle 0x1800b76e3
lea r14, [rdi + 0x10]
mov rcx, r14
mov rdx, r13
call fcn.18004c0e0
movzx eax, byte [rdi + 0x78]
test al, al
je 0x1800b7415
mov rcx, r14
call fcn.18004b3c0
test rax, rax
je 0x1800b7415
mov r12, rax
mov rcx, r13
call fcn.18004c1c0
lock dec qword [rdi]
jne 0x1800b73fd
mov rcx, rdi
call fcn.18004c840
lock dec qword [r13]
jne 0x1800b7074
mov rcx, r13
call fcn.18004bca0
jmp 0x1800b7074
mov eax, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0xe3]
mov dword [rsp + 0x83], ecx
mov dword [rsp + 0x80], eax
movzx eax, byte [0x18016cbc0]
mov rcx, qword [0x18016cb80]
test rcx, rcx
je 0x1800b7477
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xb0]
jmp 0x1800b74a2
call fcn.18010ce00
mov ecx, eax
xor cl, 1
movzx eax, byte [r14 + 8]
cmp qword [r14 + 0x18], 0
jne 0x1800b70ad
jmp 0x1800b76e3
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xb0]
je 0x1800b772e
mov rcx, rax
mov qword [0x18016cb80], rax
mov r8d, 0x20
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800b772e
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
mov qword [rax + 8], r13
mov qword [rax + 0x10], rbp
mov byte [rax + 0x18], 3
mov ecx, dword [rsp + 0x80]
mov edx, dword [rsp + 0x83]
mov dword [rax + 0x19], ecx
mov dword [rax + 0x1c], edx
mov rdx, qword [rsp + 0x168]
cmp edx, 2
jne 0x1800b74f8
mov r12, qword [rsp + 0x78]
jmp 0x1800b6f3f
lea rcx, [rdi + 0x40]
mov qword [rdi + 0x40], rdx
mov rdx, qword [rsp + 0x78]
mov qword [rdi + 0x48], rdx
mov qword [rdi + 0x50], r15
mov rdx, qword [rsp + 0xc0]
mov qword [rdi + 0x58], rdx
mov qword [rdi + 0x60], rax
mov qword [rdi + 0x68], rcx
jmp 0x1800b6537
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0x54], 0
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 8
mov rcx, r14
mov edx, 0x4800001d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800b75ad
mov rdi, qword [rsp + 0xe0]
cmp rdi, r14
jne 0x1800b7219
jmp 0x1800b75b3
call fcn.18010ce00
mov r14d, eax
xor r14b, 1
movzx eax, byte [rdi + 0x28]
test al, al
je 0x1800b7000
jmp 0x1800b76e3
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0x54], 0
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 8
mov rcx, r14
mov edx, 0x4800001b
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800b762e
mov rdi, qword [rsp + 0xe0]
cmp rdi, r14
jne 0x1800b7219
jmp 0x1800b7634
call fcn.18010ce00
test al, al
jne 0x1800b7119
mov byte [r14 + 8], 1
jmp 0x1800b7119
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl r12, 0x20
or r12, 2
lock dec qword [r13]
jne 0x1800b764b
mov rcx, r13
call fcn.180037560
mov rsi, qword [rsp + 0x58]
jmp 0x1800b706f
call fcn.18010ce00
movzx ecx, byte [r13 + 0x18]
test cl, cl
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x70]
jne 0x1800b76e3
mov dword [r13 + 0x70], 0x19d
mov qword [r13 + 0x68], rbp
test al, al
jne 0x1800b7388
jmp 0x1800b73a2
call fcn.18010ce00
test al, al
jne 0x1800b73a2
mov byte [r13 + 0x18], 1
jmp 0x1800b73a2
call fcn.18010ce00
test al, al
jne 0x1800b71b4
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x28], 1
jmp 0x1800b71b4
call fcn.18010ce00
test al, al
jne 0x1800b7066
mov byte [rdi + 0x28], 1
jmp 0x1800b7066
mov ecx, 8
mov edx, 0x18
call fcn.180106200
ud2
mov qword [rax + 0x38], rcx
ud2
mov ecx, 1
mov edx, 0x38
call fcn.180106200
ud2
mov ecx, 1
mov edx, 0x27
call fcn.180106200
ud2
test rcx, rcx
je 0x1800b76e3
mov rdx, qword [rsp + 0x90]
call fcn.180106200
ud2
mov ecx, 8
mov edx, 0x80
call fcn.180106200
ud2
mov ecx, 8
mov edx, 0x20
call fcn.180106200
ud2