Function at 0x180076660
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x208
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x1800f8370]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x210]
movzx eax, byte [rax + 0x49]
test eax, eax
je 0x18007669f
jmp 0x1800769ec
mov rax, qword [rsp + 0x210]
movzx eax, byte [rax + 0x48]
test eax, eax
je 0x1800766b4
jmp 0x1800769ec
mov rax, qword [rsp + 0x210]
add rax, 0x50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov word [rsp + 0x102], ax
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [rsp + 0x210]
mov r8d, dword [rax + 0xc8]
mov rax, qword [rsp + 0x210]
mov rdx, qword [rax + 0xd0]
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rsp + 0x38], eax
mov ecx, dword [rsp + 0x104]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rsp + 0x3c], eax
movzx ecx, word [rsp + 0x102]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x34], ax
cmp dword [rsp + 0x38], 0
jl 0x18007678f
movzx eax, word [rsp + 0x34]
mov word [rsp + 0x20], ax
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x38]
mov rax, qword [rsp + 0x210]
mov rdx, qword [rax + 0xd0]
mov rcx, qword [rsp + 0x210]
mov rax, qword [rsp + 0x210]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1800769d7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x2746
jne 0x1800768bd
lea rcx, [rsp + 0x110]
call fcn.180019620
nop
mov dword [rsp + 0x110], 1
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x114], eax
mov byte [rsp + 0x118], 0
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x1d0]
call fcn.18001db00
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x58]
lea rdx, [0x1800d0fd8]
lea rcx, [rsp + 0x190]
call fcn.18000df20
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x120]
call fcn.18000e300
lea rcx, [rsp + 0x190]
call fcn.180007220
nop
lea rcx, [rsp + 0x1d0]
call fcn.180007220
mov rax, qword [rsp + 0x210]
movzx eax, byte [rax + 0x49]
test eax, eax
jne 0x1800768ab
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0x10], 0
je 0x1800768ab
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x68]
call fcn.1800195b0
mov qword [rsp + 0x88], rax
movzx r9d, word [rsp + 0x34]
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x210]
mov rax, qword [rsp + 0x210]
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rcx, [rsp + 0x110]
call fcn.180019bc0
jmp 0x1800769d7
cmp dword [rsp + 0x30], 0x2733
je 0x1800769d7
lea rcx, [rsp + 0x140]
call fcn.180019620
nop
mov dword [rsp + 0x140], 1
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x144], eax
mov byte [rsp + 0x148], 1
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x170]
call fcn.18001db00
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x60]
lea rdx, str.recvfrom_error:
lea rcx, [rsp + 0x1b0]
call fcn.18000df20
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x150]
call fcn.18000e300
lea rcx, [rsp + 0x1b0]
call fcn.180007220
nop
lea rcx, [rsp + 0x170]
call fcn.180007220
mov rax, qword [rsp + 0x210]
movzx eax, byte [rax + 0x49]
test eax, eax
jne 0x1800769ca
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0x18], 0
je 0x1800769ca
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x80]
call fcn.1800195b0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x210]
mov rax, qword [rsp + 0x210]
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0x140]
call fcn.180019bc0
mov rax, qword [rsp + 0x210]
add rax, 0x50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.18007e510
add rsp, 0x208
ret