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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rsi, qword [rcx + 0x70]
mov rdi, qword [rcx + 0x4c0]
xor ebx, ebx
mov r15b, dl
mov r12, rcx
lea r13d, [rbx + 1]
mov edx, r13d
mov rcx, rsi
movzx ebp, bx
call fcn.18002cd58
mov r14d, eax
cmp dword [rsi + 0xc28], ebx
je 0x1800347e8
mov rcx, rsi
call fcn.18001fb04
cmp eax, ebx
je 0x1800347e8
call fcn.18001f6c4
cmp eax, ebx
je 0x1800347e8
cmp dword [rsi + 0x270], ebx
je 0x1800347eb
mov r13d, ebx
xor edx, edx
lea rcx, [rsp + 0x22]
mov word [rsp + 0x20], bx
lea r8d, [rdx + 0x7e]
call sub.ntdll.dll_memset
xor edx, edx
lea rcx, [rdi + 4]
lea r8d, [rdx + 0x57]
call sub.ntdll.dll_memset
mov byte [rdi + 4], 0xc5
mov byte [rdi + 5], r15b
mov eax, 0x57
mov r9d, 1
mov rcx, rsi
mov word [rdi + 6], ax
mov rax, qword [rsi + 8]
mov qword [rdi + 8], rax
mov rax, qword [rsi + 0x10]
mov qword [rdi + 0x10], rax
movzx eax, word [rsi + 0x2e]
mov byte [rdi + 0x1a], r9b
mov word [rdi + 0x18], ax
call fcn.18001fb04
cmp eax, ebx
je 0x180034876
mov bp, word [rsi + 0x214]
cmp bp, bx
je 0x180034872
cmp dword [rsi + 0x210], ebx
je 0x180034872
cmp dword [rsi + 0x228], ebx
jne 0x180034876
cmp dword [rsi + 0x270], ebx
jne 0x180034876
mov bp, word [rsi + 0x2c]
mov word [rdi + 0x1b], bp
mov word [rdi + 0x1d], bx
mov dword [rdi + 0x32], ebx
mov r15d, 2
cmp dword [rsi + 0xc28], ebx
je 0x1800348e0
cmp r13d, ebx
je 0x1800348b3
cmp r14d, ebx
jne 0x1800348ae
cmp dword [rsi + 0x228], ebx
jne 0x1800348a9
cmp dword [rsi + 0x270], ebx
je 0x1800348ae
mov word [rdi + 0x1d], r9w
or word [rdi + 0x1d], r15w
cmp r14d, ebx
je 0x1800348c1
mov eax, 4
or word [rdi + 0x1d], ax
cmp dword [r12 + 0x98], ebx
je 0x1800348d0
or word [rdi + 0x1d], 8
cmp dword [r12 + 0x8c], 0xa
jne 0x1800348e0
or word [rdi + 0x1d], 0x10
cmp dword [r12 + 0x98], ebx
jne 0x180034952
mov rcx, qword [r12 + 0xa0]
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx]
mov dword [rsp + 0xd8], 0x80
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, ebx
je 0x18003491d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rdi + 0x1f]
lea rdx, [rsp + 0x20]
call fcn.18002a704
movzx eax, word [rsp + 0x20]
movzx ecx, bx
cmp eax, r15d
je 0x18003493d
cmp eax, 0x17
jne 0x180034942
mov cx, word [rsp + 0x22]
call qword [sym.imp.WS2_32.dll_ntohs]
mov r9d, 1
mov word [rdi + 0x30], ax
mov rsi, qword [rsi + 0x2a0]
cmp rsi, rbx
je 0x1800349ba
cmp byte [rsi + 0x248], r9b
jne 0x1800349ba
cmp r13d, ebx
je 0x1800349ba
mov dword [rdi + 0x32], r9d
movdqu xmm0, xmmword [rsi + 0x78]
lea rcx, [rdi + 0x46]
lea rdx, [rsi + 0xb0]
movdqu xmmword [rdi + 0x36], xmm0
call fcn.18002a704
movzx eax, word [rsi + 0xb0]
cmp eax, r15d
je 0x18003499b
cmp eax, 0x17
jne 0x1800349a2
mov bx, word [rsi + 0xb2]
movzx ecx, bx
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rdi + 0x57], ax
movzx eax, word [rsi + 0xa8]
mov word [rdi + 0x59], ax
lea rdx, [rdi + 4]
mov r8d, 0x57
mov rcx, r12
call fcn.1800341ec
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret