Function at 0x1400b4660
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c8
mov rbp, rdx
mov r13, rcx
mov rax, qword [0x1401a7130]
cmp rax, 2
jne 0x1400b5024
movzx eax, byte [0x1401a7139]
test al, al
je 0x1400b5038
mov qword [rsp + 0x170], rbp
mov qword [rsp + 0x178], r13
lea rdx, str.127.0.0.1:0testserver:_pre_connect_with_error
lea rcx, [rsp + 0x50]
mov r8d, 0xb
call fcn.140072500
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x160], rax
test rax, rax
je 0x1400b5305
mov rdi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0x68]
cmp rdi, rbx
je 0x1400b52fd
xor r14d, r14d
jmp 0x1400b472d
mov rcx, qword [0x14024a138]
xor edx, edx
mov r8, r13
call sub.KERNEL32.dll_HeapFree
dec r15
mov rcx, qword [0x14024a138]
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapFree
nop dword [rax]
add rdi, 0x20
cmp rdi, rbx
je 0x1400b52fd
movzx ebp, word [rdi]
cmp bp, 2
je 0x1400b52fd
mov r15, r14
mov r13d, dword [rdi + 0x14]
mov esi, dword [rdi + 0x18]
movzx r12d, word [rdi + 0x1c]
movzx eax, word [rdi + 0x12]
mov word [rsp + 0x190], ax
movups xmm0, xmmword [rdi + 2]
movaps xmmword [rsp + 0x180], xmm0
mov rax, qword [0x14024a0f0]
cmp rax, 3
jne 0x1400b4886
lea rcx, [rsp + 0x50]
mov edx, ebp
call fcn.140081150
cmp qword [rsp + 0x50], 0
mov r14, qword [rsp + 0x58]
je 0x1400b47a0
test r15, r15
jne 0x1400b483d
jmp 0x1400b4720
test bp, bp
je 0x1400b47b9
mov r8d, 0x1c
mov ax, 0x17
movups xmm0, xmmword [rsp + 0x182]
jmp 0x1400b47d7
movzx r12d, word [rsp + 0x184]
mov r13d, dword [rsp + 0x180]
mov r8d, 0x10
mov ax, 2
xorps xmm0, xmm0
rol r12w, 8
mov word [rsp + 0x50], ax
mov word [rsp + 0x52], r12w
mov dword [rsp + 0x54], r13d
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x68], esi
mov rcx, r14
lea rdx, [rsp + 0x50]
call sub.ws2_32.dll_bind
cmp eax, 0xffffffff
je 0x1400b4819
mov rcx, r14
mov edx, pe_nt_image_headers64
call sub.ws2_32.dll_listen
cmp eax, 0xffffffff
jne 0x1400b4890
call sub.ws2_32.dll_WSAGetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, r14
call sub.ws2_32.dll_closesocket
mov r14, r13
test r15, r15
je 0x1400b4720
mov eax, r15d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1400b4720
test rax, rax
je 0x1400b4720
mov r13, qword [r15 - 1]
mov rsi, qword [r15 + 7]
mov rcx, r13
call qword [rsi]
cmp qword [rsi + 8], 0
je 0x1400b4709
cmp qword [rsi + 0x10], 0x11
jb 0x1400b46f8
mov r13, qword [r13 - 8]
jmp 0x1400b46f8
call fcn.14007ff80
jmp 0x1400b4772
cmp qword [rsp + 0x38], 0
je 0x1400b48ae
mov rcx, qword [0x14024a138]
xor edx, edx
mov r8, qword [rsp + 0x160]
call sub.KERNEL32.dll_HeapFree
test r15, r15
je 0x1400b490e
mov eax, r15d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1400b490e
test rax, rax
je 0x1400b490e
lea rbx, [r15 - 1]
mov r12, qword [r15 - 1]
mov rsi, qword [r15 + 7]
mov rcx, r12
call qword [rsi]
cmp qword [rsi + 8], 0
je 0x1400b48fd
cmp qword [rsi + 0x10], 0x11
jb 0x1400b48ec
mov r12, qword [r12 - 8]
mov rcx, qword [0x14024a138]
xor edx, edx
mov r8, r12
call sub.KERNEL32.dll_HeapFree
mov rcx, qword [0x14024a138]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x180], pe_nt_image_headers64
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x180]
mov rcx, r14
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x1400b531f
mov eax, dword [rsp + 0x180]
movzx ecx, word [rsp + 0x50]
cmp ecx, 2
je 0x1400b4995
cmp ecx, 0x17
jne 0x1400b5305
cmp eax, 0x1b
ja 0x1400b499e
jmp 0x1400b5305
cmp eax, 0xf
jbe 0x1400b5305
movzx eax, word [rsp + 0x52]
rol ax, 8
mov word [rsp + 0x44], ax
movzx eax, byte [0x14024a149]
mov edx, 0x18
xor ecx, ecx
call fcn.140080d30
test rax, rax
je 0x1400b5305
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov byte [rax + 0x10], 0
lock inc qword [rax]
jle 0x1400b5305
call fcn.140080be0
mov r12, rax
movzx eax, byte [0x14024a149]
mov edx, 0x30
xor ecx, ecx
call fcn.140080d30
test rax, rax
je 0x1400b5305
mov r15, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x18], 0
mov rax, qword [0x14024a108]
nop dword [rax]
mov rcx, rax
inc rcx
je 0x1400b5305
lock cmpxchg qword [0x14024a108], rcx
jne 0x1400b4a30
mov qword [r15 + 0x10], rcx
mov byte [r15 + 0x28], 0
lock inc qword [r15]
jle 0x1400b5305
movzx eax, byte [0x14024a149]
mov edx, 0x30
xor ecx, ecx
call fcn.140080d30
test rax, rax
je 0x1400b5305
mov r13, rax
mov qword [rax], 1
mov qword [rax + 8], 1
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rsp + 0x50], rax
lock inc qword [rax]
jle 0x1400b5305
movzx eax, byte [0x14024a058]
test al, al
je 0x1400b4afa
mov byte [0x14024a058], 1
call fcn.1400729e0
test rax, rax
je 0x1400b5305
mov rbp, qword [rax]
mov qword [rax], 0
test rbp, rbp
je 0x1400b4afa
lock inc qword [rbp]
jle 0x1400b5305
mov byte [0x14024a058], 1
call fcn.1400729e0
test rax, rax
je 0x1400b5353
mov rcx, qword [rax]
mov qword [rax], rbp
test rcx, rcx
jne 0x1400b4b2f
jmp 0x1400b4b3a
movzx eax, byte [0x14024a058]
test al, al
je 0x1400b500b
mov byte [0x14024a058], 1
call fcn.1400729e0
test rax, rax
je 0x1400b5305
mov rcx, qword [rax]
mov qword [rax], 0
xor ebp, ebp
test rcx, rcx
je 0x1400b4b3a
lock dec qword [rcx]
jne 0x1400b4b3a
call fcn.1400c5b20
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1400b4b53
lock inc qword [rcx + 0x18]
jle 0x1400b5346
movzx eax, byte [0x14024a149]
mov edx, 0x30
xor ecx, ecx
call fcn.140080d30
test rax, rax
je 0x1400b5305
mov qword [rax], r15
mov qword [rax + 8], r13
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], rdi
lea rcx, [0x1400b4650]
mov qword [rax + 0x28], rcx
lea r8, [0x140205408]
mov rcx, r12
mov rdx, rax
call fcn.140071df0
test rax, rax
jne 0x1400b5326
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdx
mov rcx, rdx
call sub.KERNEL32.dll_CloseHandle
lock dec qword [r15]
jne 0x1400b4bcf
mov rcx, qword [rsp + 0x50]
call fcn.1400c5730
mov qword [rsp + 0x38], rdi
mov rax, qword [rsp + 0x58]
lock dec qword [rax]
jne 0x1400b4be9
lea rcx, [rsp + 0x58]
call fcn.14001fc30
lea rdi, [rsp + 0x44]
lea rbp, [0x14000d2d0]
lea rbx, [0x1401f1d08]
lea rsi, [rsp + 0x150]
lea r14, [rsp + 0x180]
lea r15, [rsp + 0x50]
jmp 0x1400b4c4a
mov rcx, qword [0x14024a138]
xor edx, edx
mov r8, r13
call sub.KERNEL32.dll_HeapFree
dec r12
mov rcx, qword [0x14024a138]
xor edx, edx
mov r8, r12
call sub.KERNEL32.dll_HeapFree
lea rdi, [rsp + 0x44]
lea r13, [rsp + 0x28]
mov qword [rsp + 0x150], rdi
mov qword [rsp + 0x158], rbp
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 1
mov rcx, r14
mov rdx, r15
call fcn.1400039a0
mov rcx, r15
mov rdx, r14
call fcn.1400b9100
cmp qword [rsp + 0x50], 0
je 0x1400b4d6b
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
call fcn.1400ab650
cmp al, 2
jne 0x1400b4cd0
xor ecx, ecx
mov edx, 0x5f5e100
call fcn.1400723f0
jmp 0x1400b4d1b
mov qword [rsp + 0x150], r13
lea rax, [fcn.1400806e0]
mov qword [rsp + 0x158], rax
lea rax, [0x1401f1d48]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 1
mov rcx, r15
call fcn.14007c420
mov r12, qword [rsp + 0x28]
mov eax, r12d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1400b4c4f
test rax, rax
je 0x1400b4c4f
mov r13, qword [r12 - 1]
mov rdi, qword [r12 + 7]
mov rcx, r13
call qword [rdi]
cmp qword [rdi + 8], 0
je 0x1400b4c31
cmp qword [rdi + 0x10], 0x11
jb 0x1400b4c20
mov r13, qword [r13 - 8]
jmp 0x1400b4c20
mov rcx, qword [rsp + 0x58]
call sub.ws2_32.dll_closesocket
movzx ebx, word [rsp + 0x44]
movzx eax, byte [0x14024a149]
mov edx, 0xa
xor ecx, ecx
call fcn.140080d30
test rax, rax
je 0x1400b5305
mov r14, rax
movabs rax, 0x392e322f71657275
mov qword [r14], rax
mov word [r14 + 8], 0x362e
mov rax, qword [0x1401a7158]
cmp rax, 2
mov r13, qword [rsp + 0x178]
mov rbp, qword [rsp + 0x170]
jne 0x1400b52bf
mov rsi, qword [0x1401a7148]
mov rdi, qword [0x1401a7150]
lock inc qword [rsi]
jle 0x1400b5305
movzx eax, byte [0x14024a149]
mov edx, 0x10
xor ecx, ecx
call fcn.140080d30
test rax, rax
je 0x1400b5305
mov r12, rax
mov qword [rax], 1
mov qword [rax + 8], 1
movzx eax, byte [0x14024a149]
mov edx, 0x20
xor ecx, ecx
call fcn.140080d30
test rax, rax
je 0x1400b5305
mov r15, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov rax, qword [rsp + 0x38]
mov qword [r15 + 0x10], rax
mov word [r15 + 0x18], bx
lock dec qword [r12]
jne 0x1400b4e66
lea rdx, method..virtual_0
mov rcx, r12
call fcn.140043c50
mov qword [rsp + 0x50], 0xa
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 0xa
movabs rax, 0x8000000000000001
dec rax
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x180]
movups xmm1, xmmword [rsp + 0x190]
movups xmm2, xmmword [rsp + 0x1a0]
movups xmm3, xmmword [rsp + 0x1b0]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm1
movups xmmword [rsp + 0x90], xmm2
movups xmmword [rsp + 0xa0], xmm3
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 0x1e
mov dword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xc4], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0xcc], eax
mov dword [rsp + 0xd0], 0x3b9aca00
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0xdc], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xd4], rax
mov dword [rsp + 0xe0], 0x3b9aca00
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0xec], eax
mov rax, qword [rsp + 0x44]
mov qword [rsp + 0xe4], rax
mov dword [rsp + 0xf0], 0x3b9aca00
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], rdi
mov dword [rsp + 0x108], 5
mov word [rsp + 0x10c], 0x100
mov byte [rsp + 0x10e], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 8
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], r15
lea rax, [0x140206df0]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x138], 0x64
mov qword [rsp + 0x140], 1
mov byte [rsp + 0x148], 0
mov eax, dword [rsp + 0x169]
mov ecx, dword [rsp + 0x16c]
mov dword [rsp + 0x14c], ecx
mov dword [rsp + 0x149], eax
jmp 0x1400b51a7
xor ebp, ebp
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x1400b4b48
jmp 0x1400b4b53
call fcn.1400c8600
movzx eax, byte [0x1401a7139]
test al, al
jne 0x1400b4699
movzx eax, byte [0x14024a149]
mov edx, 0xa
xor ecx, ecx
call fcn.140080d30
test rax, rax
je 0x1400b5305
mov rbx, rax
movabs rax, 0x392e322f71657275
mov qword [rbx], rax
mov word [rbx + 8], 0x362e
mov rax, qword [0x1401a7158]
cmp rax, 2
jne 0x1400b52de
mov rsi, qword [0x1401a7148]
mov rdi, qword [0x1401a7150]
lock inc qword [rsi]
jle 0x1400b5305
movzx eax, byte [0x14024a149]
mov edx, 0x10
xor ecx, ecx
call fcn.140080d30
test rax, rax
je 0x1400b5305
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rsp + 0x50], 0xa
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xa
movabs rcx, 0x8000000000000001
dec rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0xb8], 0x1e
mov dword [rsp + 0xc0], 0
mov dword [rsp + 0xd0], 0x3b9aca00
mov dword [rsp + 0xe0], 0x3b9aca00
mov dword [rsp + 0xf0], 0x3b9aca00
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], rdi
mov dword [rsp + 0x108], 5
mov word [rsp + 0x10c], 0x100
mov byte [rsp + 0x10e], 0
mov byte [rsp + 0x148], 0
mov qword [rsp + 0x138], 0x64
mov qword [rsp + 0x140], 1
mov qword [rsp + 0x128], rax
lea rax, method..virtual_0
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 8
mov qword [rsp + 0x120], 0
lea rcx, [rsp + 0x50]
call fcn.1400c8820
mov rbx, rax
mov r14, rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdx
lock inc qword [rax]
jle 0x1400b5305
lock inc qword [r14]
jle 0x1400b5305
movzx eax, byte [0x14024a149]
mov edx, 3
xor ecx, ecx
call fcn.140080d30
test rax, rax
je 0x1400b5305
mov r15, rax
mov byte [rax + 2], 0x54
mov word [rax], 0x4547
movzx eax, byte [0x14024a149]
mov edx, 0x27
xor ecx, ecx
call fcn.140080d30
test rax, rax
je 0x1400b5305
mov rcx, qword [rbp + 0x1f]
mov qword [rax + 0x1f], rcx
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov qword [r13 + 0x58], rbx
mov qword [r13 + 0x60], r14
mov qword [r13], 3
mov qword [r13 + 8], r15
mov qword [r13 + 0x10], 3
mov qword [r13 + 0x18], 0x27
mov qword [r13 + 0x20], rax
mov qword [r13 + 0x28], 0x27
mov qword [r13 + 0x30], 0
mov qword [r13 + 0x38], 8
mov qword [r13 + 0x40], 0
mov dword [r13 + 0x50], 0x3b9aca00
mov rax, qword [rsp + 0x50]
lock dec qword [rax]
jne 0x1400b5295
lea rcx, [rsp + 0x50]
call fcn.1400c6030
mov rax, qword [rsp + 0x58]
lock dec qword [rax]
jne 0x1400b52aa
lea rcx, [rsp + 0x58]
call fcn.1400c5b70
nop
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400c86e0
mov rsi, qword [0x1401a7148]
mov rdi, qword [0x1401a7150]
lock inc qword [rsi]
jg 0x1400b4de6
jmp 0x1400b5305
call fcn.1400c86e0
mov rsi, qword [0x1401a7148]
mov rdi, qword [0x1401a7150]
lock inc qword [rsi]
jg 0x1400b5093
jmp 0x1400b5305
cmp qword [rsp + 0x38], 0
jne 0x1400b5307
ud2
mov rcx, qword [0x14024a138]
xor edx, edx
mov r8, qword [rsp + 0x160]
call sub.KERNEL32.dll_HeapFree
ud2
call sub.ws2_32.dll_WSAGetLastError
ud2
lock dec qword [rsi]
jne 0x1400b5336
lea rcx, [rsp + 0x50]
call fcn.14001fc30
lock dec qword [r15]
jne 0x1400b5305
mov rcx, r15
call fcn.1400c5730
ud2
add rcx, 0x10
xor edx, edx
call fcn.14007c760
ud2
lock dec qword [rbp]
jne 0x1400b5305
mov rcx, rbp
call fcn.1400833d0
ud2