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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x140232230]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebp, ebp
mov rax, rcx
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0xe0]
mov r14, r9
mov r15, r8
mov r12, rdx
mov r13d, ebp
mov qword [rcx], rbp
mov qword [rsp + 0x40], rcx
mov rdi, qword [rax]
mov edx, 1
mov ecx, ebp
mov r8d, dword [rdi + 0x270]
mov ebx, 0x493e0
test r8d, r8d
cmovg ecx, edx
mov edx, dword [rdi + 0x274]
test edx, edx
jle 0x14013284f
or ecx, 2
dec ecx
je 0x14013286a
dec ecx
je 0x140132866
dec ecx
jne 0x14013286d
mov ebx, edx
cmp r8d, edx
cmovl ebx, r8d
jmp 0x14013286d
mov ebx, edx
jmp 0x14013286d
mov ebx, r8d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov r8d, edx
shr r8d, 6
mov eax, r8d
mov dword [rsp + 0x38], r8d
imul eax, eax, 0x3e8
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [rsp + 0x3c], ecx
mov rcx, qword [rdi + 0x6b8]
mov rdx, qword [rsp + 0x38]
shr rdx, 0x20
mov rax, rcx
sub ecx, r8d
shr rax, 0x20
sub edx, eax
mov eax, 0x10624dd3
imul ecx, ecx, 0x3e8
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
sub ecx, edx
add ebx, ecx
je 0x140132a6b
test ebx, ebx
js 0x140132a6b
xor eax, eax
mov esi, ebp
mov edi, eax
cmp r12, 0xffffffffffffffff
je 0x140132a5e
test ebx, ebx
jle 0x140132930
mov edi, ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [rsp + 0x30], edx
imul edx, edx, 0x3e8
sub ecx, edx
imul ecx, ecx, 0x3e8
mov dword [rsp + 0x34], ecx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov ebp, dword [rsp + 0x24]
mov esi, eax
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], 0x300
nop dword [rax]
lea rcx, [rsp + 0x48]
mov r8d, edi
mov edx, 1
call qword [sym.imp.WS2_32.dll_WSAPoll]
cmp eax, 0xffffffff
jne 0x1401329c0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x14013296d
cmp eax, 0x2714
jne 0x140132a66
test ebx, ebx
jle 0x140132940
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, esi
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
sub edi, edx
mov eax, edx
imul eax, eax, 0x3e8
imul edi, edi, 0x3e8
sub ecx, eax
mov eax, 0x10624dd3
imul ecx, ecx, 0x3e8
sub ecx, ebp
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
sub edi, edx
add edi, ebx
test edi, edi
jg 0x140132940
or eax, 0xffffffff
jmp 0x140132a70
test eax, eax
js 0x140132a66
je 0x140132a66
mov ecx, 0x303
mov edx, 1
mov ebp, 0
test word [rsp + 0x52], cx
mov ecx, ebp
cmovne ecx, edx
mov edx, 0x204
test word [rsp + 0x52], dx
je 0x1401329f6
or ecx, 4
test ecx, ecx
jle 0x140132a66
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x140132a2c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140132a48
mov rax, qword [rsp + 0x28]
jmp 0x140132826
cmp r14, rcx
je 0x140132a4f
test eax, eax
je 0x140132a66
mov rax, qword [rsp + 0x28]
sub r14, rcx
add r15, rcx
add r13, rcx
jmp 0x140132826
mov eax, gethostname
jmp 0x140132a70
mov rdx, qword [rsp + 0x40]
add rcx, r13
mov eax, ebp
mov qword [rdx], rcx
jmp 0x140132a70
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
or eax, 0xffffffff
jmp 0x140132a70
mov eax, 0x1c
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140166980
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret