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

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov dword [rbp - 0x14], r8d
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001e6a
jmp 0x1400023ac
mov r10d, dword [rbp - 0x14]
mov r11, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov eax, 0x10
mov qword [rbp - 0x30], rax
call fcn.1400084c0
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov rsi, rsp
mov qword [rbp - 0x48], rsi
call fcn.1400084c0
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov rcx, rsp
call fcn.1400084c0
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov r9, rsp
mov qword [rbp - 0x40], r9
call fcn.1400084c0
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov r8, rsp
mov qword [rbp - 0x38], r8
call fcn.1400084c0
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov rdx, rsp
mov qword [rbp - 0x28], rdx
call fcn.1400084c0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x20], rax
mov qword [rsi], rdi
mov qword [rcx], r11
mov dword [r9], r10d
mov dword [r8], 0
mov dword [rdx], 0
mov rcx, qword [rcx]
mov qword [rax], rcx
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001f37
jmp 0x1400023ac
jmp 0x140001f3c
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001f6e
jmp 0x140002438
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x38]
mov eax, dword [rax]
cmp eax, dword [rcx]
setl al
mov byte [rbp - 0x49], al
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001fb2
jmp 0x140002438
mov al, byte [rbp - 0x49]
test al, 1
jne 0x140001fc2
jmp 0x140002180
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001ff4
jmp 0x14000243d
mov rax, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx]
mov rdx, qword [rdx]
mov r8d, dword [r8]
sub r8d, dword [rax]
xor r9d, r9d
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_recv]
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x38]
add rsp, 0x20
mov r8d, eax
mov rax, qword [rbp - 0x28]
mov dword [rax], r8d
mov r9d, dword [rax]
mov r8, qword [rdx]
movsxd r9, r9d
add r8, r9
mov qword [rdx], r8
mov edx, dword [rax]
add edx, dword [rcx]
mov dword [rcx], edx
cmp dword [rax], 0xffffffff
sete al
mov byte [rbp - 0x4a], al
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140002083
jmp 0x14000243d
mov al, byte [rbp - 0x4a]
test al, 1
jne 0x140002093
jmp 0x14000217b
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400020c5
jmp 0x140002323
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400020f7
jmp 0x14000249a
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax]
lea rdx, str.Could_not_receive_data
sub rsp, 0x20
call sym.punt
add rsp, 0x20
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140002144
jmp 0x14000249a
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140002176
jmp 0x140002323
jmp 0x14000217b
jmp 0x140001f3c
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400021b2
jmp 0x1400024ba
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400021e4
jmp 0x1400024ba
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140002216
jmp 0x1400023a7
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140002248
jmp 0x1400024bf
mov rax, qword [rbp - 0x38]
mov eax, dword [rax]
mov dword [rbp - 0x50], eax
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140002283
jmp 0x1400024bf
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400022b5
jmp 0x1400023a7
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400022e7
jmp 0x1400024c4
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140002319
jmp 0x1400024c4
mov eax, dword [rbp - 0x50]
mov rsp, rbp
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140002355
jmp 0x1400024c9
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax]
lea rdx, str.Could_not_receive_data
sub rsp, 0x20
call sym.punt
add rsp, 0x20
mov eax, dword [0x140012b8c]
mov ecx, dword [0x140012b94]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400023a2
jmp 0x1400024c9
jmp 0x1400020c5
jmp 0x140002216
mov r10d, dword [rbp - 0x14]
mov r11, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov eax, 0x10
mov qword [rbp - 0x58], rax
call fcn.1400084c0
sub rsp, rax
mov rax, qword [rbp - 0x58]
mov rsi, rsp
call fcn.1400084c0
sub rsp, rax
mov rax, qword [rbp - 0x58]
mov rcx, rsp
call fcn.1400084c0
sub rsp, rax
mov rax, qword [rbp - 0x58]
mov r9, rsp
call fcn.1400084c0
sub rsp, rax
mov rax, qword [rbp - 0x58]
mov r8, rsp
call fcn.1400084c0
sub rsp, rax
mov rax, qword [rbp - 0x58]
mov rdx, rsp
call fcn.1400084c0
sub rsp, rax
mov rax, rsp
mov qword [rsi], rdi
mov qword [rcx], r11
mov dword [r9], r10d
mov dword [r8], 0
mov dword [rdx], 0
mov rcx, qword [rcx]
mov qword [rax], rcx
jmp 0x140001e6a
jmp 0x140001f6e
mov rax, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx]
mov rdx, qword [rdx]
mov r8d, dword [r8]
mov eax, dword [rax]
sub r8d, eax
xor r9d, r9d
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_recv]
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
add rsp, 0x20
mov r8d, eax
mov rax, qword [rbp - 0x38]
mov dword [rcx], r8d
mov r9d, dword [rcx]
mov r8, qword [rdx]
movsxd r9, r9d
add r8, r9
mov qword [rdx], r8
mov edx, dword [rcx]
mov ecx, dword [rax]
add ecx, edx
mov dword [rax], ecx
jmp 0x140001ff4
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax]
lea rdx, str.Could_not_receive_data
sub rsp, 0x20
call sym.punt
add rsp, 0x20
jmp 0x1400020f7
jmp 0x1400021b2
jmp 0x140002248
jmp 0x1400022e7
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax]
lea rdx, str.Could_not_receive_data
sub rsp, 0x20
call sym.punt
add rsp, 0x20
jmp 0x140002355