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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x570
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x560], rax
mov rcx, qword [rsp + 0x580]
call fcn.1400354e0
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x598], 0
je 0x140034bb0
mov rcx, qword [rsp + 0x598]
call fcn.140035aa0
cmp qword [rsp + 0x5a0], 0
je 0x140034bc8
mov rcx, qword [rsp + 0x5a0]
call fcn.140035800
lea rax, [rsp + 0x160]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x80
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x98], ax
xor eax, eax
cmp eax, 1
je 0x140035005
mov rax, qword [rsp + 0x580]
add rax, 0x10
mov dword [rsp + 0x20], 0
mov r9d, 0x64
xor r8d, r8d
mov rdx, rax
mov ecx, 1
call qword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
cmp eax, 0x102
je 0x140034fcf
lea r8, [rsp + 0xa8]
mov rax, qword [rsp + 0x580]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x580]
mov rcx, qword [rax + 8]
call qword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov eax, dword [rsp + 0xa8]
and eax, 1
test eax, eax
je 0x140034fcf
mov rcx, qword [rsp + 0x580]
call fcn.1400354e0
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x9c], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x9c]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x588]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rsp + 0x160]
mov rax, qword [rsp + 0x580]
mov rcx, qword [rax + 8]
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
je 0x140034fcf
lea rax, [rsp + 0x160]
mov qword [rsp + 0x58], rax
xor eax, eax
mov word [rsp + 0x38], ax
xor eax, eax
mov word [rsp + 0x3c], ax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x580]
movzx ecx, word [rcx + 0x18]
cmp eax, ecx
jne 0x140034fcf
mov rax, qword [rsp + 0x58]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
and eax, 0xfb7f
cmp eax, 0x8100
jne 0x140034fcf
mov rax, qword [rsp + 0x58]
movzx ecx, word [rax + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x38]
test eax, eax
jl 0x140034fcf
mov rax, qword [rsp + 0x58]
movzx ecx, word [rax + 6]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x3c], ax
movzx eax, word [rsp + 0x3c]
test eax, eax
jle 0x140034fcf
lea rax, [rsp + 0x16c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x48], 0
jmp 0x140034d91
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
movzx eax, word [rsp + 0x38]
cmp dword [rsp + 0x48], eax
je 0x140034df8
mov qword [rsp + 0x28], 0
mov word [rsp + 0x20], Ordinal_133
lea r9, [rsp + 0xe0]
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x580]
call fcn.140035270
test eax, eax
jne 0x140034dd9
xor eax, eax
jmp 0x14003500a
movzx eax, word [rsp + 0x98]
add eax, 4
cdqe
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x140034d87
mov dword [rsp + 0x4c], 0
jmp 0x140034e0c
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
movzx eax, word [rsp + 0x3c]
cmp dword [rsp + 0x4c], eax
je 0x140034fac
lea rax, [rsp + 0x160]
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], Ordinal_133
lea r9, [rsp + 0xe0]
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x580]
call fcn.140035270
test eax, eax
jne 0x140034e5c
xor eax, eax
jmp 0x14003500a
movzx eax, word [rsp + 0x98]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rax]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x60], ax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rax + 8]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x44], ax
mov rax, qword [rsp + 0x30]
add rax, 0xa
mov qword [rsp + 0x30], rax
movzx eax, word [rsp + 0x40]
cmp eax, 1
jne 0x140034f0c
cmp qword [rsp + 0x598], 0
je 0x140034f0c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov dword [rsp + 0xa0], eax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x598]
call fcn.140035b20
jmp 0x140034f92
movzx eax, word [rsp + 0x40]
cmp eax, 5
jne 0x140034f92
cmp qword [rsp + 0x5a0], 0
je 0x140034f92
lea rax, [rsp + 0x160]
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], Ordinal_133
lea r9, [rsp + 0xe0]
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x580]
call fcn.140035270
test eax, eax
jne 0x140034f62
xor eax, eax
jmp 0x14003500a
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x78]
call fcn.140009a10
nop
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x5a0]
call fcn.140035880
nop
lea rcx, [rsp + 0x78]
call fcn.140009960
movzx eax, word [rsp + 0x44]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x140034e02
cmp qword [rsp + 0x5a8], 0
je 0x140034fcd
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x64]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x5a8]
mov dword [rcx], eax
jmp 0x140035005
mov rcx, qword [rsp + 0x580]
call fcn.1400354e0
sub eax, dword [rsp + 0x50]
cmp eax, dword [rsp + 0x590]
jbe 0x140035000
mov eax, dword [rsp + 0x590]
inc eax
mov rcx, qword [rsp + 0x5a8]
mov dword [rcx], eax
xor eax, eax
jmp 0x14003500a
jmp 0x140034bfa
mov eax, 1
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.140138320
add rsp, 0x570
pop rdi
ret