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

Disassembly:
jmp 0x1400841a0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, WSACleanup
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2d8]
mov rax, qword [0x1401a7008]
xor rax, rbp
mov qword [rbp + 0x278], rax
lea rcx, [0x1401b9255]
call fcn.14007a304
lea rax, [0x1401aa70e]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0xa4], 0
mov dword [rbp + 0xc4], 0x10000
mov byte [rbp + 0x1a4], 0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [0x1401aa798]
mov qword [rbp + rax + 8], rcx
mov eax, 8
imul rax, rax, 1
mov rcx, qword [0x1401aa790]
mov qword [rbp + rax + 8], rcx
mov eax, 8
imul rax, rax, 2
mov rcx, qword [0x1401aaa28]
mov qword [rbp + rax + 8], rcx
mov eax, 8
imul rax, rax, 3
mov rcx, qword [0x1401aa6c0]
mov qword [rbp + rax + 8], rcx
mov eax, dword [rbp + 0xa4]
mov ecx, dword [rbp + 0x2a8]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rbp + 0xa4]
mov rdx, qword [rbp + 0x2a0]
add rdx, rcx
mov rcx, rdx
mov r9d, dword [rbp + 0x2b0]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [0x1401aa6c8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x1400842fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc0050001
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x1400842ef
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x1a4], 1
jmp 0x14008463c
cmp dword [rbp + 0x84], 0xffffffff
je 0x14008431f
mov eax, dword [rbp + 0x84]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0xa4], eax
jmp 0x1400845fc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400845bf
mov dword [rbp + 0xe4], 0x10000
mov dword [rsp + 0x20], 0
mov r9d, 0x1388
xor r8d, r8d
lea rdx, [rbp + 8]
mov ecx, 4
call qword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x274], eax
cmp dword [rbp + 0x274], 0
je 0x14008439f
cmp dword [rbp + 0x274], 1
je 0x14008439f
cmp dword [rbp + 0x274], 2
je 0x14008439f
cmp dword [rbp + 0x274], 3
je 0x1400843eb
cmp dword [rbp + 0x274], 0x102
je 0x140084510
jmp 0x14008455a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc005401c
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x1400843d5
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x1a4], 1
mov dword [rbp + 0xe4], 1
jmp 0x140084597
lea r8, [0x1401aa694]
mov rdx, qword [0x1401aa6c0]
mov rcx, qword [0x1401aa6c8]
call qword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
je 0x14008444c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc0054018
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x140084440
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x1a4], 1
jmp 0x14008450b
cmp dword [0x1401aa694], 0
jne 0x14008445f
jmp 0x140084597
cmp dword [0x1401aa694], 0x20
jne 0x1400844a7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc0054018
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x14008449e
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x1a4], 1
jmp 0x14008450b
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1401aa698]
cmp dword [rcx + rax], 0
jne 0x1400844ce
mov dword [rbp + 0xe4], 1
jmp 0x140084597
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc005401a
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x140084504
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x1a4], 1
jmp 0x140084597
cmp dword [rbp + 0xc4], 0
je 0x14008451b
jmp 0x140084597
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc005401a
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x140084551
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x1a4], 1
jmp 0x140084597
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc005400d
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x140084590
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x1a4], 1
movzx eax, byte [rbp + 0x1a4]
test eax, eax
jne 0x1400845bd
mov eax, dword [rbp + 0xe4]
dec eax
mov dword [rbp + 0xe4], eax
cmp dword [rbp + 0xe4], 0
jne 0x14008433a
jmp 0x1400845fc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc005401a
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x1400845f5
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x1a4], 1
mov eax, dword [rbp + 0xa4]
cmp dword [rbp + 0x2a8], eax
je 0x14008463c
movzx eax, byte [rbp + 0x1a4]
test eax, eax
jne 0x14008463c
mov eax, dword [rbp + 0xc4]
mov dword [rbp + 0x274], eax
mov eax, dword [rbp + 0xc4]
dec eax
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0x274], 0
jne 0x14008426c
mov rcx, qword [0x1401aa6c0]
call qword [sym.imp.WS2_32.dll_WSAResetEvent]
test eax, eax
jne 0x14008468a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc005401a
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x140084683
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x1a4], 1
movzx eax, byte [rbp + 0x1a4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.140079a35
mov eax, edi
mov rcx, qword [rbp + 0x278]
xor rcx, rbp
call fcn.140078919
lea rsp, [rbp + 0x288]
pop rdi
pop rbp
ret