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

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140040080]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, qword [0x140042db8]
test edx, edx
je 0x1400020c0
sub edx, 1
je 0x140001f7f
sub edx, 3
je 0x140001f00
cmp edx, 1
jne 0x14000217f
xor edi, edi
nop dword [rax]
nop word [rax + rax]
mov r8d, 4
sub r8d, edi
movsxd rax, edi
lea rdx, [rbp + 0xf]
add rdx, rax
xor r9d, r9d
mov rcx, qword [rbx + 0x2248]
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x14000211c
add edi, eax
cmp edi, 4
jl 0x140001e60
xor byte [rbp + 0xf], 0xcc
xor byte [rbp + 0x10], 0xcc
xor byte [rbp + 0x11], 0xcc
xor byte [rbp + 0x12], 0xcc
mov ecx, dword [rbp + 0xf]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbp + 0xf], eax
mov r8d, eax
lea rdx, [rbx + 0x248]
mov rcx, rbx
call fcn.140007af0
test al, al
je 0x14000211c
movsxd r8, dword [rbp + 0xf]
lea rcx, [rbx + 0x140]
lea rdx, [rbx + 0x248]
call fcn.1400038a0
mov eax, dword [rbp + 0xf]
add dword [rbx + 0x20], eax
mov edx, 6
mov rcx, rbx
call fcn.140007d60
test al, al
jne 0x14000217f
jmp 0x140002181
xor edi, edi
mov dword [rbx + 0x20], edi
lea r15, [rbx + 0x140]
cmp qword [r15 + 0x88], rdi
je 0x140001f3d
lea rcx, [r15 + 8]
call fcn.140004320
lea rbx, [r15 + 8]
test al, al
cmove rbx, rdi
mov rcx, qword [r15 + 0x88]
call fcn.14000e000
test eax, eax
cmovne rbx, rdi
mov rdi, rbx
mov esi, 2
mov r8d, esi
xor edx, edx
lea rcx, [r15 + 8]
call fcn.1400043f0
test rdi, rdi
jne 0x14000217f
mov rax, qword [r15]
movsxd rcx, dword [rax + 4]
add rcx, r15
mov edx, 6
cmp qword [rcx + 0x48], rdi
cmovne edx, esi
or edx, dword [rcx + 0x10]
xor r8d, r8d
call fcn.140001c10
jmp 0x14000217f
movdqa xmm0, xmmword [0x14003af70]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
lea rdx, [rbp + 0x17]
mov rcx, rbx
call fcn.140007f90
test al, al
jne 0x140001fe3
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14000211c
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002117
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400021b0
jmp 0x140002117
lea rcx, [rbp - 0x39]
cmp qword [0x140042dc0], 0
je 0x140002046
lea rdx, [rbp + 0x17]
call fcn.140002c40
mov rdx, rax
call fcn.140005640
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14000217f
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000217a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400021b6
jmp 0x14000217a
lea rax, [rbp - 0x39]
xor edi, edi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], recv
mov byte [rbp - 0x39], dil
lea r8d, [rdi + 0x1d]
lea rdx, str.Initiate_a_CMD_session_first.
call fcn.140004070
lea r8d, [rdi + 2]
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.140007df0
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14000217f
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000217a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400021bc
jmp 0x14000217a
movdqa xmm0, xmmword [0x14003af70]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
lea rdx, [rbp + 0x17]
mov rcx, rbx
call fcn.140007f90
test al, al
jne 0x140002120
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14000211c
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002117
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400021c2
call fcn.140009744
xor al, al
jmp 0x140002181
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x39]
call fcn.140002c40
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.140006ee0
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.140007df0
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14000217f
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000217a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400021aa
call fcn.140009744
mov al, 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140009720
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400119b4
int3
call fcn.1400119b4
int3
call fcn.1400119b4
int3
call fcn.1400119b4
int3
call fcn.1400119b4
int3