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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x820
lea rdi, [rsp + 0x40]
mov ecx, 0x1f8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x830]
mov rax, qword [0x1401e1010]
xor rax, rsp
mov qword [rsp + 0x818], rax
mov dword [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_30
mov rax, qword [rsp + 0x830]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
add rax, 0x5d0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
movzx eax, byte [0x1404ddf92]
mov byte [rsp + 0x88], al
lea rax, [rsp + 0x89]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_46
rep stosb byte [rdi], al
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x5c8], rax
mov rax, qword [rsp + 0x5c8]
mov qword [rsp + 0x5d0], rax
mov rax, qword [rsp + 0x5c8]
mov qword [rsp + 0x5d8], rax
mov qword [rsp + 0x5e8], 0
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x830]
mov rax, qword [rcx + rax + 0x718]
mov qword [rsp + 0x5f0], rax
mov qword [rsp + 0x608], 0
xor eax, eax
mov word [rsp + 0x614], ax
xor eax, eax
mov word [rsp + 0x618], ax
mov byte [rsp + 0x620], 1
mov qword [rsp + 0x748], 0
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x830]
cmp qword [rcx + rax + 0x718], 0
je 0x1400d98d6
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x830]
mov rcx, qword [rcx + rax + 0x718]
call fcn.14014af80
cmp rax, 1
jbe 0x1400d98d6
mov rcx, qword [rsp + 0x5f0]
call fcn.14014af80
cmp rax, 0x41
jae 0x1400d952a
mov qword [rsp + 0x800], 0x41
jmp 0x1400d953f
mov rcx, qword [rsp + 0x5f0]
call fcn.14014af80
mov qword [rsp + 0x800], rax
mov rax, qword [rsp + 0x800]
mov qword [rsp + 0x750], rax
mov rax, qword [rsp + 0x5f0]
mov qword [rsp + 0x758], rax
mov qword [rsp + 0x760], 0
mov qword [rsp + 0x768], 0
mov qword [rsp + 0x770], 0
mov rax, qword [rsp + 0x750]
inc rax
mov edx, 1
mov rcx, rax
call qword [0x1401e1070]
mov qword [rsp + 0x748], rax
cmp qword [rsp + 0x748], 0
jne 0x1400d95bc
mov dword [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400da23b
mov rax, qword [rsp + 0x5f0]
movsx eax, byte [rax]
cmp eax, 0x5b
jne 0x1400d9637
mov rax, qword [rsp + 0x5f0]
inc rax
mov qword [rsp + 0x758], rax
mov edx, 0x5d
mov rcx, qword [rsp + 0x5f0]
call fcn.140114ef0
mov qword [rsp + 0x760], rax
cmp qword [rsp + 0x760], 0
je 0x1400d9632
mov rax, qword [rsp + 0x758]
mov rcx, qword [rsp + 0x760]
sub rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x758]
mov rcx, qword [rsp + 0x748]
call fcn.14012afc0
jmp 0x1400d9726
mov rax, qword [rsp + 0x5f0]
movsx eax, byte [rax]
cmp eax, 0x3a
jne 0x1400d965c
mov rax, qword [rsp + 0x5f0]
mov qword [rsp + 0x760], rax
jmp 0x1400d9726
mov edx, Ordinal_60
mov rcx, qword [rsp + 0x5f0]
call fcn.140114ef0
mov qword [rsp + 0x760], rax
cmp qword [rsp + 0x760], 0
je 0x1400d9711
mov r8, qword [rsp + 0x5d8]
mov rdx, qword [rsp + 0x5f0]
mov ecx, reloc.WS2_32.dll_socket
call fcn.1400fbae0
cmp eax, 1
jne 0x1400d96e1
xor eax, eax
mov word [rsp + 0x618], ax
movzx eax, word [rsp + 0x618]
mov word [rsp + 0x614], ax
mov rdx, qword [rsp + 0x5f0]
mov rcx, qword [rsp + 0x748]
call fcn.1401546b0
mov qword [rsp + 0x760], 0
jmp 0x1400d970f
mov rax, qword [rsp + 0x758]
mov rcx, qword [rsp + 0x760]
sub rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x5f0]
mov rcx, qword [rsp + 0x748]
call fcn.14012afc0
jmp 0x1400d9726
mov rdx, qword [rsp + 0x5f0]
mov rcx, qword [rsp + 0x748]
call fcn.1401546b0
cmp qword [rsp + 0x760], 0
je 0x1400d97e9
mov edx, Ordinal_60
mov rcx, qword [rsp + 0x760]
call fcn.140114ef0
mov qword [rsp + 0x768], rax
cmp qword [rsp + 0x768], 0
je 0x1400d97e9
mov rax, qword [rsp + 0x768]
inc rax
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.14013efe0
mov ecx, eax
call fcn.140097d00
mov word [rsp + 0x614], ax
mov edx, reloc.WLDAP32.dll_Ordinal_45
mov rcx, qword [rsp + 0x768]
call fcn.140114ef0
mov qword [rsp + 0x770], rax
cmp qword [rsp + 0x770], 0
je 0x1400d97d9
mov rax, qword [rsp + 0x770]
inc rax
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.14013efe0
mov ecx, eax
call fcn.140097d00
mov word [rsp + 0x618], ax
jmp 0x1400d97e9
movzx eax, word [rsp + 0x614]
mov word [rsp + 0x618], ax
movzx eax, word [rsp + 0x614]
movzx ecx, word [rsp + 0x618]
cmp eax, ecx
jle 0x1400d9817
xor eax, eax
mov word [rsp + 0x618], ax
movzx eax, word [rsp + 0x618]
mov word [rsp + 0x614], ax
mov rax, qword [rsp + 0x748]
movsx eax, byte [rax]
test eax, eax
je 0x1400d98ca
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x58]
add rax, 0x10
mov rcx, rax
call fcn.14010cc30
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x58]
mov dword [rsp + 0x28], 0x401
lea rdx, [rsp + 0x1b0]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x748]
mov rdx, qword [rsp + 0x48]
mov r8d, dword [rdx + 0x704]
mov edx, eax
mov ecx, dword [rcx]
call fcn.14010ce50
mov dword [rsp + 0x808], eax
cmp dword [rsp + 0x808], 0
je 0x1400d98a1
cmp dword [rsp + 0x808], 1
je 0x1400d98b3
cmp dword [rsp + 0x808], 2
je 0x1400d98b8
jmp 0x1400d98c8
mov rax, qword [rsp + 0x748]
mov qword [rsp + 0x5e8], rax
jmp 0x1400d98c8
jmp 0x1400da23b
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x5e8], rax
jmp 0x1400d98d6
mov qword [rsp + 0x5e8], 0
cmp qword [rsp + 0x5e8], 0
jne 0x1400d9a09
mov dword [rsp + 0x184], 0x80
mov eax, 8
imul rax, rax, 0
lea r8, [rsp + 0x184]
mov rdx, qword [rsp + 0x5c8]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + rax + 0x1a8]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1400d9957
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x640]
mov ecx, eax
call fcn.1400b6d40
mov r8, rax
lea rdx, [0x1401e9f90]
mov rcx, qword [rsp + 0x830]
call fcn.140094270
jmp 0x1400da23b
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
mov dword [rsp + 0x80c], eax
cmp dword [rsp + 0x80c], 0x17
je 0x1400d9975
jmp 0x1400d99ac
mov rax, qword [rsp + 0x5d8]
add rax, 8
mov rcx, qword [rsp + 0x5c8]
movzx ecx, word [rcx]
mov r9d, 0x401
lea r8, [rsp + 0x1b0]
mov rdx, rax
call fcn.1400f30f0
mov qword [rsp + 0x778], rax
jmp 0x1400d99e1
mov rax, qword [rsp + 0x5d0]
add rax, 4
mov rcx, qword [rsp + 0x5c8]
movzx ecx, word [rcx]
mov r9d, 0x401
lea r8, [rsp + 0x1b0]
mov rdx, rax
call fcn.1400f30f0
mov qword [rsp + 0x778], rax
cmp qword [rsp + 0x778], 0
jne 0x1400d99f1
jmp 0x1400da23b
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x5e8], rax
mov byte [rsp + 0x620], 0
lea rax, [rsp + 0x608]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x830]
call fcn.1400a1dd0
mov dword [rsp + 0x5e0], eax
cmp dword [rsp + 0x5e0], 1
jne 0x1400d9a57
lea rdx, [rsp + 0x608]
mov rcx, qword [rsp + 0x830]
call fcn.14007db00
cmp qword [rsp + 0x608], 0
je 0x1400d9a8c
mov rax, qword [rsp + 0x608]
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x608]
mov rcx, qword [rsp + 0x830]
call fcn.1400a2450
jmp 0x1400d9a98
mov qword [rsp + 0x168], 0
cmp qword [rsp + 0x168], 0
jne 0x1400d9ac4
mov r8, qword [rsp + 0x5e8]
lea rdx, [0x1401e9fb8]
mov rcx, qword [rsp + 0x830]
call fcn.140094270
jmp 0x1400da23b
mov qword [rsp + 0x5e8], 0
mov qword [rsp + 0x68], 0xffffffffffffffff
mov dword [rsp + 0x5e4], 0
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
jmp 0x1400d9b0a
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x170], rax
cmp qword [rsp + 0x170], 0
je 0x1400d9b5d
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x70d]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x830]
call fcn.1400ee100
test eax, eax
je 0x1400d9b59
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x5e4], eax
jmp 0x1400d9af6
jmp 0x1400d9b5d
cmp qword [rsp + 0x170], 0
jne 0x1400d9b9e
mov r8d, 0x100
lea rdx, [rsp + 0x640]
mov ecx, dword [rsp + 0x5e4]
call fcn.1400b6d40
mov r8, rax
lea rdx, [0x1401e9ff0]
mov rcx, qword [rsp + 0x830]
call fcn.140094270
jmp 0x1400da23b
xor eax, eax
test eax, eax
jne 0x1400d9b9e
mov rax, qword [rsp + 0x170]
movsxd rax, dword [rax + 0x10]
mov r8, rax
mov rax, qword [rsp + 0x170]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x5c8]
call fcn.140114500
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x184], eax
movzx eax, word [rsp + 0x614]
mov word [rsp + 0x61c], ax
movzx eax, word [rsp + 0x61c]
movzx ecx, word [rsp + 0x618]
cmp eax, ecx
jg 0x1400d9ddc
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
cmp eax, 2
jne 0x1400d9c32
movzx ecx, word [rsp + 0x61c]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x5d0]
mov word [rcx + 2], ax
jmp 0x1400d9c4c
movzx ecx, word [rsp + 0x61c]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x5d8]
mov word [rcx + 2], ax
mov r8d, dword [rsp + 0x184]
mov rdx, qword [rsp + 0x5c8]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1400d9dc2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x5e4], eax
movzx eax, byte [rsp + 0x620]
test eax, eax
je 0x1400d9d68
cmp dword [rsp + 0x5e4], 0x2741
jne 0x1400d9d68
mov r8d, 0x100
lea rdx, [rsp + 0x640]
mov ecx, dword [rsp + 0x5e4]
call fcn.1400b6d40
movzx ecx, word [rsp + 0x61c]
mov r9, rax
mov r8d, ecx
lea rdx, [0x1401ea008]
mov rcx, qword [rsp + 0x830]
call fcn.140094130
mov dword [rsp + 0x184], 0x80
mov eax, 8
imul rax, rax, 0
lea r8, [rsp + 0x184]
mov rdx, qword [rsp + 0x5c8]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + rax + 0x1a8]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1400d9d4b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x640]
mov ecx, eax
call fcn.1400b6d40
mov r8, rax
lea rdx, [0x1401ea038]
mov rcx, qword [rsp + 0x830]
call fcn.140094270
jmp 0x1400da23b
movzx eax, word [rsp + 0x614]
mov word [rsp + 0x61c], ax
mov byte [rsp + 0x620], 0
jmp 0x1400d9bee
cmp dword [rsp + 0x5e4], 0x2740
je 0x1400d9dc0
cmp dword [rsp + 0x5e4], 0xd
je 0x1400d9dc0
mov r8d, 0x100
lea rdx, [rsp + 0x640]
mov ecx, dword [rsp + 0x5e4]
call fcn.1400b6d40
movzx ecx, word [rsp + 0x61c]
mov r9, rax
mov r8d, ecx
lea rdx, [0x1401ea068]
mov rcx, qword [rsp + 0x830]
call fcn.140094270
jmp 0x1400da23b
jmp 0x1400d9dc4
jmp 0x1400d9ddc
movzx eax, word [rsp + 0x61c]
inc ax
mov word [rsp + 0x61c], ax
jmp 0x1400d9bee
movzx eax, word [rsp + 0x61c]
movzx ecx, word [rsp + 0x618]
cmp eax, ecx
jle 0x1400d9e09
lea rdx, [0x1401ea090]
mov rcx, qword [rsp + 0x830]
call fcn.140094270
jmp 0x1400da23b
mov dword [rsp + 0x184], 0x80
lea r8, [rsp + 0x184]
mov rdx, qword [rsp + 0x5c8]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1400d9e6a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x640]
mov ecx, eax
call fcn.1400b6d40
mov r8, rax
lea rdx, [0x1401ea0b8]
mov rcx, qword [rsp + 0x830]
call fcn.140094270
jmp 0x1400da23b
xor eax, eax
test eax, eax
jne 0x1400d9e6a
mov edx, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x1400d9ebb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x640]
mov ecx, eax
call fcn.1400b6d40
mov r8, rax
lea rdx, [0x1401ea0e0]
mov rcx, qword [rsp + 0x830]
call fcn.140094270
jmp 0x1400da23b
xor eax, eax
test eax, eax
jne 0x1400d9ebb
mov r8d, gethostbyname
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x170]
call fcn.1400a26e0
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x2da]
test eax, eax
jne 0x1400d9f08
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x2d4]
test eax, eax
je 0x1400d9f08
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x2da], 1
jmp 0x1400d9f1a
mov eax, dword [rsp + 0x838]
inc eax
mov dword [rsp + 0x838], eax
cmp dword [rsp + 0x838], 2
je 0x1400da1e7
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x2da]
test eax, eax
jne 0x1400d9f44
cmp dword [rsp + 0x838], 0
jne 0x1400d9f44
jmp 0x1400d9f0a
cmp dword [rsp + 0x838], 1
jne 0x1400d9f60
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
cmp eax, 2
je 0x1400d9f60
jmp 0x1400d9f0a
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
mov dword [rsp + 0x810], eax
cmp dword [rsp + 0x810], 2
je 0x1400d9f88
cmp dword [rsp + 0x810], 0x17
je 0x1400d9fa4
jmp 0x1400d9fc0
mov rax, qword [rsp + 0x5d0]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x61c], ax
jmp 0x1400d9fc5
mov rax, qword [rsp + 0x5d8]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x61c], ax
jmp 0x1400d9fc5
jmp 0x1400d9f0a
cmp dword [rsp + 0x838], 0
jne 0x1400da089
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
cmp eax, 2
jne 0x1400d9ff0
mov dword [rsp + 0x814], 1
jmp 0x1400d9ffb
mov dword [rsp + 0x814], 2
movzx eax, word [rsp + 0x61c]
movsxd rcx, dword [rsp + 0x838]
imul rcx, rcx, 5
lea rdx, [0x14019b4d0]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x50]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x814]
mov dword [rsp + 0x20], eax
mov r9, rcx
lea r8, [0x1401ea0f8]
mov rcx, qword [rsp + 0x830]
call fcn.14010a100
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400da084
mov ecx, dword [rsp + 0x40]
call fcn.1400b63d0
mov r8, rax
lea rdx, [0x1401ea108]
mov rcx, qword [rsp + 0x830]
call fcn.140094270
jmp 0x1400da23b
jmp 0x1400da1e7
cmp dword [rsp + 0x838], 1
jne 0x1400da1e2
lea rax, [rsp + 0x88]
mov qword [rsp + 0x7e8], rax
lea rax, [rsp + 0x790]
mov qword [rsp + 0x7f0], rax
cmp qword [rsp + 0x7e8], 0
je 0x1400da12b
mov rax, qword [rsp + 0x7e8]
movsx eax, byte [rax]
test eax, eax
je 0x1400da12b
mov rax, qword [rsp + 0x7e8]
movsx eax, byte [rax]
cmp eax, 0x2e
jne 0x1400da0ee
mov rax, qword [rsp + 0x7f0]
mov byte [rax], Ordinal_46
jmp 0x1400da103
mov rax, qword [rsp + 0x7f0]
mov rcx, qword [rsp + 0x7e8]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x7f0]
inc rax
mov qword [rsp + 0x7f0], rax
mov rax, qword [rsp + 0x7e8]
inc rax
mov qword [rsp + 0x7e8], rax
jmp 0x1400da0b7
mov rax, qword [rsp + 0x7f0]
mov byte [rax], 0
movzx eax, word [rsp + 0x61c]
and eax, 0xff
movzx ecx, word [rsp + 0x61c]
sar ecx, 8
mov dword [rsp + 0x20], eax
mov r9d, ecx
lea r8, [0x1401e9fac]
mov edx, reloc.WS2_32.dll_sendto
mov rcx, qword [rsp + 0x7f0]
call fcn.1400b32e0
movsxd rax, dword [rsp + 0x838]
imul rax, rax, 5
lea rcx, [0x14019b4d0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x790]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [0x1401ea054]
mov rdx, rcx
mov rcx, qword [rsp + 0x830]
call fcn.14010a100
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400da1e0
mov ecx, dword [rsp + 0x40]
call fcn.1400b63d0
mov r8, rax
lea rdx, [0x1401ea138]
mov rcx, qword [rsp + 0x830]
call fcn.140094270
jmp 0x1400da23b
jmp 0x1400da1e7
jmp 0x1400d9f0a
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x838]
mov dword [rax + 0xe8], ecx
lea r9, [rsp + 0x68]
mov r8d, 1
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x830]
call fcn.1400ee900
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400da223
jmp 0x1400da23b
mov qword [rsp + 0x68], 0xffffffffffffffff
mov dl, 0x1c
mov rcx, qword [rsp + 0x830]
call fcn.1400d4f80
cmp dword [rsp + 0x40], 0
je 0x1400da251
xor edx, edx
mov rcx, qword [rsp + 0x830]
call fcn.1400d4f80
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x1400da270
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x830]
call fcn.1400ee1d0
mov rcx, qword [rsp + 0x748]
call qword [fcn.14012be40]
mov eax, dword [rsp + 0x40]
mov edi, eax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_htonl
call fcn.1401843c0
mov eax, edi
mov rcx, qword [rsp + 0x818]
xor rcx, rsp
call fcn.14002d760
add rsp, 0x820
pop rdi
ret