Function at 0x140004e90
Capabilities:
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x10360
call fcn.140021580
sub rsp, rax
mov rax, qword [0x14002c0b0]
xor rax, rsp
mov qword [rsp + 0x10350], rax
xor esi, esi
mov r12d, 2
mov rdi, rdx
mov rbx, rcx
lea r8d, [rsi + 0x11]
mov edx, r12d
mov ecx, r12d
mov r13d, esi
call qword [sym.imp.WS2_32.dll_socket]
lea ecx, [rsi + 0x35]
mov word [rsp + 0x340], r12w
mov rbp, rax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, rdi
mov word [rsp + 0x342], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x344], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, byte [rsp + 0x352]
and cl, 1
mov word [rsp + 0x350], ax
xor al, al
or cl, 1
mov byte [rsp + 0x353], al
mov byte [rsp + 0x352], cl
lea ecx, [rsi + 1]
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, [rsp + 0x35c]
mov rdx, rbx
mov word [rsp + 0x356], si
mov word [rsp + 0x358], si
mov word [rsp + 0x35a], si
mov word [rsp + 0x354], ax
call fcn.140004de0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x35c]
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
lea ecx, [rsi + 1]
call qword [sym.imp.WS2_32.dll_htons]
lea ecx, [rsi + 1]
mov word [rsp + rdi + 0x35d], ax
call qword [sym.imp.WS2_32.dll_htons]
or rcx, 0xffffffffffffffff
mov word [rsp + rdi + 0x35f], ax
xor eax, eax
lea rdi, [rsp + 0x35c]
repne scasb al, byte [rdi]
lea rax, [rsp + 0x340]
lea rdx, [rsp + 0x350]
not rcx
xor r9d, r9d
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea r8d, [rcx + 0x10]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, rbp
cmp eax, 0xffffffff
je 0x140005421
lea edx, [rsi + 0xa]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
call fcn.140001f80
test eax, eax
je 0x14000541e
cmp eax, 0xffffffff
je 0x14000541e
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x350]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x340]
mov r8d, 0xffff
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
mov edx, r12d
mov rcx, rbp
cmp eax, 0xffffffff
je 0x140005424
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_closesocket]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x35c]
repne scasb al, byte [rdi]
not rcx
lea rbx, [rsp + rcx + 0x360]
cmp dword [0x14002dfe8], eax
je 0x140005112
lea rcx, str._nThe_Desponse_:
call fcn.14001347c
movzx ecx, word [rsp + 0x354]
call qword [sym.imp.WS2_32.dll_ntohs]
lea rcx, str._n__d_Questions.
movzx edx, ax
call fcn.14001347c
movzx ecx, word [rsp + 0x356]
call qword [sym.imp.WS2_32.dll_ntohs]
lea rcx, str._n__d_Answers.
movzx edx, ax
call fcn.14001347c
movzx ecx, word [rsp + 0x358]
call qword [sym.imp.WS2_32.dll_ntohs]
lea rcx, str._n__d_Authoritative_Servers.
movzx edx, ax
call fcn.14001347c
movzx ecx, word [rsp + 0x35a]
call qword [sym.imp.WS2_32.dll_ntohs]
lea rcx, str._n__d_Additional_records._n_n
movzx edx, ax
call fcn.14001347c
movzx ecx, word [rsp + 0x356]
mov dword [rsp + 0x34], esi
mov r12d, 0x20
call qword [sym.imp.WS2_32.dll_ntohs]
cmp ax, r12w
jae 0x140005142
movzx ecx, word [rsp + 0x356]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx r12d, ax
mov edi, esi
mov dword [rsp + 0x30], esi
test r12d, r12d
jle 0x1400052c6
nop word [rax + rax]
movsxd rax, edi
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x350]
mov rcx, rbx
lea rdi, [rax + rax*2]
call fcn.140004cd0
mov qword [rsp + rdi*8 + 0x40], rax
movsxd rax, dword [rsp + 0x34]
add rbx, rax
mov qword [rsp + rdi*8 + 0x48], rbx
mov rax, qword [rsp + rdi*8 + 0x48]
add rbx, 0xa
movzx ecx, word [rax]
call qword [sym.imp.WS2_32.dll_ntohs]
cmp ax, 1
jne 0x14000528c
movsxd rax, dword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rsp + rcx*8 + 0x48]
movzx ecx, word [rax + 8]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
call fcn.140013dac
movsxd rcx, dword [rsp + 0x30]
lea rdx, [rcx + rcx*2]
mov qword [rsp + rdx*8 + 0x50], rax
test rax, rax
je 0x140005433
mov rax, qword [rsp + rdx*8 + 0x48]
mov ebp, esi
mov rdi, rsi
movzx ecx, word [rax + 8]
call qword [sym.imp.WS2_32.dll_ntohs]
cmp si, ax
jae 0x14000523b
nop word [rax + rax]
movsxd rax, dword [rsp + 0x30]
inc ebp
inc rdi
lea rcx, [rax + rax*2]
movzx eax, byte [rdi + rbx - 1]
mov rdx, qword [rsp + rcx*8 + 0x50]
mov byte [rdi + rdx - 1], al
movsxd rax, dword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rsp + rcx*8 + 0x48]
movzx ecx, word [rax + 8]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
cmp ebp, edx
jl 0x140005200
movsxd rax, dword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rsp + rcx*8 + 0x48]
movzx ecx, word [rax + 8]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
movsxd rax, dword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rsp + rcx*8 + 0x50]
mov byte [rdx + rax], sil
movsxd rax, dword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rsp + rcx*8 + 0x48]
movzx ecx, word [rax + 8]
call qword [sym.imp.WS2_32.dll_ntohs]
mov edi, dword [rsp + 0x30]
movzx edx, ax
add rbx, rdx
jmp 0x1400052b7
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x350]
mov rcx, rbx
call fcn.140004cd0
movsxd rdi, dword [rsp + 0x30]
lea rdx, [rdi + rdi*2]
mov qword [rsp + rdx*8 + 0x50], rax
movsxd rax, dword [rsp + 0x34]
add rbx, rax
inc edi
cmp edi, r12d
mov dword [rsp + 0x30], edi
jl 0x140005160
mov edi, dword [rsp + 0x344]
mov edx, esi
mov dword [rsp + 0x30], edx
test r12d, r12d
jle 0x1400053ba
nop dword [rax]
cmp dword [0x14002dfe8], esi
je 0x140005304
movsxd rax, edx
lea rcx, str.Name__:___s
lea rdx, [rax + rax*2]
mov rdx, qword [rsp + rdx*8 + 0x40]
call fcn.14001347c
mov edx, dword [rsp + 0x30]
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rsp + rcx*8 + 0x48]
movzx ecx, word [rax]
call qword [sym.imp.WS2_32.dll_ntohs]
cmp ax, 1
jne 0x14000535a
movsxd rdx, dword [rsp + 0x30]
lea rcx, [rdx + rdx*2]
mov rax, qword [rsp + rcx*8 + 0x50]
mov edi, dword [rax]
cmp dword [0x14002dfe8], esi
je 0x140005352
mov ecx, edi
call qword [sym.imp.WS2_32.dll_inet_ntoa]
lea rcx, str.Has_IPv4_Address_:___s
mov rdx, rax
call fcn.14001347c
mov edx, dword [rsp + 0x30]
mov r13d, 1
jmp 0x14000535e
mov edx, dword [rsp + 0x30]
cmp dword [0x14002dfe8], esi
je 0x1400053ab
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rsp + rcx*8 + 0x48]
movzx ecx, word [rax]
call qword [sym.imp.WS2_32.dll_ntohs]
cmp ax, 5
jne 0x14000539b
movsxd rax, dword [rsp + 0x30]
lea rcx, str.Has_Alias_Name_:__s
lea rdx, [rax + rax*2]
mov rdx, qword [rsp + rdx*8 + 0x50]
call fcn.14001347c
lea rcx, [0x140022bc8]
call fcn.14001347c
mov edx, dword [rsp + 0x30]
inc edx
cmp edx, r12d
mov dword [rsp + 0x30], edx
jl 0x1400052e0
mov dword [rsp + 0x30], esi
test r12d, r12d
jle 0x14000540f
nop word [rax + rax]
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rcx, qword [rsp + rcx*8 + 0x50]
test rcx, rcx
je 0x1400053ea
call fcn.140013e64
mov esi, dword [rsp + 0x30]
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rcx, qword [rsp + rcx*8 + 0x40]
test rcx, rcx
je 0x140005404
call fcn.140013e64
mov esi, dword [rsp + 0x30]
inc esi
cmp esi, r12d
mov dword [rsp + 0x30], esi
jl 0x1400053d0
test r13d, r13d
je 0x140005433
mov ecx, edi
call qword [sym.imp.WS2_32.dll_inet_ntoa]
jmp 0x140005435
mov rcx, rbp
mov edx, r12d
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
mov rcx, qword [rsp + 0x10350]
xor rcx, rsp
call fcn.1400135f0
mov rbx, qword [rsp + 0x103a0]
add rsp, 0x10360
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret