Function at 0x100009970
Capabilities:
Contain obfuscated stackstrings
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
sub rsp, 0x90
mov rax, qword [0x10000e160]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor ebx, ebx
cmp qword [rcx + 8], 0xffffffffffffffff
mov rdi, rcx
jne 0x100009c56
lea r13d, [rbx + 1]
lea esi, [rbx + 0x20]
lea r8d, [rbx + 3]
mov edx, r13d
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x100009c40
movdqu xmm0, xmmword [0x100001d90]
xor ecx, ecx
mov word [rsp + 0x68], si
mov qword [rsp + 0x72], rcx
mov qword [rsp + 0x7a], rcx
mov dword [rsp + 0x82], ecx
movdqu xmmword [rsp + 0x72], xmm0
or dword [rsp + 0x82], 0xffffffff
mov qword [rsp + 0x6a], rcx
lea esi, [rbx + 0x1e]
lea rdx, [rsp + 0x68]
mov r8d, esi
mov rcx, rax
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x100009c17
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x20], esi
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x100009c17
mov rcx, qword [rdi + 8]
mov edx, r13d
call qword [sym.imp.WS2_32.dll_listen]
mov esi, eax
cmp eax, 0xffffffff
je 0x100009c17
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rbx + 8]
lea r8d, [rbx + 0x69]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
mov qword [rdi + 0xc0], rax
test rax, rax
je 0x100009c0d
lea r8d, [rbx + 0x3b]
lea rcx, [rsp + 0x29]
xor edx, edx
call sub.msvcrt.dll_memset
mov eax, Ordinal_258
lea esi, [rbx + 0x3c]
movdqu xmm0, xmmword [0x100001d38]
mov word [rsp + 0x2b], ax
mov eax, 0x511
lea rcx, [rbp + 0x2c]
movdqu xmmword [rsp + 0x4d], xmm0
mov word [rsp + 0x30], ax
mov eax, 0x400
lea rdx, [rsp + 0x28]
mov word [rsp + 0x33], ax
mov eax, 0x300
mov r8, rsi
mov word [rsp + 0x3f], ax
mov al, byte [rsp + 0x82]
mov byte [rsp + 0x28], 0x35
mov byte [rsp + 0x42], al
mov eax, 0x800
mov byte [rsp + 0x29], 0x3a
mov word [rsp + 0x46], ax
mov eax, 0x303
mov byte [rsp + 0x2a], 9
mov byte [rsp + 0x2d], 0x35
mov byte [rsp + 0x2e], 3
mov byte [rsp + 0x2f], 0x19
mov word [rsp + 0x5e], ax
mov byte [rsp + 0x32], 9
mov byte [rsp + 0x35], 0x35
mov byte [rsp + 0x36], setsockopt
mov byte [rsp + 0x37], 0x35
mov byte [rsp + 0x38], 3
mov byte [rsp + 0x39], 0x19
mov word [rsp + 0x3a], r13w
mov byte [rsp + 0x3c], 0x35
mov byte [rsp + 0x3d], 5
mov byte [rsp + 0x3e], 0x19
mov byte [rsp + 0x41], 8
mov byte [rsp + 0x43], 0x35
mov byte [rsp + 0x44], 3
mov byte [rsp + 0x45], 0x19
mov byte [rsp + 0x48], 9
mov word [rsp + 0x49], r13w
mov byte [rsp + 0x4b], 0x25
mov byte [rsp + 0x4c], 0x10
mov byte [rsp + 0x5d], 9
mov byte [rsp + 0x60], 0x35
mov byte [rsp + 0x61], 2
mov byte [rsp + 0x62], 8
mov byte [rsp + 0x63], Ordinal_258
call sub.msvcrt.dll_memcpy
mov r11, qword [rdi + 0xc0]
lea r8, [rdi + 0xb0]
mov dword [r11 + 0x28], esi
mov rax, qword [rdi + 0xc0]
lea rdx, [rdi + 0xa0]
lea r9, [rdi + 0xb8]
lea rcx, [rdi + 0x28]
mov qword [rax + 8], r9
mov rax, qword [rdi + 0xc0]
mov qword [rax], r8
mov rax, qword [rdi + 0xc0]
mov dword [rax + 0x10], 0x80
mov rax, qword [rdi + 0xc0]
and qword [r9], rbx
mov dword [rdx], 0x69
mov qword [rdi + 0x98], rdx
mov dword [r8], r13d
xor r8d, r8d
xor edx, edx
mov qword [rdi + 0xa8], rax
mov dword [rcx], 0x78
mov dword [rdi + 0x50], setsockopt
call qword [sym.imp.WS2_32.dll_WSASetServiceW]
mov esi, eax
jmp 0x100009c12
mov ebx, 0x8007000e
cmp esi, 0xffffffff
jne 0x100009c2b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x100009c5b
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
or qword [rdi + 8], 0xffffffffffffffff
jmp 0x100009c5b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x100009c5b
mov ebx, 0x8000ffff
mov eax, ebx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.10000ad60
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop rdi
pop rsi
ret