Function at 0x1400c5610
Capabilities:
Receive data
Receive data on socket
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfb0]
mov eax, 0x10b0
call fcn.140245a00
sub rsp, rax
mov rax, qword [0x1402ea010]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov r13, rdx
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov rcx, qword [rcx + 0x48]
cmp qword [sym.imp.WSOCK32.dll_socket], 0
je 0x1400c5c4d
mov dword [rsp + 0x30], reloc.WSOCK32.dll_recv
lea rdi, [r14 + 0xb0]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1000
mov rdx, rdi
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.WSOCK32.dll_recvfrom]
mov r15d, eax
test eax, eax
jle 0x1400c5c4d
movzx ecx, word [rsp + 0x42]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx ebx, ax
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov dword [rsp + 0x30], eax
mov word [rsp + 0x34], bx
mov rax, qword [rsp + 0x30]
mov qword [r14 + 0x3c], rax
add dword [r14 + 0x34], r15d
lea r12d, [r15 - 4]
cmp r12d, 0xffb
ja 0x1400c5c4d
movzx esi, byte [rdi]
shl esi, 8
movzx eax, byte [rdi + 1]
or esi, eax
shl esi, 8
movzx eax, byte [rdi + 2]
or esi, eax
cmp esi, dword [r14 + 0x18]
jne 0x1400c5c14
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 0
mov edx, reloc.WSOCK32.dll_ntohs
mov qword [rbp - 0x68], rdx
mov byte [rbp - 0x80], 0
mov dword [rsp + 0x7c], reloc.WSOCK32.dll_sendto
mov dword [rsp + 0x60], esi
movzx eax, byte [rdi + 3]
mov dword [rsp + 0x64], eax
movzx ecx, byte [rdi + 4]
shl ecx, 8
movzx eax, byte [rdi + 5]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 6]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 7]
or ecx, eax
mov dword [rsp + 0x68], ecx
movzx ecx, byte [rdi + 8]
shl ecx, 8
movzx eax, byte [rdi + 9]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0xa]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0xb]
or ecx, eax
mov dword [rsp + 0x6c], ecx
movzx ecx, byte [rdi + 0xc]
shl ecx, 8
movzx eax, byte [rdi + 0xd]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0xe]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0xf]
or ecx, eax
mov dword [rsp + 0x70], ecx
movzx ecx, byte [rdi + 0x10]
shl ecx, 8
movzx eax, byte [rdi + 0x11]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0x12]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0x13]
or ecx, eax
mov dword [rsp + 0x74], ecx
lea eax, [r15 - 0x14]
mov dword [rsp + 0x78], eax
mov r15d, eax
test eax, eax
jne 0x1400c57df
lea rax, [rbp - 0x80]
mov qword [rbp - 0x70], r15
mov byte [rax + r15], 0
jmp 0x1400c5810
cmp r15, 0xf
ja 0x1400c5801
mov qword [rbp - 0x70], r15
lea rbx, [rbp - 0x80]
mov r8, r15
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + r15], 0
jmp 0x1400c5810
mov r9, r15
mov rdx, r15
lea rcx, [rbp - 0x80]
call fcn.140063190
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rcx, qword [rbp - 0x80]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x7c]
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [rsp + 0x64]
lea eax, [rdi - 1]
cmp eax, 0xfe
ja 0x1400c5c0b
cmp byte [r14 + 0x10], 0
jne 0x1400c5885
movzx r10d, word [r14 + 0x40]
movzx ecx, byte [r14 + 0x3c]
mov edx, dword [r14 + 0x3c]
mov eax, edx
shr eax, 8
movzx r9d, al
mov eax, edx
shr eax, 0x10
movzx r8d, al
shr edx, 0x18
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], ecx
lea rcx, str.UDP_Connection_with__d._d._d._d:_d_established_n
call fcn.1400c3ec0
mov byte [r14 + 0x10], 1
xor ecx, ecx
lea rbx, [r14 + 0x80]
mov r9, qword [rbx + 8]
mov rax, qword [rbx]
mov rdx, r9
sub rdx, rax
sar rdx, 2
test rdx, rdx
je 0x1400c58b4
cmp edi, dword [rax]
je 0x1400c58c4
inc rcx
add rax, 4
cmp rcx, rdx
jb 0x1400c58a4
cmp r9, qword [rbx + 0x10]
je 0x1400c58cb
mov dword [r9], edi
add qword [rbx + 8], 4
jmp 0x1400c58db
xor bl, bl
jmp 0x1400c5bfd
lea r8, [rsp + 0x64]
mov rdx, r9
mov rcx, rbx
call fcn.1400b36a0
mov r8, qword [rbx + 8]
mov rcx, qword [rbx]
mov rax, r8
sub rax, rcx
sar rax, 2
cmp rax, 0x7f
jbe 0x1400c5906
lea rdx, [rcx + 4]
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
add qword [r14 + 0x88], 0xfffffffffffffffc
mov rdx, qword [r14 + 0x70]
cmp rdx, qword [r14 + 0x78]
je 0x1400c5919
mov dword [rdx], edi
add qword [r14 + 0x70], 4
jmp 0x1400c5927
lea r8, [rsp + 0x64]
lea rcx, [r14 + 0x68]
call fcn.1400b36a0
mov r8, qword [r14 + 0x70]
mov rcx, qword [r14 + 0x68]
mov rax, r8
sub rax, rcx
sar rax, 2
cmp rax, 0x10
jbe 0x1400c5950
lea rdx, [rcx + 4]
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
add qword [r14 + 0x70], 0xfffffffffffffffc
mov edx, dword [rsp + 0x68]
mov eax, edx
sar eax, 0x18
movzx ecx, al
mov rax, qword [r14 + 0x50]
mov dword [rax], ecx
mov eax, edx
sar eax, 0x10
movzx ecx, al
mov rax, qword [r14 + 0x50]
mov dword [rax + 4], ecx
mov eax, edx
sar eax, 8
movzx ecx, al
mov rax, qword [r14 + 0x50]
mov dword [rax + 8], ecx
movzx ecx, dl
mov rax, qword [r14 + 0x50]
mov dword [rax + 0xc], ecx
mov edx, dword [rsp + 0x6c]
mov eax, edx
sar eax, 0x18
movzx ecx, al
mov rax, qword [r14 + 0x50]
mov dword [rax + 0x10], ecx
mov eax, edx
sar eax, 0x10
movzx ecx, al
mov rax, qword [r14 + 0x50]
mov dword [rax + 0x14], ecx
mov eax, edx
sar eax, 8
movzx ecx, al
mov rax, qword [r14 + 0x50]
mov dword [rax + 0x18], ecx
movzx ecx, dl
mov rax, qword [r14 + 0x50]
mov dword [rax + 0x1c], ecx
mov edx, dword [rsp + 0x70]
mov eax, edx
sar eax, 0x18
movzx ecx, al
mov rax, qword [r14 + 0x50]
mov dword [rax + 0x20], ecx
mov eax, edx
sar eax, 0x10
movzx ecx, al
mov rax, qword [r14 + 0x50]
mov dword [rax + 0x24], ecx
mov eax, edx
sar eax, 8
movzx ecx, al
mov rax, qword [r14 + 0x50]
mov dword [rax + 0x28], ecx
movzx ecx, dl
mov rax, qword [r14 + 0x50]
mov dword [rax + 0x2c], ecx
mov edx, dword [rsp + 0x74]
mov eax, edx
sar eax, 0x18
movzx ecx, al
mov rax, qword [r14 + 0x50]
mov dword [rax + 0x30], ecx
mov eax, edx
sar eax, 0x10
movzx ecx, al
mov rax, qword [r14 + 0x50]
mov dword [rax + 0x34], ecx
mov eax, edx
sar eax, 8
movzx ecx, al
mov rax, qword [r14 + 0x50]
mov dword [rax + 0x38], ecx
movzx ecx, dl
mov rax, qword [r14 + 0x50]
mov dword [rax + 0x3c], ecx
xor r13d, r13d
movabs rax, 0x6666666666666667
nop dword [rax + rax]
xor r12d, r12d
mov rsi, qword [r14 + 0xa0]
mov r8, qword [r14 + 0x98]
mov rcx, rsi
sub rcx, r8
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400c5b1b
xor r15d, r15d
lea rdi, [r15 + r8]
mov rax, qword [r14 + 0x50]
mov eax, dword [rax + r13]
cmp dword [rdi + 0x20], eax
jne 0x1400c5ae3
lea rbx, [rdi + 0x28]
cmp rbx, rsi
je 0x1400c5ac4
nop dword [rax + rax]
mov rdx, rbx
mov rcx, rdi
call fcn.14002a820
mov eax, dword [rbx + 0x20]
mov dword [rdi + 0x20], eax
mov eax, dword [rbx + 0x24]
mov dword [rdi + 0x24], eax
add rdi, 0x28
add rbx, 0x28
cmp rbx, rsi
jne 0x1400c5aa0
mov rcx, qword [r14 + 0xa0]
sub rcx, 0x28
call fcn.140007550
add qword [r14 + 0xa0], 0xffffffffffffffd8
mov rsi, qword [r14 + 0xa0]
inc r12
add r15, 0x28
mov r8, qword [r14 + 0x98]
mov rcx, rsi
sub rcx, r8
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r12, rdx
jb 0x1400c5a81
add r13, 4
cmp r13, 0x40
movabs rax, 0x6666666666666667
jb 0x1400c5a50
lea rax, [rbp - 0x80]
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x1400c5b58
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
call fcn.1400075d0
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rcx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
cmp r8, 2
jne 0x1400c5bfb
lea rdx, [0x140285da4]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400c5bfb
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 2
mov qword [rsp + 0x58], reloc.WSOCK32.dll_ntohs
mov eax, 0x4248
mov word [rsp + 0x40], ax
mov byte [rsp + 0x42], 0
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1400c5290
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400c5bfb
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5bf6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5bf6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140244ae4
mov bl, 1
lea rcx, [rbp - 0x80]
call fcn.140007550
movzx eax, bl
jmp 0x1400c5c4f
lea rcx, [rbp - 0x80]
call fcn.140007550
mov eax, dword [r14 + 0x18]
inc eax
cmp esi, eax
jne 0x1400c5c4d
movsxd rbx, r12d
mov rdx, rbx
mov rcx, r13
call fcn.140062d80
cmp qword [r13 + 0x18], 0x10
jb 0x1400c5c37
mov r13, qword [r13]
lea rdx, [r14 + 0xb4]
mov r8, rbx
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
mov al, 1
jmp 0x1400c5c4f
xor al, al
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.1402447f0
mov rbx, qword [rsp + 0x1100]
add rsp, 0x10b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret