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

Disassembly:
push r15
mov eax, 0x2158
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.10043bcf0
sub rsp, rax
movaps xmmword [rsp + 0x2140], xmm6
mov edx, 0xa
mov r15, qword [rcx + 0x350]
mov r12, rcx
mov rcx, r15
call sub.cygwin1.dll_strchr
test rax, rax
je 0x100422948
mov rcx, r15
call sub.cygwin1.dll_strlen
mov rcx, r15
lea rdx, [0x100448804]
mov rsi, rax
call sub.cygwin1.dll_strtok
mov rcx, rax
test rax, rax
je 0x100422be8
call sub.cygwin1.dll_strdup
mov rcx, rax
mov r13, rax
call sub.cygwin1.dll_strlen
mov rcx, qword [r12 + 0x350]
lea rdx, [rax + 1]
mov rbx, rax
cmp rdx, rsi
jl 0x100422930
mov byte [rcx], 0
mov rax, qword [0x10044cfa0]
add qword [r12 + 0x308], rbx
add qword [r12 + 0x300], 1
add qword [r12 + 0x310], rbx
cmp byte [rax], 0
je 0x100422907
mov rax, qword [0x10044cf20]
cmp byte [rax], 0
je 0x100422907
mov rax, qword [0x10044d200]
cmp byte [rax], 0
jne 0x1004228d7
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x1004228d7
mov rax, qword [0x10044cf70]
cmp dword [rax], 6
jle 0x100422907
lea r12, [rsp + 0x140]
lea r8, str.RECVD:__s
mov edx, 0x100
mov r9, r13
mov rcx, r12
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r12
mov ecx, 7
call fcn.100433050
nop
movaps xmm6, xmmword [rsp + 0x2140]
mov rax, r13
add rsp, 0x2158
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
sub rsi, rax
add rdx, rcx
lea r8, [rsi + 1]
call sub.cygwin1.dll_memmove
jmp 0x100422882
lea rbp, [rsp + 0x140]
mov ecx, 4
movabs rsi, 0x20c49ba5e353f7cf
mov rdx, rbp
call sub.cygwin1.dll_clock_gettime
mov rcx, qword [rsp + 0x148]
mov r14, qword [rsp + 0x140]
mov rax, rcx
sar rcx, 0x3f
imul rsi
sar rdx, 7
mov rbx, rdx
mov edx, 0x3c
sub rbx, rcx
mov rcx, qword [r12 + 0x348]
call fcn.10041ebe0
movsd xmm6, qword [0x100449ea0]
test al, al
jne 0x100422a79
jmp 0x100422d60
mov rcx, rbp
call sub.cygwin1.dll_strlen
mov rcx, qword [r12 + 0x350]
mov r15, rax
mov qword [rsp + 0x30], rcx
call sub.cygwin1.dll_strlen
mov rcx, qword [rsp + 0x30]
mov r10, rax
lea rax, [r15 + rax + 1]
cmp rax, qword [r12 + 0x358]
mov qword [rsp + 0x38], r10
jb 0x100422a4a
and rax, 0xffffffffffffe000
mov dword [rsp + 0x20], 0x798
lea r9, str.recalloc_sock
lea r8, str.util.c
lea r15, [rax + 0x2000]
mov rdx, r15
call fcn.10041f430
mov r10, qword [rsp + 0x38]
mov r8, r15
xor edx, edx
mov qword [r12 + 0x350], rax
lea rcx, [rax + r10]
sub r8, r10
call sub.cygwin1.dll_memset
mov qword [r12 + 0x358], r15
mov rcx, qword [r12 + 0x350]
mov rdx, rbp
call sub.cygwin1.dll_strcat
mov r15, qword [r12 + 0x350]
cmp edi, 0x3b
jg 0x100422831
mov edx, 0xa
mov rcx, r15
call sub.cygwin1.dll_strchr
test rax, rax
jne 0x100422831
xor eax, eax
mov ecx, 0x400
mov rdi, rbp
xor r9d, r9d
rep stosq qword [rdi], rax
mov ecx, dword [r12 + 0x348]
mov r8d, 0x1ffc
mov rdx, rbp
call sub.cygwin1.dll_recv
mov r13, rax
test rax, rax
je 0x100422cc0
lea r15, [rsp + 0x40]
mov ecx, 4
mov rdx, r15
call sub.cygwin1.dll_clock_gettime
mov rcx, qword [rsp + 0x48]
pxor xmm0, xmm0
pxor xmm1, xmm1
mov rax, rcx
sar rcx, 0x3f
imul rsi
mov rax, qword [rsp + 0x40]
sub rax, r14
sar rdx, 7
cvtsi2sd xmm1, rax
sub rdx, rcx
sub rdx, rbx
cvtsi2sd xmm0, rdx
divsd xmm0, xmm6
addsd xmm0, xmm1
cvttsd2si edi, xmm0
test r13, r13
jns 0x1004229b8
call sub.cygwin1.dll___errno
cmp dword [rax], 0xb
je 0x100422bc0
call sub.cygwin1.dll___errno
cmp dword [rax], 0xb
je 0x100422bc0
mov rax, qword [0x10044cf20]
cmp byte [rax], 0
je 0x100422ba8
mov rax, qword [0x10044d200]
cmp byte [rax], 0
jne 0x100422b51
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100422b51
mov rax, qword [0x10044cf70]
cmp dword [rax], 6
jle 0x100422ba8
xor r8d, r8d
mov ecx, 7
mov byte [rsp + 0x60], 0
movabs rdx, 0x732076636572206f
movabs rax, 0x742064656c696146
mov qword [rsp + 0x48], rdx
movabs rdx, 0x656e696c5f766365
mov qword [rsp + 0x40], rax
movabs rax, 0x72206e69206b636f
mov qword [rsp + 0x58], rdx
mov rdx, r15
mov qword [rsp + 0x50], rax
call fcn.100433050
nop word [rax + rax]
mov rcx, r12
call fcn.100422230
mov r15, qword [r12 + 0x350]
jmp 0x100422831
mov edx, 0x3c
mov rcx, qword [r12 + 0x348]
sub edx, edi
call fcn.10041ebe0
test al, al
jne 0x100422a52
jmp 0x100422b21
mov rax, qword [0x10044cf20]
cmp byte [rax], 0
je 0x100422cac
mov rax, qword [0x10044d200]
cmp byte [rax], 0
jne 0x100422c20
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100422c20
mov rax, qword [0x10044cf70]
cmp dword [rax], 6
jle 0x100422cac
lea rdx, [rsp + 0x140]
xor r8d, r8d
mov ecx, 7
movabs rsi, 0x742064656c696146
movabs rdi, 0x206573726170206f
mov qword [rsp + 0x140], rsi
movabs rsi, 0x726574206e5c2061
mov qword [rsp + 0x148], rdi
movabs rdi, 0x20646574616e696d
mov qword [rsp + 0x150], rsi
movabs rsi, 0x6920676e69727473
mov qword [rsp + 0x158], rdi
movabs rdi, 0x6c5f76636572206e
mov qword [rsp + 0x160], rsi
mov qword [rsp + 0x168], rdi
mov dword [rsp + 0x170], 0x656e69
call fcn.100433050
mov rcx, r12
xor r13d, r13d
call fcn.10041ec60
jmp 0x100422907
mov rax, qword [0x10044cf20]
cmp byte [rax], 0
je 0x100422ba8
mov rax, qword [0x10044d200]
cmp byte [rax], 0
jne 0x100422cf8
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100422cf8
mov rax, qword [0x10044cf70]
cmp dword [rax], 6
jle 0x100422ba8
mov eax, 0x656e
lea rdx, [rsp + 0x40]
xor r8d, r8d
movabs rbx, 0x632074656b636f53
movabs rsi, 0x6177206465736f6c
mov qword [rsp + 0x40], rbx
mov ecx, 7
movabs rbx, 0x6e6920676e697469
mov qword [rsp + 0x48], rsi
movabs rsi, 0x696c5f7663657220
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x60], ax
mov byte [rsp + 0x62], 0
call fcn.100433050
jmp 0x100422ba8
mov rax, qword [0x10044cf20]
cmp byte [rax], 0
je 0x100422cac
mov rax, qword [0x10044d200]
cmp byte [rax], 0
jne 0x100422d98
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100422d98
mov rax, qword [0x10044cf70]
cmp dword [rax], 6
jle 0x100422cac
movabs rdx, 0x6e69746961772074
xor r8d, r8d
mov ecx, 7
movabs rax, 0x756f2064656d6954
mov qword [rsp + 0x148], rdx
movabs rdx, 0x6f73206e6f206174
mov qword [rsp + 0x140], rax
movabs rax, 0x616420726f662067
mov qword [rsp + 0x158], rdx
mov edx, 0x6c
mov qword [rsp + 0x150], rax
movabs rax, 0x6c75665f74656b63
mov word [rsp + 0x168], dx
mov rdx, rbp
mov qword [rsp + 0x160], rax
call fcn.100433050
jmp 0x100422cac