Function at 0x140028910
Capabilities:
Create udp socket

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push r12
push r13
push r15
sub rsp, 0xa8
lea rax, [rsp + 0x50]
xor ebx, ebx
mov r15, rcx
mov qword [rsp + 0x60], rax
mov eax, 2
lea r8d, [rbx + 0x11]
mov edx, eax
mov ecx, eax
mov r13d, ebx
mov qword [rsp + 0x50], rbx
call qword [sym.imp.WS2_32.dll_socket]
mov r12, rax
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
jne 0x140028977
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140028a1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140028c9c
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x90], rdi
mov edi, 0x4c0
xor ecx, ecx
mov esi, ebx
mov edx, edi
call fcn.140044e50
mov rbp, rax
test rax, rax
je 0x140028a11
nop word [rax + rax]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x30], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4004747f
mov rcx, r12
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x58], rbp
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x140028a3c
inc esi
cmp esi, 0x64
jge 0x140028a2f
add edi, 0x4c0
mov rcx, rbp
mov edx, edi
call fcn.140044e50
mov rbp, rax
test rax, rax
jne 0x1400289b0
mov r13, qword [rsp + 0x58]
mov ebx, 0x2747
jmp 0x140028c66
mov eax, 0xffffe5d4
add rsp, 0xa8
pop r15
pop r13
pop r12
pop rbx
ret
mov ebx, 0x2741
mov r13, rbp
jmp 0x140028c66
mov ecx, dword [rsp + 0xe0]
movabs rax, 0xd79435e50d79435f
mov qword [rsp + 0x88], r14
mov r14, rbx
mul rcx
shr rdx, 6
movsxd r13, edx
mov qword [rsp + 0xe8], r13
test edx, edx
jle 0x140028c33
mov rax, qword [rsp + 0xe8]
mov r13d, 1
cmp word [rbp + 4], 2
jne 0x140028c18
xor eax, eax
mov r15d, ebx
mov rsi, rbx
mov dword [rsp + 0xd8], ebx
mov edi, ebx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
nop word [rax + rax]
lea rdx, [rsp + 0xd8]
xor r8d, r8d
mov rcx, rsi
call sub.IPHLPAPI.DLL_GetIpAddrTable
mov r12d, eax
cmp eax, 0x7a
jne 0x140028aef
mov edx, dword [rsp + 0xd8]
mov rcx, rsi
call fcn.140044e50
mov rsi, rax
test rax, rax
je 0x140028c10
inc edi
cmp edi, 0x64
jb 0x140028ab0
jmp 0x140028b39
test eax, eax
jne 0x140028b39
mov r8d, dword [rsi]
mov r12d, 0xfffeffff
mov ecx, ebx
mov rdx, rbx
test r8d, r8d
je 0x140028b39
mov r9d, dword [rbp + 8]
lea rax, [rsi + 4]
nop
cmp r9d, dword [rax]
je 0x140028b25
inc ecx
inc rdx
add rax, 0x18
cmp ecx, r8d
jb 0x140028b10
jmp 0x140028b39
lea rax, [rdx + rdx*2]
mov r12d, ebx
mov r15d, dword [rsi + rax*8 + 8]
mov eax, dword [rsi + rax*8 + 0xc]
mov dword [rsp + 0x74], eax
test rsi, rsi
je 0x140028b46
mov rcx, rsi
call fcn.140044620
test r12d, r12d
jne 0x140028c10
lea edx, [r12 + 0x68]
lea ecx, [rdx - 0x67]
call fcn.140045548
mov rdi, rax
test rax, rax
je 0x140028cab
mov rax, qword [rsp + 0x60]
lea ecx, [r12 + 0x10]
mov qword [rsp + 0x60], rdi
mov qword [rax], rdi
call fcn.140044568
mov qword [rdi + 8], rax
test rax, rax
je 0x140028cab
lea rdx, [0x140059a24]
mov r8d, r13d
mov rcx, rax
call fcn.1400454a8
mov r11d, dword [rbp]
mov dword [rdi + 0x10], r11d
cmp word [rbp + 4], 2
jne 0x140028c0c
lea edx, [r12 + 0x10]
lea ecx, [rdx - 0xf]
call fcn.140045548
mov r11, rax
mov qword [rdi + 0x18], rax
test rax, rax
je 0x140028cab
mov rax, qword [rbp + 4]
lea edx, [r12 + 0x10]
mov qword [r11], rax
mov rax, qword [rbp + 0xc]
lea ecx, [rdx - 0xf]
mov qword [r11 + 8], rax
call fcn.140045548
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140028cab
mov ecx, 2
mov word [rax], cx
mov rcx, qword [rdi + 0x20]
mov eax, dword [rsp + 0x74]
mov dword [rcx + 4], eax
mov dword [rdi + 0x60], r15d
jmp 0x140028c10
mov dword [rdi + 0x60], r13d
mov rax, qword [rsp + 0xe8]
inc r14
inc r13d
add rbp, 0x4c
cmp r14, rax
jl 0x140028a80
mov r15, qword [rsp + 0xd0]
test r15, r15
je 0x140028c45
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rbx
mov qword [r15], rax
mov rcx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x88]
test rcx, rcx
je 0x140028c5c
call fcn.140026be0
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
test r13, r13
je 0x140028c8b
mov rcx, r13
call fcn.140044620
cmp r12, 0xffffffffffffffff
je 0x140028c9a
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, ebx
add rsp, 0xa8
pop r15
pop r13
pop r12
pop rbx
ret
mov ebx, 0x2747
jmp 0x140028c45