Function at 0x140028e00
Capabilities:
Create udp socket
Get socket status
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8f0]
sub rsp, 0x9f0
mov rax, qword [0x1400bc0f8]
xor rax, rsp
mov qword [rbp + 0x8e0], rax
mov r12, r8
mov esi, edx
mov r13, rcx
mov qword [rbp - 0x78], r8
xor ebx, ebx
mov dword [rsp + 0x50], ebx
xor edx, edx
mov r8d, 0xc0
lea rcx, [rbp + 0x50]
call fcn.14004ca60
lea rcx, [rbp + 0x50]
call fcn.140044690
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
xor edx, edx
lea rcx, [rbp - 0x18]
call fcn.140041910
nop
mov ecx, 0x202
lea rdx, [rbp + 0x320]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140028ed2
movzx eax, word [rbp + 0x320]
cmp al, 2
jne 0x140028ed2
shr ax, 8
cmp al, 2
jne 0x140028ed2
lea r8d, [rbx + 0x11]
mov r15d, 2
mov edx, r15d
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_socket]
mov r14, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x140028f61
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop
lea rcx, [rbp - 0x18]
call fcn.140041e40
nop
lea rcx, [rbp + 0x50]
call fcn.140024a30
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x140028f22
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x140028f1d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140029a00
mov rcx, r8
call fcn.14003f74c
mov byte [r12], 0
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r12 + 0x10], rbx
xor al, al
mov rcx, qword [rbp + 0x8e0]
xor rcx, rsp
call fcn.14003fb10
mov rbx, qword [rsp + 0xa48]
add rsp, 0x9f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov word [rbp + 0x10], r15w
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x12], ax
lea r9, [rsp + 0x50]
mov r8d, 1
lea rdx, [rbp + 0x4c0]
mov rcx, r13
call fcn.140028c00
test al, al
je 0x140029003
lea rcx, [rbp + 0x4c0]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x14], eax
lea rcx, [r13 + 0xd8]
lea rax, [rbp + 0x4c0]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140028fb5
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x140028fef
mov rdi, rcx
cmp rax, 0x10
jb 0x140028fd3
mov rdi, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
lea rdx, [rbp + 0x4c0]
mov rcx, rdi
call fcn.14004c3b0
mov byte [rbx + rdi], 0
jmp 0x14002900e
lea r9, [rbp + 0x4c0]
xor r8d, r8d
mov rdx, rbx
call fcn.1400152b0
jmp 0x14002900e
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x14], eax
mov word [rbp + 0x20], r15w
movzx ecx, si
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x22], ax
mov dword [rbp + 0x24], 0xffffffff
mov byte [rbp - 0x70], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x70]
mov edx, 0xffff
mov r8d, 0x20
mov rcx, r14
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x10]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x14002908b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop
lea rcx, [rbp - 0x18]
call fcn.140041e40
nop
lea rcx, [rbp + 0x50]
call fcn.140024a30
nop
mov rcx, r12
call fcn.1400154e0
jmp 0x140028f35
lea rcx, [0x14008a8e8]
call fcn.1400287b0
mov dword [rbp - 0x28], reloc.WS2_32.dll_recv
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x4e0]
call fcn.14004ca60
mov r14, qword [r12 + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 0x16
jb 0x140029a06
mov r15, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1400290e0
mov r15, qword [r12]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rsi, [r14 + 0x16]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x30]
cmp rsi, rbx
jbe 0x14002917e
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x140029140
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14003fb30
test rax, rax
je 0x140029a0c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140029179
mov eax, reloc.WS2_32.dll_shutdown
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140029168
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400299f4
jmp 0x140029121
test rcx, rcx
je 0x140029177
call fcn.14003fb30
mov rdi, rax
jmp 0x140029179
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [str._cmd_:_getip___ver_:_]
movups xmmword [rdi], xmm0
mov eax, dword [0x14008a910]
mov dword [rdi + 0x10], eax
movzx eax, word [0x14008a914]
mov word [rdi + 0x14], ax
lea rcx, [rdi + 0x16]
mov r8, r14
mov rdx, r15
call fcn.14004c3b0
mov byte [rdi + rsi], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x1400291fc
lea rax, [rcx + 2]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x30]
mov edx, 0x7d22
mov word [rax + rcx], dx
mov byte [rax + rcx + 2], 0
lea rax, [rsp + 0x30]
jmp 0x14002921c
mov esi, 2
mov qword [rsp + 0x20], rsi
lea r9, [0x14008a8fc]
xor r8d, r8d
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140015de0
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
xor r14d, r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
lea r15d, [r14 + 0xc]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14002928d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029288
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029a12
call fcn.14003f74c
movdqa xmm0, xmmword [0x140089a40]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov ecx, 0x18
call fcn.14003fb30
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1400292cc
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov rcx, rax
call fcn.140023aa0
mov rbx, rax
jmp 0x1400292cf
mov rbx, r14
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae r8, qword [rbp - 0x68]
mov r9d, dword [rbp - 0x58]
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.140024fd0
nop
test rbx, rbx
je 0x140029308
mov rcx, rbx
call fcn.140024bb0
mov edx, 0x18
mov rcx, rbx
call fcn.14003f74c
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rbp - 0x38]
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x1400293d4
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140029380
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002937b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029a18
call fcn.14003f74c
movdqa xmm0, xmmword [0x140089a40]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400298d5
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400298d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400299fa
jmp 0x1400298d0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [r13 + 0x28]
mov rdx, qword [r13 + 0x30]
cmp rcx, rdx
je 0x140029400
lea r8, [r13 + 0x28]
call fcn.140028810
mov rax, qword [r13 + 0x28]
mov qword [r13 + 0x30], rax
nop dword [rax]
mov qword [rbp + 0x118], rdi
mov dword [rbp + 0x110], 1
mov qword [rbp - 0x20], 2
nop dword [rax]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x110]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x140029451
call fcn.140052050
cmp dword [rax], 0x2714
je 0x140029420
mov rcx, rdi
test ebx, ebx
je 0x1400298eb
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp + 0x4e0]
call qword [sym.imp.WS2_32.dll_recvfrom]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140029838
cmp rsi, 0x400
jae 0x140029a3c
mov byte [rbp + rsi + 0x4e0], 0
mov ecx, 0x18
call fcn.14003fb30
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1400294d1
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov rcx, rax
call fcn.140023aa0
mov rbx, rax
jmp 0x1400294d4
mov rbx, r14
mov rcx, rsi
call fcn.14003f754
mov r14, rax
mov r8, rsi
lea rdx, [rbp + 0x4e0]
mov rcx, rax
call fcn.14004c3b0
mov r9d, esi
mov r8, r14
lea rdx, [rbp + 0x30]
mov rcx, rbx
call fcn.140024c30
nop
test rbx, rbx
je 0x14002951e
mov rcx, rbx
call fcn.140024bb0
mov edx, 0x18
mov rcx, rbx
call fcn.14003f74c
mov rcx, r14
call fcn.14003f74c
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140029550
lea rcx, [rsp + 0x30]
call fcn.14001ced0
nop
mov r9b, 1
lea r8, [rbp - 0x18]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x50]
call fcn.140046540
movzx ebx, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400295b9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400295b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029a1e
call fcn.14003f74c
test bl, bl
je 0x1400297ea
lea rdx, [0x14008a918]
lea rcx, [rbp - 0x18]
call fcn.140042340
mov rcx, rax
call fcn.1400432a0
test al, al
jne 0x14002969a
lea rdx, [0x14008a918]
lea rcx, [rbp - 0x18]
call fcn.140042340
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.140042ab0
nop
or r15d, 1
mov dword [rsp + 0x50], r15d
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140029615
mov rdx, qword [rax]
cmp qword [rax + 0x10], 5
jne 0x14002969a
mov rcx, r14
lea r8, str.getip
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140029649
cmp rcx, 5
jne 0x140029630
mov eax, r14d
jmp 0x14002964e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14002969a
lea rdx, [0x14008a924]
lea rcx, [rbp - 0x18]
call fcn.140042340
mov rcx, rax
call fcn.1400432a0
test al, al
jne 0x14002969a
lea rdx, [0x14008a924]
lea rcx, [rbp - 0x18]
call fcn.140042340
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140042ab0
or r15d, 2
cmp qword [rax + 0x10], 0
jbe 0x14002969a
mov bl, 1
jmp 0x14002969c
xor bl, bl
test r15b, 2
je 0x1400296f6
and r15d, 0xfffffffd
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400296e3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400296de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029a24
call fcn.14003f74c
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
test r15b, 1
je 0x14002973d
and r15d, 0xfffffffe
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14002973d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029738
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029a2a
call fcn.14003f74c
test bl, bl
je 0x1400297ea
lea rdx, [0x14008a924]
lea rcx, [rbp - 0x18]
call fcn.140042340
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.140042ab0
nop
mov rdx, qword [r13 + 0x30]
cmp rdx, qword [r13 + 0x38]
je 0x14002979f
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
add qword [r13 + 0x30], 0x20
jmp 0x1400297ac
mov r8, rax
lea rcx, [r13 + 0x28]
call fcn.1400288a0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400297ea
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400297e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029a30
call fcn.14003f74c
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
mov rdi, qword [rsp + 0x58]
jb 0x140029400
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029829
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029a36
call fcn.14003f74c
mov rdi, qword [rsp + 0x58]
jmp 0x140029400
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140029889
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029884
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029a42
call fcn.14003f74c
movdqa xmm0, xmmword [0x140089a40]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400298d5
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400298d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029a48
call fcn.14003f74c
movdqa xmm0, xmmword [0x140089a40]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
jmp 0x14002906a
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14002992d
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029928
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029a42
call fcn.14003f74c
movdqa xmm0, xmmword [0x140089a40]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140029979
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029974
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029a48
call fcn.14003f74c
movdqa xmm0, xmmword [0x140089a40]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
lea rcx, [rbp - 0x18]
call fcn.140041e40
nop
lea rcx, [rbp + 0x50]
call fcn.140024a30
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x1400299d6
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x1400299d1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400299ee
mov rcx, r8
call fcn.14003f74c
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
jmp 0x140028f35
call fcn.140062acc
nop
call fcn.140015860
int3
call fcn.140062acc
nop
call fcn.140062acc
nop
call fcn.140015880
int3
call fcn.140062acc
nop
call fcn.140062acc
int3
call fcn.140062acc
nop
call fcn.140062acc
nop
call fcn.140062acc
nop
call fcn.140062acc
int3
call fcn.140062acc
nop
call fcn.140062acc
int3
call fcn.14003f890
nop
call fcn.140062acc
nop
call fcn.140062acc
int3