Function at 0x140130cd0
Capabilities:
Create udp socket
Set socket configuration
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x50]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x74], eax
mov qword [rsp + 0x88], 0
mov dword [rsp + 0xa4], 0
mov dword [rsp + 0xc4], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x30
call fcn.140138010
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x110]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x118]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x120]
mov qword [rax], rcx
mov rax, qword [rsp + 0x100]
movzx eax, word [rax]
mov r8d, reloc.WS2_32.dll_recvfrom
mov edx, 2
mov ecx, eax
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x140130dd2
mov edx, 1
mov rcx, qword [rsp + 0x90]
call fcn.1403ba8b0
xor eax, eax
jmp 0x14013103e
cmp dword [rsp + 0x108], 1
jne 0x140130e33
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x74]
mov r8d, 4
mov edx, 0xffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x140130e33
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], 0
mov r9d, eax
mov r8d, 0x7f
lea rdx, [0x140557070]
xor ecx, ecx
call fcn.14014da80
mov ecx, 0xfd
call fcn.14038e600
nop
mov rax, qword [rsp + 0x100]
movzx eax, word [rax]
cmp eax, 0x17
jne 0x140130e9a
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x54]
mov r8d, 0x1b
mov edx, 0x29
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x140130e9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], 0
mov r9d, eax
mov r8d, 0x83
lea rdx, [0x1405570c0]
xor ecx, ecx
call fcn.14014da80
mov ecx, 0xfd
call fcn.14038e600
nop
mov rax, qword [rsp + 0x100]
movzx eax, word [rax]
cmp eax, 0x17
jne 0x140130eb8
mov qword [rsp + 0xd8], 0x1c
jmp 0x140130ec4
mov qword [rsp + 0xd8], reloc.WS2_32.dll_recv
mov r8d, dword [rsp + 0xd8]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x140130f07
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_closesocket]
mov edx, 1
mov rcx, qword [rsp + 0x90]
call fcn.1403ba8b0
xor eax, eax
jmp 0x14013103e
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0xc4]
mov edx, 0x9800000c
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov rax, qword [rsp + 0x100]
movzx eax, word [rax]
cmp eax, 0x17
jne 0x140130f85
mov rax, qword [rsp + 0x100]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov rcx, qword [rsp + 0x90]
mov word [rcx + 0x18], ax
jmp 0x140130fa3
mov rax, qword [rsp + 0x100]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov rcx, qword [rsp + 0x90]
mov word [rcx + 0x18], ax
mov dword [rsp + 0x30], 0
lea rax, [0x1401318a0]
mov qword [rsp + 0x28], rax
lea rax, [0x1401318f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [0x140131760]
mov edx, dword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.14012a440
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x140131015
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_closesocket]
mov edx, 1
mov rcx, qword [rsp + 0x90]
call fcn.1403ba8b0
xor eax, eax
jmp 0x14013103e
mov r9, qword [rsp + 0x90]
lea r8, [0x1401318f0]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
call fcn.14012c260
mov rax, qword [rsp + 0x88]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_connect
call fcn.14037c300
mov rax, rdi
add rsp, 0xe0
pop rdi
ret