Function at 0x1401af4d0
Capabilities:
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], r9
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x308
mov rax, qword [0x140292140]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov eax, 0x101
mov word [rsp + 0x34], ax
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0x150]
movzx ecx, word [rsp + 0x34]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1401af53a
mov eax, 0xffffdcd8
jmp 0x1401afae2
movzx eax, word [rsp + 0x150]
and rax, 0xff
movzx eax, al
cmp eax, 1
jne 0x1401af56a
movzx eax, word [rsp + 0x150]
shr rax, 8
and rax, 0xff
movzx eax, al
cmp eax, 1
je 0x1401af58a
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rax, qword [rsp + 0x320]
mov qword [rax + 0x10], 0xffffffffffffffff
mov eax, 0xffffdcd9
jmp 0x1401afae2
xor ecx, ecx
call fcn.1401ae7e0
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xor r8d, r8d
mov edx, 2
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rsp + 0x320]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsp + 0x328]
call fcn.140003c20
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, qword [rsp + 0x320]
mov dword [rcx + 4], eax
mov eax, 2
mov rcx, qword [rsp + 0x320]
mov word [rcx], ax
movzx ecx, word [rsp + 0x330]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x320]
mov word [rcx + 2], ax
mov r8d, recvfrom
xor edx, edx
mov rcx, qword [rsp + 0x338]
call fcn.1401b2970
mov rcx, qword [rsp + 0x320]
mov dword [rcx + 0x428], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov rcx, qword [rsp + 0x320]
mov dword [rcx + 0x42c], eax
mov rax, qword [rsp + 0x320]
mov dword [rax + 0x430], 0
mov rax, qword [rsp + 0x320]
mov dword [rax + 0x434], 0xaf3c2828
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x320]
add rcx, 0x428
mov dword [rsp + 0x28], socket
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, recvfrom
mov rdx, rcx
mov rax, qword [rsp + 0x320]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x38], reloc.WS2_32.dll_sendto
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xf0]
call fcn.1400032f0
mov rcx, rax
call fcn.1400095d0
nop
mov dword [rsp + 0x140], socket
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x320]
add rcx, 0x18
lea rdx, [rsp + 0x140]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
mov rdx, rcx
mov rax, qword [rsp + 0x320]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1401af72b
mov eax, 0xffffdcdb
jmp 0x1401afae2
mov dword [rsp + 0x3c], 0x35
mov edx, 0x2f
lea rcx, [0x14023b070]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1401af764
mov edx, 0x2f
lea rcx, [0x14023b0d0]
call sub.VCRUNTIME140.dll_strrchr
inc rax
mov qword [rsp + 0x58], rax
jmp 0x1401af7ab
mov edx, 0x5c
lea rcx, [0x14023b130]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1401af795
mov edx, 0x5c
lea rcx, [0x14023b190]
call sub.VCRUNTIME140.dll_strrchr
inc rax
mov qword [rsp + 0x50], rax
jmp 0x1401af7a1
lea rax, [0x14023b1f0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x90], rax
lea rax, str._:__Successfully_connected_to_KMBOX:
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 0x28
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0xb0]
mov rdi, rax
mov rsi, rcx
mov ecx, recvfrom
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x100]
call fcn.140189b50
nop
mov dword [rsp + 0x40], 0x36
mov edx, 0x2f
lea rcx, [0x14023b280]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1401af844
mov edx, 0x2f
lea rcx, [0x14023b2e0]
call sub.VCRUNTIME140.dll_strrchr
inc rax
mov qword [rsp + 0x68], rax
jmp 0x1401af88b
mov edx, 0x5c
lea rcx, [0x14023b340]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1401af875
mov edx, 0x5c
lea rcx, [0x14023b3a0]
call sub.VCRUNTIME140.dll_strrchr
inc rax
mov qword [rsp + 0x60], rax
jmp 0x1401af881
lea rax, [0x14023b400]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
lea rax, str._:____IP:_
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], socket
lea rax, [rsp + 0x110]
lea rcx, [rsp + 0xc0]
mov rdi, rax
mov rsi, rcx
mov ecx, recvfrom
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0x328]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x110]
call fcn.140189e30
nop
mov dword [rsp + 0x44], 0x37
mov edx, 0x2f
lea rcx, [0x14023b470]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1401af92c
mov edx, 0x2f
lea rcx, [0x14023b4d0]
call sub.VCRUNTIME140.dll_strrchr
inc rax
mov qword [rsp + 0x78], rax
jmp 0x1401af973
mov edx, 0x5c
lea rcx, [0x14023b530]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1401af95d
mov edx, 0x5c
lea rcx, [0x14023b590]
call sub.VCRUNTIME140.dll_strrchr
inc rax
mov qword [rsp + 0x70], rax
jmp 0x1401af969
lea rax, [0x14023b5f0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa0], rax
lea rax, str._:____Port:_
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], socket
lea rax, [rsp + 0x120]
lea rcx, [rsp + 0xd0]
mov rdi, rax
mov rsi, rcx
mov ecx, recvfrom
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x330]
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x120]
call fcn.1401b10c0
nop
mov dword [rsp + 0x48], 0x38
mov edx, 0x2f
lea rcx, [0x14023b660]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1401afa17
mov edx, 0x2f
lea rcx, [0x14023b6c0]
call sub.VCRUNTIME140.dll_strrchr
inc rax
mov qword [rsp + 0x88], rax
jmp 0x1401afa6a
mov edx, 0x5c
lea rcx, [0x14023b720]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1401afa4b
mov edx, 0x5c
lea rcx, [0x14023b780]
call sub.VCRUNTIME140.dll_strrchr
inc rax
mov qword [rsp + 0x80], rax
jmp 0x1401afa5a
lea rax, [0x14023b7e0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
lea rax, str._:____UUID:_
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], socket
lea rax, [rsp + 0x130]
lea rcx, [rsp + 0xe0]
mov rdi, rax
mov rsi, rcx
mov ecx, recvfrom
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0x338]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x130]
call fcn.140189e30
nop
mov rcx, qword [rsp + 0x320]
call fcn.1401af350
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1401e9b40
add rsp, 0x308
pop rdi
pop rsi
ret